@rse/ase 1.0.6 → 1.0.7

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/dst/ase-hook.js CHANGED
@@ -37,7 +37,6 @@ const toolSpecs = {
37
37
  "claude": {
38
38
  toolNameField: "tool_name",
39
39
  toolInputField: "tool_input",
40
- toolInputIsString: false,
41
40
  bashToolName: "Bash",
42
41
  mcpToolNamePattern: /^mcp__plugin_ase_ase__.+/,
43
42
  addonMcpToolNamePattern: addonMcpToolNamePattern("mcp__", "__.+"),
@@ -48,7 +47,6 @@ const toolSpecs = {
48
47
  "copilot": {
49
48
  toolNameField: "toolName",
50
49
  toolInputField: "toolArgs",
51
- toolInputIsString: true,
52
50
  bashToolName: "bash",
53
51
  mcpToolNamePattern: /^ase-.+/,
54
52
  addonMcpToolNamePattern: addonMcpToolNamePattern("", "-.+"),
@@ -59,7 +57,6 @@ const toolSpecs = {
59
57
  "codex": {
60
58
  toolNameField: "tool_name",
61
59
  toolInputField: "tool_input",
62
- toolInputIsString: false,
63
60
  bashToolName: "Bash",
64
61
  mcpToolNamePattern: /^mcp__ase__.+/,
65
62
  addonMcpToolNamePattern: addonMcpToolNamePattern("mcp__", "__.+"),
@@ -498,9 +495,9 @@ export default class HookCommand {
498
495
  const rawInput = input[spec.toolInputField];
499
496
  const toolName = typeof rawName === "string" ? rawName : "";
500
497
  let toolInput = {};
501
- if (spec.toolInputIsString && typeof rawInput === "string")
498
+ if (typeof rawInput === "string")
502
499
  toolInput = this.parseJSON(rawInput, toolInputSchema);
503
- else if (!spec.toolInputIsString && typeof rawInput === "object" && rawInput !== null) {
500
+ else if (typeof rawInput === "object" && rawInput !== null) {
504
501
  const result = v.safeParse(toolInputSchema, rawInput);
505
502
  if (result.success)
506
503
  toolInput = result.output;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "homepage": "https://ase.tools",
7
7
  "repository": { "url": "git+https://github.com/rse/ase.git", "type": "git" },
8
8
  "bugs": { "url": "https://github.com/rse/ase/issues" },
9
- "version": "1.0.6",
9
+ "version": "1.0.7",
10
10
  "license": "Apache-2.0",
11
11
  "author": {
12
12
  "name": "Dr. Ralf S. Engelschall",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ase",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Agentic Software Engineering (ASE)",
5
5
  "keywords": [ "agentic", "software", "engineering" ],
6
6
  "homepage": "https://ase.tools",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ase",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Agentic Software Engineering (ASE)",
5
5
  "keywords": [ "agentic", "software", "engineering" ],
6
6
  "homepage": "https://ase.tools",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ase",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Agentic Software Engineering (ASE)",
5
5
  "keywords": [ "agentic", "software", "engineering" ],
6
6
  "homepage": "https://ase.tools",