nowaikit 4.16.0 → 4.18.0

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.
@@ -5,7 +5,7 @@
5
5
  * one section degrades gracefully rather than failing the whole call.
6
6
  */
7
7
  import type { ServiceNowClient } from '../servicenow/client.js';
8
- export declare function getBundleToolDefinitions(): {
8
+ export declare function getBundleToolDefinitions(): ({
9
9
  name: string;
10
10
  description: string;
11
11
  inputSchema: {
@@ -15,9 +15,24 @@ export declare function getBundleToolDefinitions(): {
15
15
  type: string;
16
16
  description: string;
17
17
  };
18
+ name_or_sysid?: undefined;
18
19
  };
19
20
  required: string[];
20
21
  };
21
- }[];
22
+ } | {
23
+ name: string;
24
+ description: string;
25
+ inputSchema: {
26
+ type: string;
27
+ properties: {
28
+ name_or_sysid: {
29
+ type: string;
30
+ description: string;
31
+ };
32
+ number_or_sysid?: undefined;
33
+ };
34
+ required: string[];
35
+ };
36
+ })[];
22
37
  export declare function executeBundleToolCall(client: ServiceNowClient, name: string, args: Record<string, any>): Promise<any>;
23
38
  //# sourceMappingURL=bundles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundles.d.ts","sourceRoot":"","sources":["../../src/tools/bundles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,wBAAgB,wBAAwB;;;;;;;;;;;;;IAcvC;AAED,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,gBAAgB,EACxB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACxB,OAAO,CAAC,GAAG,CAAC,CA0Dd"}
1
+ {"version":3,"file":"bundles.d.ts","sourceRoot":"","sources":["../../src/tools/bundles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,wBAAgB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgCvC;AAED,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,gBAAgB,EACxB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACxB,OAAO,CAAC,GAAG,CAAC,CAuGd"}
@@ -12,6 +12,24 @@ export function getBundleToolDefinitions() {
12
12
  required: ['number_or_sysid'],
13
13
  },
14
14
  },
15
+ {
16
+ name: 'change_readiness',
17
+ description: 'One-call change readiness check. Returns the change request, its conflict status, approval state, affected CIs, and other active changes that overlap the same CI. Read-only.',
18
+ inputSchema: {
19
+ type: 'object',
20
+ properties: { number_or_sysid: { type: 'string', description: 'Change number (CHG...) or sys_id' } },
21
+ required: ['number_or_sysid'],
22
+ },
23
+ },
24
+ {
25
+ name: 'service_health',
26
+ description: 'One-call service health snapshot. Returns a business service or CI, its open incidents, related CIs, and recent changes. Read-only.',
27
+ inputSchema: {
28
+ type: 'object',
29
+ properties: { name_or_sysid: { type: 'string', description: 'Service or CI name, or sys_id' } },
30
+ required: ['name_or_sysid'],
31
+ },
32
+ },
15
33
  ];
16
34
  }
