- Add Strike API credentials configuration - Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates) - Add comprehensive operation descriptions for all resources - Include CLAUDE.MD documentation - Set up build configuration with TypeScript, ESLint, and Prettier 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
9 lines
384 B
JavaScript
9 lines
384 B
JavaScript
/**
|
|
* Converts a node name to a valid tool name by replacing special characters with underscores
|
|
* and collapsing consecutive underscores into a single one.
|
|
*/
|
|
export function nodeNameToToolName(nodeOrName) {
|
|
const name = typeof nodeOrName === 'string' ? nodeOrName : nodeOrName.name;
|
|
return name.replace(/[^a-zA-Z0-9_-]+/g, '_');
|
|
}
|
|
//# sourceMappingURL=tool-helpers.js.map
|