dynamoi 0.2.4 → 0.2.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.
Files changed (2) hide show
  1. package/dist/dynamoi.js +3 -3
  2. package/package.json +1 -1
package/dist/dynamoi.js CHANGED
@@ -3,7 +3,7 @@
3
3
  var package_default = {
4
4
  $schema: "https://www.schemastore.org/package",
5
5
  name: "dynamoi",
6
- version: "0.2.4",
6
+ version: "0.2.5",
7
7
  type: "module",
8
8
  license: "MIT",
9
9
  description: "Music promotion and distribution, built for AI agents: the Dynamoi command line.",
@@ -51,8 +51,8 @@ var package_default = {
51
51
  };
52
52
 
53
53
  // src/tools.ts
54
- var isToolCommand = (tool) => tool.name.startsWith("dynamoi_");
55
- var commandName = (tool) => tool.name.replace(/^dynamoi_/u, "").replaceAll("_", "-");
54
+ var isToolCommand = (tool) => tool.name.startsWith("dynamoi_") || tool.name === "search" || tool.name === "fetch";
55
+ var commandName = (tool) => ["search", "fetch"].includes(tool.name) ? `openai-${tool.name}` : tool.name.replace(/^dynamoi_/u, "").replaceAll("_", "-");
56
56
  var flagName = (property) => property.replace(/([a-z0-9])([A-Z])/gu, "$1-$2").toLowerCase();
57
57
  var properties = (tool) => Object.entries(tool.inputSchema.properties ?? {});
58
58
  var kind = (schema) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package",
3
3
  "name": "dynamoi",
4
- "version": "0.2.4",
4
+ "version": "0.2.5",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "description": "Music promotion and distribution, built for AI agents: the Dynamoi command line.",