snow-flow 10.0.63 → 10.0.65
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/package.json
CHANGED
|
@@ -85,7 +85,7 @@ Tools are organized around functionality, not exact names:
|
|
|
85
85
|
- **ServiceNow UI**: Widget development, workspaces, UI builder
|
|
86
86
|
- **ServiceNow ITSM**: Incident, change, problem management
|
|
87
87
|
- **ServiceNow Flow Designer**: Flow creation, triggers, actions, flow logic (discovered via `tool_search` with query `"flow designer"`)
|
|
88
|
-
- **Enterprise Integrations**: Jira, Azure DevOps, Confluence, GitHub, GitLab (discovered via `
|
|
88
|
+
- **Enterprise Integrations**: Jira, Azure DevOps, Confluence, GitHub, GitLab (discovered via `tool_search` on the enterprise server, same lazy pattern as ServiceNow tools)
|
|
89
89
|
|
|
90
90
|
---
|
|
91
91
|
|
|
@@ -123,19 +123,18 @@ ELSE and ELSEIF blocks must be at the **same level** as their IF block, NOT nest
|
|
|
123
123
|
|
|
124
124
|
### Enterprise Tool Discovery
|
|
125
125
|
|
|
126
|
-
Enterprise integration tools (Jira, Azure DevOps, Confluence, GitHub, GitLab, Process Mining) use the same lazy-loading pattern as ServiceNow tools
|
|
126
|
+
Enterprise integration tools (Jira, Azure DevOps, Confluence, GitHub, GitLab, Process Mining) use the same lazy-loading pattern as ServiceNow tools. Both servers expose a `tool_search` tool — use the one on the enterprise server for enterprise integrations:
|
|
127
127
|
|
|
128
|
-
| Scope |
|
|
129
|
-
|
|
130
|
-
| ServiceNow (235+ tools) | `tool_search` | `
|
|
131
|
-
| Enterprise integrations (76+ tools) | `
|
|
128
|
+
| Scope | How to discover | Example query |
|
|
129
|
+
|-------|----------------|---------------|
|
|
130
|
+
| ServiceNow (235+ tools) | `tool_search` on the ServiceNow server | `"incident query"`, `"flow designer"`, `"update set"` |
|
|
131
|
+
| Enterprise integrations (76+ tools) | `tool_search` on the enterprise server | `"jira create issue"`, `"confluence search"` |
|
|
132
132
|
|
|
133
133
|
**How it works:**
|
|
134
|
-
1. Call `
|
|
135
|
-
2. Call the
|
|
136
|
-
3. Or use `enterprise_tool_execute({tool: "jira_search_issues", args: {...}})` as a fallback
|
|
134
|
+
1. Call `tool_search` with a relevant query — returns matching tools with schemas, auto-enables them
|
|
135
|
+
2. Call the discovered tool directly by name — works for the rest of the session
|
|
137
136
|
|
|
138
|
-
**Do NOT call
|
|
137
|
+
**Do NOT call integration tools by name without discovering them first** — they are not loaded until `tool_search` activates them.
|
|
139
138
|
|
|
140
139
|
---
|
|
141
140
|
|
|
@@ -714,4 +713,4 @@ Before every response, verify:
|
|
|
714
713
|
2. **ES5 only** — all ServiceNow scripts use `var`, `function(){}`, string concatenation, traditional for loops
|
|
715
714
|
3. **Execute, don't explain** — use tools and show results; tool discovery is SILENT (never mention it)
|
|
716
715
|
4. **Real URLs, real data** — fetch instance URL before providing links; no placeholders anywhere
|
|
717
|
-
5. **Lazy load tools** — discover via `tool_search`
|
|
716
|
+
5. **Lazy load tools** — discover via `tool_search` on the appropriate server, never assume tools are pre-loaded or call tools by name without discovering them first
|
|
@@ -612,7 +612,7 @@ Enterprise third-party tools are **always loaded** and ready to use. Call them d
|
|
|
612
612
|
|
|
613
613
|
| Integration | Example Tools (call directly) |
|
|
614
614
|
|-------------|-------------------------------|
|
|
615
|
-
| **Jira** | \`jira_search_issues\`, \`jira_get_issue\`, \`jira_add_comment\`, \`jira_get_current_user\`, \`jira_transition_issue\`, \`jira_add_worklog\` |
|
|
615
|
+
| **Jira** | \`jira_search_issues\`, \`jira_get_issue\`, \`jira_add_comment\`, \`jira_delete_comment\`, \`jira_get_current_user\`, \`jira_transition_issue\`, \`jira_add_worklog\`, \`jira_delete_worklog\` |
|
|
616
616
|
| **Azure DevOps** | \`azdo_search_work_items\`, \`azdo_get_work_item\`, \`azdo_update_work_item\`, \`azdo_add_comment\` |
|
|
617
617
|
| **Confluence** | \`confluence_create_page\`, \`confluence_update_page\`, \`confluence_get_page\`, \`confluence_search_content\` |
|
|
618
618
|
| **GitHub** | \`github_list_issues\`, \`github_create_issue\`, \`github_create_pr\`, \`github_merge_pr\`, \`github_get_content\`, \`github_discover_configuration\` |
|
|
@@ -1109,7 +1109,9 @@ jira_transition_issue({
|
|
|
1109
1109
|
| Update issues | \`jira_update_issue\` |
|
|
1110
1110
|
| Transition issues | \`jira_transition_issue\` |
|
|
1111
1111
|
| Add comments | \`jira_add_comment\` |
|
|
1112
|
+
| Delete comments | \`jira_delete_comment\` |
|
|
1112
1113
|
| Log work time | \`jira_add_worklog\` |
|
|
1114
|
+
| Delete worklogs | \`jira_delete_worklog\` |
|
|
1113
1115
|
| Link issues | \`jira_link_issues\` |
|
|
1114
1116
|
|
|
1115
1117
|
---
|