17
35
  export async function executeBundleToolCall(client, name, args) {
@@ -80,6 +98,97 @@ export async function executeBundleToolCall(client, name, args) {
80
98
  result.summary = `Investigated ${val('number') || sysId}: ${result.similar_incidents.length} similar incident(s), ${result.affected_ci ? `affected CI with ${result.affected_ci.relationship_count} relationship(s)` : 'no linked CI'}, ${result.related_knowledge.length} related article(s). Assembled in one call.`;
81
99
  return result;
82
100
  }
101
+ case 'change_readiness': {
102
+ if (!args.number_or_sysid)
103
+ throw new ServiceNowError('number_or_sysid is required', 'INVALID_REQUEST');
104
+ let change;
105
+ if (/^[0-9a-f]{32}$/i.test(args.number_or_sysid)) {
106
+ change = await client.getRecord('change_request', args.number_or_sysid, undefined, 'all');
107
+ }
108
+ else {
109
+ const r = await client.queryRecords({ table: 'change_request', query: `number=${args.number_or_sysid}^ORsys_id=${args.number_or_sysid}`, limit: 1, displayValue: 'all' });
110
+ if (r.count === 0)
111
+ throw new ServiceNowError(`Change not found: ${args.number_or_sysid}`, 'NOT_FOUND');
112
+ change = r.records[0];
113
+ }
114
+ const cval = (f) => { const v = change?.[f]; return v && typeof v === 'object' ? String(v.value ?? v.display_value ?? '') : String(v ?? ''); };
115
+ const cdisp = (f) => { const v = change?.[f]; return v && typeof v === 'object' ? String(v.display_value ?? v.value ?? '') : String(v ?? ''); };
116
+ const sysId = cval('sys_id');
117
+ const ci = cval('cmdb_ci');
118
+ const out = { change, conflict_status: cdisp('conflict_status') };
119
+ try {
120
+ const ap = await client.queryRecords({ table: 'sysapproval_approver', query: `sysapproval=${sysId}`, limit: 20, fields: 'approver,state,sys_created_on', displayValue: 'all' });
121
+ out.approvals = ap.records;
122
+ }
123
+ catch {
124
+ out.approvals = [];
125
+ }
126
+ try {
127
+ const tc = await client.queryRecords({ table: 'task_ci', query: `task=${sysId}`, limit: 50, fields: 'ci_item', displayValue: 'all' });
128
+ out.affected_cis = tc.records;
129
+ }
130
+ catch {
131
+ out.affected_cis = [];
132
+ }
133
+ if (ci) {
134
+ try {
135
+ const pc = await client.queryRecords({ table: 'change_request', query: `cmdb_ci=${ci}^sys_id!=${sysId}^active=true^ORDERBYDESCstart_date`, limit: 5, fields: 'number,short_description,state,start_date,end_date', displayValue: 'all' });
136
+ out.potential_conflicts = pc.records;
137
+ }
138
+ catch {
139
+ out.potential_conflicts = [];
140
+ }
141
+ }
142
+ else {
143
+ out.potential_conflicts = [];
144
+ }
145
+ out.summary = `Change ${cval('number') || sysId}: conflict ${out.conflict_status || 'n/a'}, ${out.approvals.length} approval(s), ${out.affected_cis.length} affected CI(s), ${out.potential_conflicts.length} overlapping change(s). One call.`;
146
+ return out;
147
+ }
148
+ case 'service_health': {
149
+ if (!args.name_or_sysid)
150
+ throw new ServiceNowError('name_or_sysid is required', 'INVALID_REQUEST');
151
+ let service;
152
+ if (/^[0-9a-f]{32}$/i.test(args.name_or_sysid)) {
153
+ service = await client.getRecord('cmdb_ci', args.name_or_sysid, 'sys_id,name,sys_class_name,operational_status');
154
+ }
155
+ else {
156
+ const r = await client.queryRecords({ table: 'cmdb_ci', query: `name=${args.name_or_sysid}`, limit: 1, fields: 'sys_id,name,sys_class_name,operational_status' });
157
+ if (r.count === 0)
158
+ throw new ServiceNowError(`Service or CI not found: ${args.name_or_sysid}`, 'NOT_FOUND');
159
+ service = r.records[0];
160
+ }
161
+ const sid = service?.sys_id && typeof service.sys_id === 'object' ? service.sys_id.value : service?.sys_id;
162
+ const sname = service?.name && typeof service.name === 'object' ? service.name.value : service?.name;
163
+ const out = { service };
164
+ try {
165
+ const inc = await client.queryRecords({ table: 'incident', query: `cmdb_ci=${sid}^active=true^ORbusiness_service=${sid}^active=true`, limit: 10, fields: 'number,short_description,priority,state', displayValue: 'all' });
166
+ out.open_incidents = inc.records;
167
+ out.open_incident_count = inc.count;
168
+ }
169
+ catch {
170
+ out.open_incidents = [];
171
+ out.open_incident_count = 0;
172
+ }
173
+ try {
174
+ const rel = await client.queryRecords({ table: 'cmdb_rel_ci', query: `parent=${sid}^ORchild=${sid}`, limit: 20, fields: 'type,parent,child', displayValue: 'all' });
175
+ out.related_cis = rel.records;
176
+ out.related_ci_count = rel.count;
177
+ }
178
+ catch {
179
+ out.related_cis = [];
180
+ out.related_ci_count = 0;
181
+ }
182
+ try {
183
+ const chg = await client.queryRecords({ table: 'change_request', query: `cmdb_ci=${sid}^ORDERBYDESCsys_created_on`, limit: 5, fields: 'number,short_description,state,start_date', displayValue: 'all' });
184
+ out.recent_changes = chg.records;
185
+ }
186
+ catch {
187
+ out.recent_changes = [];
188
+ }
189
+ out.summary = `Service ${sname || sid}: ${out.open_incident_count} open incident(s), ${out.related_ci_count} related CI(s), ${out.recent_changes.length} recent change(s). One call.`;
190
+ return out;
191
+ }
83
192
  default:
84
193
  return null;
85
194
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bundles.js","sour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M,CAAC;gBAAC,GAAG,CAAC,cAAc,GAAG,EAAE,CAAC;YAAC,CAAC;YACvR,GAAG,CAAC,OAAO,GAAG,WAAW,KAAK,IAAI,GAAG,KAAK,GAAG,CAAC,mBAAmB,sBAAsB,GAAG,CAAC,gBAAgB,mBAAmB,GAAG,CAAC,cAAc,CAAC,MAAM,8BAA8B,CAAC;YACtL,OAAO,GAAG,CAAC;QACb,CAAC;QAED;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC"}
@@ -784,6 +784,35 @@ export declare function getTools(): ({
784
784
  };
785
785
  required: string[];
786
786
  };
787
+ } | {
788
+ name: string;
789
+ description: string;
790
+ inputSchema: {
791
+ type: string;
792
+ properties: {
793
+ number_or_sysid: {
794
+ type: string;
795
+ description: string;
796
+ };
797
+ short_description?: undefined;
798
+ urgency?: undefined;
799
+ impact?: undefined;
800
+ priority?: undefined;
801
+ description?: undefined;
802
+ assignment_group?: undefined;
803
+ caller_id?: undefined;
804
+ category?: undefined;
805
+ subcategory?: undefined;
806
+ sys_id?: undefined;
807
+ fields?: undefined;
808
+ resolution_code?: undefined;
809
+ resolution_notes?: undefined;
810
+ table?: undefined;
811
+ note?: undefined;
812
+ comment?: undefined;
813
+ };
814
+ required: string[];
815
+ };
787
816
  } | {
788
817
  name: string;
789
818
  description: string;
@@ -980,6 +1009,27 @@ export declare function getTools(): ({
980
1009
  };
981
1010
  required: string[];
982
1011
  };
1012
+ } | {
1013
+ name: string;
1014
+ description: string;
1015
+ inputSchema: {
1016
+ type: string;
1017
+ properties: {
1018
+ number_or_sysid: {
1019
+ type: string;
1020
+ description: string;
1021
+ };
1022
+ short_description?: undefined;
1023
+ description?: undefined;
1024
+ assignment_group?: undefined;
1025
+ priority?: undefined;
1026
+ sys_id?: undefined;
1027
+ fields?: undefined;
1028
+ root_cause?: undefined;
1029
+ resolution_notes?: undefined;
1030
+ };
1031
+ required: string[];
1032
+ };
983
1033
  } | {
984
1034
  name: string;
985
1035
  description: string;
@@ -1199,6 +1249,23 @@ export declare function getTools(): ({
1199
1249
  };
1200
1250
  required: string[];
1201
1251
  };
1252
+ } | {
1253
+ name: string;
1254
+ description: string;
1255
+ inputSchema: {
1256
+ type: string;
1257
+ properties: {
1258
+ number_or_sysid: {
1259
+ type: string;
1260
+ description: string;
1261
+ };
1262
+ sys_id?: undefined;
1263
+ fields?: undefined;
1264
+ limit?: undefined;
1265
+ close_notes?: undefined;
1266
+ };
1267
+ required: string[];
1268
+ };
1202
1269
  } | {
1203
1270
  name: string;
1204
1271
  description: string;
@@ -1279,6 +1346,29 @@ export declare function getTools(): ({
1279
1346
  };
1280
1347
  required: never[];
1281
1348
  };
1349
+ } | {
1350
+ name: string;
1351
+ description: string;
1352
+ inputSchema: {
1353
+ type: string;
1354
+ properties: {
1355
+ number_or_sysid: {
1356
+ type: string;
1357
+ description: string;
1358
+ };
1359
+ limit?: undefined;
1360
+ query?: undefined;
1361
+ knowledge_base?: undefined;
1362
+ short_description?: undefined;
1363
+ text?: undefined;
1364
+ knowledge_base_sys_id?: undefined;
1365
+ category?: undefined;
1366
+ sys_id?: undefined;
1367
+ fields?: undefined;
1368
+ article_id?: undefined;
1369
+ };
1370
+ required: string[];
1371
+ };
1282
1372
  } | {
1283
1373
  name: string;
1284
1374
  description: string;
@@ -4642,39 +4732,6 @@ export declare function getTools(): ({
4642
4732
  };
4643
4733
  required: string[];
4644
4734
  };
4645
- } | {
4646
- name: string;
4647
- description: string;
4648
- inputSchema: {
4649
- type: string;
4650
- properties: {
4651
- name_or_sysid: {
4652
- type: string;
4653
- description: string;
4654
- };
4655
- short_description?: undefined;
4656
- account?: undefined;
4657
- contact?: undefined;
4658
- category?: undefined;
4659
- subcategory?: undefined;
4660
- priority?: undefined;
4661
- description?: undefined;
4662
- product?: undefined;
4663
- assignment_group?: undefined;
4664
- number_or_sysid?: undefined;
4665
- sys_id?: undefined;
4666
- fields?: undefined;
4667
- state?: undefined;
4668
- limit?: undefined;
4669
- query?: undefined;
4670
- resolution_code?: undefined;
4671
- resolution_notes?: undefined;
4672
- active?: undefined;
4673
- account_sysid?: undefined;
4674
- case_sysid?: undefined;
4675
- };
4676
- required: string[];
4677
- };
4678
4735
  } | {
4679
4736
  name: string;
4680
4737
  description: string;
@@ -4771,6 +4828,48 @@ export declare function getTools(): ({
4771
4828
  };
4772
4829
  required: string[];
4773
4830
  };
4831
+ } | {
4832
+ name: string;
4833
+ description: string;
4834
+ inputSchema: {
4835
+ type: string;
4836
+ properties: {
4837
+ number_or_sysid: {
4838
+ type: string;
4839
+ description: string;
4840
+ };
4841
+ short_description?: undefined;
4842
+ category?: undefined;
4843
+ subcategory?: undefined;
4844
+ severity?: undefined;
4845
+ description?: undefined;
4846
+ affected_cis?: undefined;
4847
+ assignment_group?: undefined;
4848
+ sys_id?: undefined;
4849
+ fields?: undefined;
4850
+ state?: undefined;
4851
+ limit?: undefined;
4852
+ query?: undefined;
4853
+ ci_sysid?: undefined;
4854
+ risk_sysid?: undefined;
4855
+ type?: undefined;
4856
+ active?: undefined;
4857
+ playbook_sys_id?: undefined;
4858
+ incident_sys_id?: undefined;
4859
+ parameters?: undefined;
4860
+ days?: undefined;
4861
+ ci_sys_ids?: undefined;
4862
+ group?: undefined;
4863
+ scan_type?: undefined;
4864
+ name?: undefined;
4865
+ impact?: undefined;
4866
+ likelihood?: undefined;
4867
+ owner?: undefined;
4868
+ policy_sys_id?: undefined;
4869
+ control_sys_id?: undefined;
4870
+ };
4871
+ required: string[];
4872
+ };
4774
4873
  } | {
4775
4874
  name: string;
4776
4875
  description: string;
@@ -5976,6 +6075,21 @@ export declare function getTools(): ({
5976
6075
  type: string;
5977
6076
  description: string;
5978
6077
  };
6078
+ name_or_sysid?: undefined;
6079
+ };
6080
+ required: string[];
6081
+ };
6082
+ } | {
6083
+ name: string;
6084
+ description: string;
6085
+ inputSchema: {
6086
+ type: string;
6087
+ properties: {
6088
+ name_or_sysid: {
6089
+ type: string;
6090
+ description: string;
6091
+ };
6092
+ number_or_sysid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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgCvB;AAED,wBAAsB,WAAW,CAC/B,MAAM,EAAE,gBAAgB,EACxB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACxB,OAAO,CAAC,GAAG,CAAC,CAgFd"}
@@ -308,7 +308,7 @@ const ALL_TOOLS = [
308
308
  // ─── Dynamic tool discovery (search_tools) ──────────────────────────────────────
309
309
  const SEARCH_TOOLS_DEF = {
310
310
  name: 'search_tools',
311
- description: 'Search the full NowAIKit tool catalog (400+ tools) by keyword to discover the right tool without loading every definition. Returns matching tool names + descriptions ranked by relevance. Use this FIRST when you are unsure which tool to call. Especially useful with MCP_TOOL_DISCOVERY=lean, which exposes only a small core set plus this search.',
311
+ description: 'Search the full NowAIKit tool catalog (500+ tools) by keyword to discover the right tool without loading every definition. Returns matching tool names + descriptions ranked by relevance. Use this FIRST when you are unsure which tool to call. Especially useful with MCP_TOOL_DISCOVERY=lean, which exposes only a small core set plus this search.',
312
312
  inputSchema: {
313
313
  type: 'object',
314
314
  properties: {
@@ -1,7 +1,7 @@
1
1
  [
2
2
  {
3
3
  "name": "search_tools",
4
- "description": "Search the full NowAIKit tool catalog (400+ tools) by keyword to discover the right tool without loading every definition. Returns matching tool names + descriptions ranked by relevance. Use this FIRST when you are unsure which tool to call. Especially useful with MCP_TOOL_DISCOVERY=lean, which exposes only a small core set plus this search.",
4
+ "description": "Search the full NowAIKit tool catalog (500+ tools) by keyword to discover the right tool without loading every definition. Returns matching tool names + descriptions ranked by relevance. Use this FIRST when you are unsure which tool to call. Especially useful with MCP_TOOL_DISCOVERY=lean, which exposes only a small core set plus this search.",
5
5
  "inputSchema": {
6
6
  "type": "object",
7
7
  "properties": {
@@ -3556,7 +3556,7 @@
3556
3556
  },
3557
3557
  {
3558
3558
  "name": "create_project",
3559
- "description": "Create a PPM project (pm_project). Requires WRITE_ENABLED=true.",
3559
+ "description": "Create a SPM project (pm_project). Requires WRITE_ENABLED=true.",
3560
3560
  "inputSchema": {
3561
3561
  "type": "object",
3562
3562
  "properties": {
@@ -3588,7 +3588,7 @@
3588
3588
  },
3589
3589
  {
3590
3590
  "name": "update_project",
3591
- "description": "Update a PPM project (pm_project). Requires WRITE_ENABLED=true.",
3591
+ "description": "Update a SPM project (pm_project). Requires WRITE_ENABLED=true.",
3592
3592
  "inputSchema": {
3593
3593
  "type": "object",
3594
3594
  "properties": {
@@ -3609,7 +3609,7 @@
3609
3609
  },
3610
3610
  {
3611
3611
  "name": "list_projects",
3612
- "description": "List PPM projects (pm_project).",
3612
+ "description": "List SPM projects (pm_project).",
3613
3613
  "inputSchema": {
3614
3614
  "type": "object",
3615
3615
  "properties": {
@@ -5420,6 +5420,38 @@
5420
5420
  ]
5421
5421
  }
5422
5422
  },
5423
+ {
5424
+ "name": "change_readiness",
5425
+ "description": "One-call change readiness check. Returns the change request, its conflict status, approval state, affected CIs, and other active changes that overlap the same CI. Read-only.",
5426
+ "inputSchema": {
5427
+ "type": "object",
5428
+ "properties": {
5429
+ "number_or_sysid": {
5430
+ "type": "string",
5431
+ "description": "Change number (CHG...) or sys_id"
5432
+ }
5433
+ },
5434
+ "required": [
5435
+ "number_or_sysid"
5436
+ ]
5437
+ }
5438
+ },
5439
+ {
5440
+ "name": "service_health",
5441
+ "description": "One-call service health snapshot. Returns a business service or CI, its open incidents, related CIs, and recent changes. Read-only.",
5442
+ "inputSchema": {
5443
+ "type": "object",
5444
+ "properties": {
5445
+ "name_or_sysid": {
5446
+ "type": "string",
5447
+ "description": "Service or CI name, or sys_id"
5448
+ }
5449
+ },
5450
+ "required": [
5451
+ "name_or_sysid"
5452
+ ]
5453
+ }
5454
+ },
5423
5455
  {
5424
5456
  "name": "list_sla_definitions",
5425
5457
  "description": "List SLA/OLA definitions (contract_sla), optionally filtered by name, table, or active status",
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "nowaikit",
3
3
  "mcpName": "io.github.aartiq/nowaikit",
4
- "version": "4.16.0",
5
- "description": "The most comprehensive ServiceNow AI toolkit, including a full ServiceNow MCP server: 450+ MCP tools plus 26 AI capabilities (scan, review, build, ops, docs) and a direct BYOK mode. Works with Claude, ChatGPT, Gemini, Cursor, GitHub Copilot and any LLM.",
4
+ "version": "4.18.0",
5
+ "description": "The most comprehensive ServiceNow AI toolkit, including a full ServiceNow MCP server: 500+ MCP tools plus 26 AI capabilities (scan, review, build, ops, docs) and a direct BYOK mode. Works with Claude, ChatGPT, Gemini, Cursor, GitHub Copilot and any LLM.",
6
6
  "main": "dist/server.js",
7
7
  "types": "dist/server.d.ts",
8
8
  "exports": {