Complete sprints 163-165 strict MCP grammar pipeline and enforcement

This commit is contained in:
Bill
2026-02-25 17:25:36 -07:00
parent 45b8bb13b9
commit 07ed58ddc3
402 changed files with 43765 additions and 0 deletions

View File

@@ -0,0 +1,100 @@
#!/usr/bin/env python3
"""
Audit strictness coverage for generated MCP grammars.
"""
from __future__ import annotations
import argparse
import glob
import json
from pathlib import Path
from typing import Any, Dict
def main() -> None:
ap = argparse.ArgumentParser()
ap.add_argument("--schemas", default="tools/mcp/whetstone_tool_schemas.json")
ap.add_argument("--grammars-dir", default="tools/mcp/grammars")
ap.add_argument("--out", default="tools/mcp/grammars/strictness_report.json")
args = ap.parse_args()
schemas = json.loads(Path(args.schemas).read_text())
grammars_dir = Path(args.grammars_dir)
per_tool = json.loads((grammars_dir / "per_tool_schemas.json").read_text())
normalized_path = grammars_dir / "normalized_tool_schemas.json"
normalized = json.loads(normalized_path.read_text()) if normalized_path.exists() else {"tools": {}}
gbnf_files = [Path(p) for p in glob.glob(str(grammars_dir / "*.gbnf"))]
tool_gbnf = [p for p in gbnf_files if p.name != "dispatch.gbnf"]
by_tool: Dict[str, Any] = {}
fallback_count = 0
waived_fallback_count = 0
unsupported_count = 0
fallback_by_tool: Dict[str, Dict[str, int]] = {}
generated_report_path = grammars_dir / "strictness_report.json"
generated_report = (
json.loads(generated_report_path.read_text())
if generated_report_path.exists()
else {"fallbacks": []}
)
for fb in generated_report.get("fallbacks", []):
tool = fb.get("tool", "")
if not tool:
continue
ent = fallback_by_tool.setdefault(tool, {"total": 0, "waived": 0})
ent["total"] += 1
if fb.get("allowed", False):
ent["waived"] += 1
for tool in sorted(schemas.keys()):
fpath = grammars_dir / f"{tool}.gbnf"
has_gbnf = fpath.exists()
fb = fallback_by_tool.get(tool, {}).get("total", 0)
fallback_count += fb
tool_norm = normalized.get("tools", {}).get(tool, {})
unsupported = len(tool_norm.get("unsupported", []))
unsupported_count += unsupported
schema = schemas[tool]
allow_broad = bool(schema.get("x-whetstone-allow-broad", False))
tool_waived = fallback_by_tool.get(tool, {}).get("waived", 0)
if allow_broad and fb > 0 and tool_waived == 0:
tool_waived = fb
waived_fallback_count += tool_waived
by_tool[tool] = {
"has_gbnf": has_gbnf,
"has_per_tool_schema": tool in per_tool,
"fallback_token_count": fb,
"unsupported_schema_entries": unsupported,
"allow_broad": allow_broad,
"waived_fallback_count": tool_waived,
}
payload = {
"summary": {
"tool_count": len(schemas),
"gbnf_count": len(tool_gbnf),
"per_tool_schema_count": len(per_tool),
"missing_gbnf_count": sum(1 for v in by_tool.values() if not v["has_gbnf"]),
"missing_per_tool_schema_count": sum(1 for v in by_tool.values() if not v["has_per_tool_schema"]),
"fallback_token_count": fallback_count,
"waived_fallback_count": waived_fallback_count,
"unwaived_fallback_count": fallback_count - waived_fallback_count,
"unsupported_schema_entry_count": unsupported_count,
},
"tools": by_tool,
}
out = Path(args.out)
out.parent.mkdir(parents=True, exist_ok=True)
out.write_text(json.dumps(payload, indent=2, sort_keys=True) + "\n")
print(f"Wrote strictness report: {out}")
print(json.dumps(payload["summary"], indent=2, sort_keys=True))
if __name__ == "__main__":
main()

View File

@@ -0,0 +1,48 @@
#!/usr/bin/env python3
"""
Fail if strictness_report.json violates strictness_policy.json thresholds.
"""
from __future__ import annotations
import argparse
import json
import sys
from pathlib import Path
def main() -> None:
ap = argparse.ArgumentParser()
ap.add_argument("--policy", default="tools/mcp/grammars/strictness_policy.json")
ap.add_argument("--report", default="tools/mcp/grammars/strictness_report.json")
args = ap.parse_args()
policy = json.loads(Path(args.policy).read_text())
report = json.loads(Path(args.report).read_text())
s = report.get("summary", {})
failures = []
if s.get("tool_count", 0) < int(policy.get("min_tool_coverage", 0)):
failures.append("tool coverage below minimum")
if s.get("missing_gbnf_count", 0) > int(policy.get("max_missing_gbnf", 0)):
failures.append("missing gbnf files exceeds policy")
if s.get("missing_per_tool_schema_count", 0) > int(policy.get("max_missing_per_tool_schema", 0)):
failures.append("missing per-tool schema entries exceeds policy")
if s.get("unwaived_fallback_count", 0) > int(policy.get("max_unwaived_fallback_count", 0)):
failures.append("unwaived fallback count exceeds policy")
if s.get("unsupported_schema_entry_count", 0) > int(policy.get("max_unsupported_schema_entries", 0)):
failures.append("unsupported schema entries exceeds policy")
if failures:
print("Strictness policy FAILED")
for f in failures:
print(f"- {f}")
print(json.dumps(s, indent=2, sort_keys=True))
sys.exit(2)
print("Strictness policy PASSED")
print(json.dumps(s, indent=2, sort_keys=True))
if __name__ == "__main__":
main()

View File

@@ -0,0 +1,323 @@
#!/usr/bin/env python3
"""
Generate strict-ish GBNF grammars and JSON Schemas for all Whetstone MCP tools.
"""
from __future__ import annotations
import argparse
import hashlib
import json
from pathlib import Path
from typing import Any, Dict, List, Tuple
from schema_normalizer import normalize_tool_schemas
GBNF_PRIMITIVES = """\
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \\t\\n\\r]*
string ::= "\\\"" ([^"\\\\\\x7F\\x00-\\x1F] | "\\\\" (["\\\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\\\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
"""
class GrammarBuilder:
def __init__(self) -> None:
self.rules: Dict[str, str] = {}
self.counter = 0
self.fallbacks: List[Dict[str, Any]] = []
def unique(self, base: str) -> str:
self.counter += 1
return f"{base}-{self.counter}"
def add(self, rule_name: str, expr: str) -> None:
if rule_name not in self.rules:
self.rules[rule_name] = expr
def emit_value(self, node: Dict[str, Any], base: str, *, tool: str, path: str) -> str:
kind = node.get("kind", "any")
if kind == "string":
if "const" in node and isinstance(node["const"], str):
return f'"\\\"{node["const"]}\\\""'
enum_vals = node.get("enum")
if isinstance(enum_vals, list) and enum_vals and all(isinstance(v, str) for v in enum_vals):
return " | ".join(f'"\\\"{v}\\\""' for v in enum_vals)
return "string"
if kind == "integer":
return "integer"
if kind == "number":
return "number"
if kind == "boolean":
return "boolean"
if kind == "null":
return "null"
if kind == "array":
item_rule = self.emit_value(node.get("items", {"kind": "any"}), self.unique(f"{base}-item"), tool=tool, path=f"{path}.items")
arr_rule = self.unique(f"{base}-arr")
self.add(arr_rule, f'"[" ws ({item_rule} (ws "," ws {item_rule})*)? ws "]"')
return arr_rule
if kind == "arrayTuple":
prefix = node.get("prefixItems", [])
if not prefix:
return '"[" ws "]"'
parts: List[str] = []
for i, p in enumerate(prefix):
parts.append(self.emit_value(p, self.unique(f"{base}-tuple{i}"), tool=tool, path=f"{path}.prefixItems[{i}]"))
tup_rule = self.unique(f"{base}-tuple")
expr = parts[0]
for part in parts[1:]:
expr += f' ws "," ws {part}'
self.add(tup_rule, f'"[" ws {expr} ws "]"')
return tup_rule
if kind in ("oneOf", "anyOf"):
branches = node.get("branches", [])
alts: List[str] = []
for i, b in enumerate(branches):
alts.append(self.emit_value(b, self.unique(f"{base}-b{i}"), tool=tool, path=f"{path}.{kind}[{i}]"))
if not alts:
self.fallbacks.append({"tool": tool, "path": path, "reason": f"empty_{kind}", "allowed": False})
return "any-value"
union_rule = self.unique(f"{base}-{kind}")
self.add(union_rule, " | ".join(alts))
return union_rule
if kind == "allOf":
branches = node.get("branches", [])
object_branches = [b for b in branches if b.get("kind") == "object"]
if len(object_branches) == len(branches) and branches:
merged_props: Dict[str, Any] = {}
merged_req = set()
additional = False
for b in object_branches:
merged_props.update(b.get("properties", {}))
merged_req.update(b.get("required", []))
ap = b.get("additionalProperties", True)
additional = additional or bool(ap)
merged = {
"kind": "object",
"properties": merged_props,
"required": sorted(merged_req),
"additionalProperties": additional,
"allowBroad": False,
}
return self.emit_value(merged, self.unique(f"{base}-allof-merged"), tool=tool, path=f"{path}.allOfMerged")
self.fallbacks.append({"tool": tool, "path": path, "reason": "allof_non_object", "allowed": False})
return "any-value"
if kind == "object":
props = node.get("properties", {})
required = list(node.get("required", []))
optional = [k for k in sorted(props.keys()) if k not in required]
required = [k for k in required if k in props]
if not props:
ap = node.get("additionalProperties", True)
if ap is False:
return '"{" ws "}"'
allowed = bool(node.get("allowBroad", False))
self.fallbacks.append({"tool": tool, "path": path, "reason": "broad_object_no_props", "allowed": allowed})
return "any-object"
pair_rules: Dict[str, str] = {}
for field in sorted(props.keys()):
field_rule = self.emit_value(props[field], self.unique(f"{base}-{field}"), tool=tool, path=f"{path}.properties.{field}")
pair_rule = self.unique(f"{base}-{field}-pair")
self.add(pair_rule, f'"\\\"{field}\\\"" ws ":" ws {field_rule}')
pair_rules[field] = pair_rule
if not required:
# all optional: any subset in any order (coarse but strict field-key set)
opt_rule = self.unique(f"{base}-opt")
self.add(opt_rule, " | ".join(pair_rules[k] for k in sorted(pair_rules.keys())))
obj_rule = self.unique(f"{base}-obj")
self.add(obj_rule, f'"{{" ws ({opt_rule} (ws "," ws {opt_rule})*)? ws "}}"')
return obj_rule
req_seq = ' ws "," ws '.join(pair_rules[k] for k in required)
obj_rule = self.unique(f"{base}-obj")
if optional:
opt_rule = self.unique(f"{base}-opt")
self.add(opt_rule, " | ".join(pair_rules[k] for k in optional))
self.add(obj_rule, f'"{{" ws {req_seq} (ws "," ws {opt_rule})* ws "}}"')
else:
self.add(obj_rule, f'"{{" ws {req_seq} ws "}}"')
return obj_rule
allowed = bool(node.get("allowBroad", False))
self.fallbacks.append({"tool": tool, "path": path, "reason": "kind_any", "allowed": allowed})
return "any-value"
def _rule_name(tool_name: str) -> str:
return tool_name.replace("_", "-")
def generate_tool_gbnf(tool_name: str, normalized_tool: Dict[str, Any]) -> Tuple[str, List[Dict[str, Any]]]:
builder = GrammarBuilder()
schema = normalized_tool["schema"]
base = _rule_name(tool_name)
args_rule = builder.emit_value(schema, f"{base}-args", tool=tool_name, path=f"tools.{tool_name}")
lines: List[str] = [GBNF_PRIMITIVES, f"# --- {tool_name} ---"]
lines.append(
f'root ::= "{{" ws "\\\"tool\\\"" ws ":" ws "\\\"{tool_name}\\\"" ws "," ws "\\\"arguments\\\"" ws ":" ws {args_rule} ws "}}"'
)
lines.append("")
for rn in sorted(builder.rules.keys()):
lines.append(f"{rn} ::= {builder.rules[rn]}")
return "\n".join(lines) + "\n", builder.fallbacks
def generate_dispatch_gbnf(normalized: Dict[str, Any]) -> Tuple[str, List[Dict[str, Any]]]:
tool_rules: Dict[str, str] = {}
all_fallbacks: List[Dict[str, Any]] = []
for tool_name in sorted(normalized.keys()):
text, fallbacks = generate_tool_gbnf(tool_name, normalized[tool_name])
# extract rule body from per-tool grammar (all rules after first root definition)
lines = text.splitlines()
tool_rules[tool_name] = "\n".join(lines[3:])
all_fallbacks.extend(fallbacks)
lines: List[str] = [GBNF_PRIMITIVES, "# --- Full Whetstone dispatch grammar ---", ""]
alts = " |\n ".join(f"{_rule_name(t)}-call" for t in sorted(normalized.keys()))
lines.append(f"root ::= {alts}")
lines.append("")
for tool_name in sorted(normalized.keys()):
base = _rule_name(tool_name)
# Re-emit one call rule pointing to the generated args root rule name.
# For per-tool files, root points directly to call JSON. For dispatch we use dedicated call rule.
args_root = f"{base}-args-1"
# Emit tool call rule.
lines.append(f"# {tool_name}")
lines.append(
f'{base}-call ::= "{{" ws "\\\"tool\\\"" ws ":" ws "\\\"{tool_name}\\\"" ws "," ws "\\\"arguments\\\"" ws ":" ws {args_root} ws "}}"'
)
# Append remaining rules from tool grammar verbatim.
lines.append(tool_rules[tool_name])
lines.append("")
return "\n".join(lines) + "\n", all_fallbacks
def generate_tool_json_schema(tool_name: str, schema: Dict[str, Any]) -> Dict[str, Any]:
return {
"type": "object",
"properties": {
"tool": {"type": "string", "const": tool_name},
"arguments": schema if schema.get("properties") else {"type": "object"},
},
"required": ["tool", "arguments"],
"additionalProperties": False,
}
def generate_dispatch_json_schema(schemas: Dict[str, Any]) -> Dict[str, Any]:
return {"oneOf": [generate_tool_json_schema(name, schema) for name, schema in sorted(schemas.items())]}
def write_manifest(out_dir: Path, schemas: Dict[str, Any], dispatch_gbnf: str, dispatch_schema: Dict[str, Any]) -> None:
schema_json = json.dumps(schemas, sort_keys=True, separators=(",", ":"))
dispatch_schema_json = json.dumps(dispatch_schema, sort_keys=True, separators=(",", ":"))
payload = {
"tool_count": len(schemas),
"tool_schema_sha256": hashlib.sha256(schema_json.encode()).hexdigest(),
"dispatch_gbnf_sha256": hashlib.sha256(dispatch_gbnf.encode()).hexdigest(),
"dispatch_schema_sha256": hashlib.sha256(dispatch_schema_json.encode()).hexdigest(),
}
manifest_path = out_dir / "manifest.json"
manifest_path.write_text(json.dumps(payload, indent=2, sort_keys=True) + "\n")
lock = hashlib.sha256(json.dumps(payload, sort_keys=True, separators=(",", ":")).encode()).hexdigest()
(out_dir / "manifest.lock").write_text(lock + "\n")
def main() -> None:
ap = argparse.ArgumentParser()
ap.add_argument("--schemas", default="tools/mcp/whetstone_tool_schemas.json")
ap.add_argument("--out-dir", default="tools/mcp/grammars")
ap.add_argument("--strict-report", default="tools/mcp/grammars/strictness_report.json")
args = ap.parse_args()
schema_path = Path(args.schemas)
out_dir = Path(args.out_dir)
out_dir.mkdir(parents=True, exist_ok=True)
raw_schemas = json.loads(schema_path.read_text())
normalized_payload = normalize_tool_schemas(raw_schemas)
normalized_path = out_dir / "normalized_tool_schemas.json"
normalized_path.write_text(
json.dumps(
{
"summary": {
"tool_count": len(normalized_payload),
"unsupported_entry_count": sum(len(x.get("unsupported", [])) for x in normalized_payload.values()),
},
"tools": normalized_payload,
},
indent=2,
sort_keys=True,
)
+ "\n"
)
all_fallbacks: List[Dict[str, Any]] = []
for tool_name in sorted(normalized_payload.keys()):
gbnf, fallbacks = generate_tool_gbnf(tool_name, normalized_payload[tool_name])
(out_dir / f"{tool_name}.gbnf").write_text(gbnf)
all_fallbacks.extend(fallbacks)
dispatch_gbnf, dispatch_fallbacks = generate_dispatch_gbnf(normalized_payload)
all_fallbacks.extend(dispatch_fallbacks)
(out_dir / "dispatch.gbnf").write_text(dispatch_gbnf)
per_tool = {name: generate_tool_json_schema(name, schema) for name, schema in raw_schemas.items()}
(out_dir / "per_tool_schemas.json").write_text(json.dumps(per_tool, indent=2, sort_keys=True) + "\n")
dispatch_schema = generate_dispatch_json_schema(raw_schemas)
(out_dir / "dispatch_schema.json").write_text(json.dumps(dispatch_schema, indent=2, sort_keys=True) + "\n")
write_manifest(out_dir, raw_schemas, dispatch_gbnf, dispatch_schema)
unsupported_entries = sum(len(v.get("unsupported", [])) for v in normalized_payload.values())
strict_report = {
"summary": {
"tool_count": len(raw_schemas),
"fallback_count": len(all_fallbacks),
"waived_fallback_count": sum(1 for x in all_fallbacks if x.get("allowed")),
"unwaived_fallback_count": sum(1 for x in all_fallbacks if not x.get("allowed")),
"unsupported_schema_entries": unsupported_entries,
},
"fallbacks": all_fallbacks,
}
Path(args.strict_report).write_text(json.dumps(strict_report, indent=2, sort_keys=True) + "\n")
print(f"Wrote {len(raw_schemas)} per-tool .gbnf files")
print(f"Wrote dispatch.gbnf ({len(dispatch_gbnf)} bytes)")
print("Wrote per_tool_schemas.json")
print("Wrote dispatch_schema.json")
print("Wrote normalized_tool_schemas.json")
print("Wrote strictness_report.json")
print("Wrote manifest.json and manifest.lock")
if __name__ == "__main__":
main()

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
{
"dispatch_gbnf_sha256": "a7d833d8f5e78d30e49bcbf9ff74ca7ac3f82b525f194171ef3c4c2684128c2b",
"dispatch_schema_sha256": "dca771df06991dd8c3b7b2bb7fc9be1d4885bad141eecb5c52206f62e1e85080",
"tool_count": 347,
"tool_schema_sha256": "2f9cb49ce12ec668b6060950cf2b1e79c1a3bbf14df06aee0a42412d8befc709"
}

View File

@@ -0,0 +1 @@
b7996a224fa7d1a40c729e30cc3fee3cbd9e53dd280bdd21d4dcc9f1b917cb61

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,7 @@
{
"min_tool_coverage": 347,
"max_missing_gbnf": 0,
"max_missing_per_tool_schema": 0,
"max_unwaived_fallback_count": 390,
"max_unsupported_schema_entries": 1
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,29 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_add_skeleton_node ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_add_skeleton_node\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-add-skeleton-node-args-obj-23 ws "}"
whetstone-add-skeleton-node-args-automatability-pair-2 ::= "\"automatability\"" ws ":" ws "\"deterministic\"" | "\"template\"" | "\"slm\"" | "\"llm\"" | "\"human\""
whetstone-add-skeleton-node-args-blockedBy-3-arr-5 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-add-skeleton-node-args-blockedBy-pair-6 ::= "\"blockedBy\"" ws ":" ws whetstone-add-skeleton-node-args-blockedBy-3-arr-5
whetstone-add-skeleton-node-args-contextWidth-pair-8 ::= "\"contextWidth\"" ws ":" ws "\"local\"" | "\"file\"" | "\"project\"" | "\"cross-project\""
whetstone-add-skeleton-node-args-methods-9-arr-11 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-add-skeleton-node-args-methods-pair-12 ::= "\"methods\"" ws ":" ws whetstone-add-skeleton-node-args-methods-9-arr-11
whetstone-add-skeleton-node-args-name-pair-14 ::= "\"name\"" ws ":" ws string
whetstone-add-skeleton-node-args-nodeType-pair-16 ::= "\"nodeType\"" ws ":" ws "\"function\"" | "\"class\""
whetstone-add-skeleton-node-args-obj-23 ::= "{" ws whetstone-add-skeleton-node-args-name-pair-14 (ws "," ws whetstone-add-skeleton-node-args-opt-24)* ws "}"
whetstone-add-skeleton-node-args-opt-24 ::= whetstone-add-skeleton-node-args-automatability-pair-2 | whetstone-add-skeleton-node-args-blockedBy-pair-6 | whetstone-add-skeleton-node-args-contextWidth-pair-8 | whetstone-add-skeleton-node-args-methods-pair-12 | whetstone-add-skeleton-node-args-nodeType-pair-16 | whetstone-add-skeleton-node-args-parameters-pair-20 | whetstone-add-skeleton-node-args-priority-pair-22
whetstone-add-skeleton-node-args-parameters-17-arr-19 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-add-skeleton-node-args-parameters-pair-20 ::= "\"parameters\"" ws ":" ws whetstone-add-skeleton-node-args-parameters-17-arr-19
whetstone-add-skeleton-node-args-priority-pair-22 ::= "\"priority\"" ws ":" ws "\"critical\"" | "\"high\"" | "\"medium\"" | "\"low\""

View File

@@ -0,0 +1,25 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_analyze_data_pipeline_semantics ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_analyze_data_pipeline_semantics\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-analyze-data-pipeline-semantics-args-obj-15 ws "}"
whetstone-analyze-data-pipeline-semantics-args-obj-15 ::= "{" ws whetstone-analyze-data-pipeline-semantics-args-pipeline_id-pair-2 (ws "," ws whetstone-analyze-data-pipeline-semantics-args-opt-16)* ws "}"
whetstone-analyze-data-pipeline-semantics-args-opt-16 ::= whetstone-analyze-data-pipeline-semantics-args-sinks-pair-6 | whetstone-analyze-data-pipeline-semantics-args-sources-pair-10 | whetstone-analyze-data-pipeline-semantics-args-transforms-pair-14
whetstone-analyze-data-pipeline-semantics-args-pipeline_id-pair-2 ::= "\"pipeline_id\"" ws ":" ws string
whetstone-analyze-data-pipeline-semantics-args-sinks-3-arr-5 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-analyze-data-pipeline-semantics-args-sinks-pair-6 ::= "\"sinks\"" ws ":" ws whetstone-analyze-data-pipeline-semantics-args-sinks-3-arr-5
whetstone-analyze-data-pipeline-semantics-args-sources-7-arr-9 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-analyze-data-pipeline-semantics-args-sources-pair-10 ::= "\"sources\"" ws ":" ws whetstone-analyze-data-pipeline-semantics-args-sources-7-arr-9
whetstone-analyze-data-pipeline-semantics-args-transforms-11-arr-13 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-analyze-data-pipeline-semantics-args-transforms-pair-14 ::= "\"transforms\"" ws ":" ws whetstone-analyze-data-pipeline-semantics-args-transforms-11-arr-13

View File

@@ -0,0 +1,20 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_analyze_rust_semantics ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_analyze_rust_semantics\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-analyze-rust-semantics-args-obj-5 ws "}"
whetstone-analyze-rust-semantics-args-obj-5 ::= "{" ws whetstone-analyze-rust-semantics-args-source-pair-2 (ws "," ws whetstone-analyze-rust-semantics-args-opt-6)* ws "}"
whetstone-analyze-rust-semantics-args-opt-6 ::= whetstone-analyze-rust-semantics-args-strict-pair-4
whetstone-analyze-rust-semantics-args-source-pair-2 ::= "\"source\"" ws ":" ws string
whetstone-analyze-rust-semantics-args-strict-pair-4 ::= "\"strict\"" ws ":" ws boolean

View File

@@ -0,0 +1,23 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_apply_annotation ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_apply_annotation\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-apply-annotation-args-obj-11 ws "}"
whetstone-apply-annotation-args-annotationType-pair-2 ::= "\"annotationType\"" ws ":" ws string
whetstone-apply-annotation-args-confidence-pair-4 ::= "\"confidence\"" ws ":" ws number
whetstone-apply-annotation-args-nodeId-pair-6 ::= "\"nodeId\"" ws ":" ws string
whetstone-apply-annotation-args-obj-11 ::= "{" ws whetstone-apply-annotation-args-annotationType-pair-2 ws "," ws whetstone-apply-annotation-args-nodeId-pair-6 ws "," ws whetstone-apply-annotation-args-strategy-pair-10 (ws "," ws whetstone-apply-annotation-args-opt-12)* ws "}"
whetstone-apply-annotation-args-opt-12 ::= whetstone-apply-annotation-args-confidence-pair-4 | whetstone-apply-annotation-args-reason-pair-8
whetstone-apply-annotation-args-reason-pair-8 ::= "\"reason\"" ws ":" ws string
whetstone-apply-annotation-args-strategy-pair-10 ::= "\"strategy\"" ws ":" ws string

View File

@@ -0,0 +1,22 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_apply_best_practice_pack ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_apply_best_practice_pack\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-apply-best-practice-pack-args-obj-9 ws "}"
whetstone-apply-best-practice-pack-args-high_severity_findings-pair-2 ::= "\"high_severity_findings\"" ws ":" ws integer
whetstone-apply-best-practice-pack-args-obj-9 ::= "{" ws whetstone-apply-best-practice-pack-args-pack_id-pair-4 (ws "," ws whetstone-apply-best-practice-pack-args-opt-10)* ws "}"
whetstone-apply-best-practice-pack-args-opt-10 ::= whetstone-apply-best-practice-pack-args-high_severity_findings-pair-2 | whetstone-apply-best-practice-pack-args-target_tenant-pair-6 | whetstone-apply-best-practice-pack-args-unresolved_findings-pair-8
whetstone-apply-best-practice-pack-args-pack_id-pair-4 ::= "\"pack_id\"" ws ":" ws string
whetstone-apply-best-practice-pack-args-target_tenant-pair-6 ::= "\"target_tenant\"" ws ":" ws string
whetstone-apply-best-practice-pack-args-unresolved_findings-pair-8 ::= "\"unresolved_findings\"" ws ":" ws boolean

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_apply_patch_packet ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_apply_patch_packet\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-apply-patch-packet-args-obj-5 ws "}"
whetstone-apply-patch-packet-args-diff-pair-2 ::= "\"diff\"" ws ":" ws string
whetstone-apply-patch-packet-args-obj-5 ::= "{" ws whetstone-apply-patch-packet-args-diff-pair-2 ws "," ws whetstone-apply-patch-packet-args-proposal_id-pair-4 ws "}"
whetstone-apply-patch-packet-args-proposal_id-pair-4 ::= "\"proposal_id\"" ws ":" ws string

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_apply_quick_fix ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_apply_quick_fix\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-apply-quick-fix-args-obj-5 ws "}"
whetstone-apply-quick-fix-args-diagCode-pair-2 ::= "\"diagCode\"" ws ":" ws string
whetstone-apply-quick-fix-args-nodeId-pair-4 ::= "\"nodeId\"" ws ":" ws string
whetstone-apply-quick-fix-args-obj-5 ::= "{" ws whetstone-apply-quick-fix-args-diagCode-pair-2 ws "," ws whetstone-apply-quick-fix-args-nodeId-pair-4 ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_apply_text_ast_merge ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_apply_text_ast_merge\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_apply_verified_pattern ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_apply_verified_pattern\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,20 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_approve_item ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_approve_item\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-approve-item-args-obj-5 ws "}"
whetstone-approve-item-args-feedback-pair-2 ::= "\"feedback\"" ws ":" ws string
whetstone-approve-item-args-itemId-pair-4 ::= "\"itemId\"" ws ":" ws string
whetstone-approve-item-args-obj-5 ::= "{" ws whetstone-approve-item-args-itemId-pair-4 (ws "," ws whetstone-approve-item-args-opt-6)* ws "}"
whetstone-approve-item-args-opt-6 ::= whetstone-approve-item-args-feedback-pair-2

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_architect_intake ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_architect_intake\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-architect-intake-args-obj-3 ws "}"
whetstone-architect-intake-args-markdown-pair-2 ::= "\"markdown\"" ws ":" ws string
whetstone-architect-intake-args-obj-3 ::= "{" ws whetstone-architect-intake-args-markdown-pair-2 ws "}"

View File

@@ -0,0 +1,27 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_assemble_context ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_assemble_context\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-assemble-context-args-obj-17 ws "}"
whetstone-assemble-context-args-files-1-arr-13 ::= "[" ws (whetstone-assemble-context-args-files-1-item-2-obj-11 (ws "," ws whetstone-assemble-context-args-files-1-item-2-obj-11)*)? ws "]"
whetstone-assemble-context-args-files-1-item-2-head_lines-pair-4 ::= "\"head_lines\"" ws ":" ws integer
whetstone-assemble-context-args-files-1-item-2-line_hint-pair-6 ::= "\"line_hint\"" ws ":" ws integer
whetstone-assemble-context-args-files-1-item-2-obj-11 ::= "{" ws whetstone-assemble-context-args-files-1-item-2-path-pair-8 (ws "," ws whetstone-assemble-context-args-files-1-item-2-opt-12)* ws "}"
whetstone-assemble-context-args-files-1-item-2-opt-12 ::= whetstone-assemble-context-args-files-1-item-2-head_lines-pair-4 | whetstone-assemble-context-args-files-1-item-2-line_hint-pair-6 | whetstone-assemble-context-args-files-1-item-2-symbol-pair-10
whetstone-assemble-context-args-files-1-item-2-path-pair-8 ::= "\"path\"" ws ":" ws string
whetstone-assemble-context-args-files-1-item-2-symbol-pair-10 ::= "\"symbol\"" ws ":" ws string
whetstone-assemble-context-args-files-pair-14 ::= "\"files\"" ws ":" ws whetstone-assemble-context-args-files-1-arr-13
whetstone-assemble-context-args-max_tokens-pair-16 ::= "\"max_tokens\"" ws ":" ws integer
whetstone-assemble-context-args-obj-17 ::= "{" ws whetstone-assemble-context-args-files-pair-14 (ws "," ws whetstone-assemble-context-args-opt-18)* ws "}"
whetstone-assemble-context-args-opt-18 ::= whetstone-assemble-context-args-max_tokens-pair-16

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_assemble_fix_context ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_assemble_fix_context\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-assemble-fix-context-args-obj-7 ws "}"
whetstone-assemble-fix-context-args-mode-pair-2 ::= "\"mode\"" ws ":" ws string
whetstone-assemble-fix-context-args-obj-7 ::= "{" ws whetstone-assemble-fix-context-args-slices-pair-6 (ws "," ws whetstone-assemble-fix-context-args-opt-8)* ws "}"
whetstone-assemble-fix-context-args-opt-8 ::= whetstone-assemble-fix-context-args-mode-pair-2
whetstone-assemble-fix-context-args-slices-3-arr-5 ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
whetstone-assemble-fix-context-args-slices-pair-6 ::= "\"slices\"" ws ":" ws whetstone-assemble-fix-context-args-slices-3-arr-5

View File

@@ -0,0 +1,20 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_assign_task ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_assign_task\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-assign-task-args-obj-5 ws "}"
whetstone-assign-task-args-assignee-pair-2 ::= "\"assignee\"" ws ":" ws string
whetstone-assign-task-args-itemId-pair-4 ::= "\"itemId\"" ws ":" ws string
whetstone-assign-task-args-obj-5 ::= "{" ws whetstone-assign-task-args-itemId-pair-4 (ws "," ws whetstone-assign-task-args-opt-6)* ws "}"
whetstone-assign-task-args-opt-6 ::= whetstone-assign-task-args-assignee-pair-2

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_attach_multimodal_evidence ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_attach_multimodal_evidence\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_batch_mutate ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_batch_mutate\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-batch-mutate-args-obj-5 ws "}"
whetstone-batch-mutate-args-mutations-1-arr-3 ::= "[" ws (any-object (ws "," ws any-object)*)? ws "]"
whetstone-batch-mutate-args-mutations-pair-4 ::= "\"mutations\"" ws ":" ws whetstone-batch-mutate-args-mutations-1-arr-3
whetstone-batch-mutate-args-obj-5 ::= "{" ws whetstone-batch-mutate-args-mutations-pair-4 ws "}"

View File

@@ -0,0 +1,23 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_batch_query ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_batch_query\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-batch-query-args-obj-11 ws "}"
whetstone-batch-query-args-obj-11 ::= "{" ws whetstone-batch-query-args-queries-pair-10 ws "}"
whetstone-batch-query-args-queries-1-arr-9 ::= "[" ws (whetstone-batch-query-args-queries-1-item-2-obj-7 (ws "," ws whetstone-batch-query-args-queries-1-item-2-obj-7)*)? ws "]"
whetstone-batch-query-args-queries-1-item-2-method-pair-4 ::= "\"method\"" ws ":" ws string
whetstone-batch-query-args-queries-1-item-2-obj-7 ::= "{" ws whetstone-batch-query-args-queries-1-item-2-method-pair-4 (ws "," ws whetstone-batch-query-args-queries-1-item-2-opt-8)* ws "}"
whetstone-batch-query-args-queries-1-item-2-opt-8 ::= whetstone-batch-query-args-queries-1-item-2-params-pair-6
whetstone-batch-query-args-queries-1-item-2-params-pair-6 ::= "\"params\"" ws ":" ws any-object
whetstone-batch-query-args-queries-pair-10 ::= "\"queries\"" ws ":" ws whetstone-batch-query-args-queries-1-arr-9

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_begin_constructive_transaction ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_begin_constructive_transaction\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,22 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_build_debug_handoff ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_build_debug_handoff\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-build-debug-handoff-args-obj-9 ws "}"
whetstone-build-debug-handoff-args-next_actions-1-arr-3 ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
whetstone-build-debug-handoff-args-next_actions-pair-4 ::= "\"next_actions\"" ws ":" ws whetstone-build-debug-handoff-args-next_actions-1-arr-3
whetstone-build-debug-handoff-args-obj-9 ::= "{" ws whetstone-build-debug-handoff-args-session_id-pair-6 (ws "," ws whetstone-build-debug-handoff-args-opt-10)* ws "}"
whetstone-build-debug-handoff-args-opt-10 ::= whetstone-build-debug-handoff-args-next_actions-pair-4 | whetstone-build-debug-handoff-args-summary-pair-8
whetstone-build-debug-handoff-args-session_id-pair-6 ::= "\"session_id\"" ws ":" ws string
whetstone-build-debug-handoff-args-summary-pair-8 ::= "\"summary\"" ws ":" ws string

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_capture_distributed_failure ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_capture_distributed_failure\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_capture_failure_packet ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_capture_failure_packet\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-capture-failure-packet-args-obj-7 ws "}"
whetstone-capture-failure-packet-args-command-pair-2 ::= "\"command\"" ws ":" ws string
whetstone-capture-failure-packet-args-cwd-pair-4 ::= "\"cwd\"" ws ":" ws string
whetstone-capture-failure-packet-args-obj-7 ::= "{" ws whetstone-capture-failure-packet-args-command-pair-2 (ws "," ws whetstone-capture-failure-packet-args-opt-8)* ws "}"
whetstone-capture-failure-packet-args-opt-8 ::= whetstone-capture-failure-packet-args-cwd-pair-4 | whetstone-capture-failure-packet-args-target-pair-6
whetstone-capture-failure-packet-args-target-pair-6 ::= "\"target\"" ws ":" ws string

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_capture_handoff_packet ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_capture_handoff_packet\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_capture_mcp_execution_trace ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_capture_mcp_execution_trace\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_check_runtime_freshness ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_check_runtime_freshness\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_check_tool_compatibility ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_check_tool_compatibility\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,22 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_classify_debug_stop_reason ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_classify_debug_stop_reason\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-classify-debug-stop-reason-args-obj-10 ws "}"
whetstone-classify-debug-stop-reason-args-budget_exceeded-pair-2 ::= "\"budget_exceeded\"" ws ":" ws boolean
whetstone-classify-debug-stop-reason-args-obj-10 ::= "{" ws (whetstone-classify-debug-stop-reason-args-opt-9 (ws "," ws whetstone-classify-debug-stop-reason-args-opt-9)*)? ws "}"
whetstone-classify-debug-stop-reason-args-opt-9 ::= whetstone-classify-debug-stop-reason-args-budget_exceeded-pair-2 | whetstone-classify-debug-stop-reason-args-patch_rejected-pair-4 | whetstone-classify-debug-stop-reason-args-policy_violation-pair-6 | whetstone-classify-debug-stop-reason-args-tests_failing-pair-8
whetstone-classify-debug-stop-reason-args-patch_rejected-pair-4 ::= "\"patch_rejected\"" ws ":" ws boolean
whetstone-classify-debug-stop-reason-args-policy_violation-pair-6 ::= "\"policy_violation\"" ws ":" ws boolean
whetstone-classify-debug-stop-reason-args-tests_failing-pair-8 ::= "\"tests_failing\"" ws ":" ws boolean

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_close_file ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_close_file\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-close-file-args-obj-3 ws "}"
whetstone-close-file-args-obj-3 ::= "{" ws whetstone-close-file-args-path-pair-2 ws "}"
whetstone-close-file-args-path-pair-2 ::= "\"path\"" ws ":" ws string

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_cluster_distributed_failures ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_cluster_distributed_failures\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_cluster_failures ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_cluster_failures\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-cluster-failures-args-obj-5 ws "}"
whetstone-cluster-failures-args-obj-5 ::= "{" ws whetstone-cluster-failures-args-packets-pair-4 ws "}"
whetstone-cluster-failures-args-packets-1-arr-3 ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
whetstone-cluster-failures-args-packets-pair-4 ::= "\"packets\"" ws ":" ws whetstone-cluster-failures-args-packets-1-arr-3

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_compare_constructive_replays ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_compare_constructive_replays\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_compare_mcp_replays ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_compare_mcp_replays\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_compare_tool_surfaces ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_compare_tool_surfaces\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,25 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_complete_task ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_complete_task\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-complete-task-args-obj-13 ws "}"
whetstone-complete-task-args-itemId-pair-2 ::= "\"itemId\"" ws ":" ws string
whetstone-complete-task-args-obj-13 ::= "{" ws whetstone-complete-task-args-itemId-pair-2 (ws "," ws whetstone-complete-task-args-opt-14)* ws "}"
whetstone-complete-task-args-opt-14 ::= whetstone-complete-task-args-result-pair-12
whetstone-complete-task-args-result-3-confidence-pair-5 ::= "\"confidence\"" ws ":" ws number
whetstone-complete-task-args-result-3-generatedCode-pair-7 ::= "\"generatedCode\"" ws ":" ws string
whetstone-complete-task-args-result-3-obj-11 ::= "{" ws (whetstone-complete-task-args-result-3-opt-10 (ws "," ws whetstone-complete-task-args-result-3-opt-10)*)? ws "}"
whetstone-complete-task-args-result-3-opt-10 ::= whetstone-complete-task-args-result-3-confidence-pair-5 | whetstone-complete-task-args-result-3-generatedCode-pair-7 | whetstone-complete-task-args-result-3-reasoning-pair-9
whetstone-complete-task-args-result-3-reasoning-pair-9 ::= "\"reasoning\"" ws ":" ws string
whetstone-complete-task-args-result-pair-12 ::= "\"result\"" ws ":" ws whetstone-complete-task-args-result-3-obj-11

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_configure_hivemind ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_configure_hivemind\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_create_skeleton ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_create_skeleton\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-create-skeleton-args-obj-5 ws "}"
whetstone-create-skeleton-args-language-pair-2 ::= "\"language\"" ws ":" ws string
whetstone-create-skeleton-args-name-pair-4 ::= "\"name\"" ws ":" ws string
whetstone-create-skeleton-args-obj-5 ::= "{" ws whetstone-create-skeleton-args-language-pair-2 ws "," ws whetstone-create-skeleton-args-name-pair-4 ws "}"

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_create_workflow ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_create_workflow\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-create-workflow-args-obj-3 ws "}"
whetstone-create-workflow-args-obj-3 ::= "{" ws whetstone-create-workflow-args-projectName-pair-2 ws "}"
whetstone-create-workflow-args-projectName-pair-2 ::= "\"projectName\"" ws ":" ws string

View File

@@ -0,0 +1,22 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_debug_until_green ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_debug_until_green\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-debug-until-green-args-obj-9 ws "}"
whetstone-debug-until-green-args-apply_patches-pair-2 ::= "\"apply_patches\"" ws ":" ws boolean
whetstone-debug-until-green-args-command-pair-4 ::= "\"command\"" ws ":" ws string
whetstone-debug-until-green-args-context_budget-pair-6 ::= "\"context_budget\"" ws ":" ws string
whetstone-debug-until-green-args-max_iterations-pair-8 ::= "\"max_iterations\"" ws ":" ws integer
whetstone-debug-until-green-args-obj-9 ::= "{" ws whetstone-debug-until-green-args-command-pair-4 (ws "," ws whetstone-debug-until-green-args-opt-10)* ws "}"
whetstone-debug-until-green-args-opt-10 ::= whetstone-debug-until-green-args-apply_patches-pair-2 | whetstone-debug-until-green-args-context_budget-pair-6 | whetstone-debug-until-green-args-max_iterations-pair-8

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_derive_requirements ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_derive_requirements\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_detect_text_ast_conflicts ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_detect_text_ast_conflicts\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_diff_environments ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_diff_environments\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_dry_run_patch ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_dry_run_patch\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-dry-run-patch-args-obj-3 ws "}"
whetstone-dry-run-patch-args-diff-pair-2 ::= "\"diff\"" ws ":" ws string
whetstone-dry-run-patch-args-obj-3 ::= "{" ws whetstone-dry-run-patch-args-diff-pair-2 ws "}"

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_enqueue_pair_upgrade ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_enqueue_pair_upgrade\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-enqueue-pair-upgrade-args-obj-7 ws "}"
whetstone-enqueue-pair-upgrade-args-entry_id-pair-2 ::= "\"entry_id\"" ws ":" ws string
whetstone-enqueue-pair-upgrade-args-obj-7 ::= "{" ws whetstone-enqueue-pair-upgrade-args-pair_id-pair-4 ws "," ws whetstone-enqueue-pair-upgrade-args-priority-pair-6 (ws "," ws whetstone-enqueue-pair-upgrade-args-opt-8)* ws "}"
whetstone-enqueue-pair-upgrade-args-opt-8 ::= whetstone-enqueue-pair-upgrade-args-entry_id-pair-2
whetstone-enqueue-pair-upgrade-args-pair_id-pair-4 ::= "\"pair_id\"" ws ":" ws string
whetstone-enqueue-pair-upgrade-args-priority-pair-6 ::= "\"priority\"" ws ":" ws string

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_estimate_debug_budget ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_estimate_debug_budget\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-estimate-debug-budget-args-obj-8 ws "}"
whetstone-estimate-debug-budget-args-complexity-pair-2 ::= "\"complexity\"" ws ":" ws integer
whetstone-estimate-debug-budget-args-failing_targets-pair-4 ::= "\"failing_targets\"" ws ":" ws integer
whetstone-estimate-debug-budget-args-obj-8 ::= "{" ws (whetstone-estimate-debug-budget-args-opt-7 (ws "," ws whetstone-estimate-debug-budget-args-opt-7)*)? ws "}"
whetstone-estimate-debug-budget-args-opt-7 ::= whetstone-estimate-debug-budget-args-complexity-pair-2 | whetstone-estimate-debug-budget-args-failing_targets-pair-4 | whetstone-estimate-debug-budget-args-profile-pair-6
whetstone-estimate-debug-budget-args-profile-pair-6 ::= "\"profile\"" ws ":" ws string

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_estimate_porting_cost ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_estimate_porting_cost\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-estimate-porting-cost-args-obj-7 ws "}"
whetstone-estimate-porting-cost-args-ambiguity_score-pair-2 ::= "\"ambiguity_score\"" ws ":" ws number
whetstone-estimate-porting-cost-args-lines_of_code-pair-4 ::= "\"lines_of_code\"" ws ":" ws integer
whetstone-estimate-porting-cost-args-obj-7 ::= "{" ws whetstone-estimate-porting-cost-args-pair_id-pair-6 (ws "," ws whetstone-estimate-porting-cost-args-opt-8)* ws "}"
whetstone-estimate-porting-cost-args-opt-8 ::= whetstone-estimate-porting-cost-args-ambiguity_score-pair-2 | whetstone-estimate-porting-cost-args-lines_of_code-pair-4
whetstone-estimate-porting-cost-args-pair_id-pair-6 ::= "\"pair_id\"" ws ":" ws string

View File

@@ -0,0 +1,24 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_execute_rollout_or_rollback ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_execute_rollout_or_rollback\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-execute-rollout-or-rollback-args-obj-13 ws "}"
whetstone-execute-rollout-or-rollback-args-execute_rollback-pair-2 ::= "\"execute_rollback\"" ws ":" ws boolean
whetstone-execute-rollout-or-rollback-args-incident_count-pair-4 ::= "\"incident_count\"" ws ":" ws integer
whetstone-execute-rollout-or-rollback-args-obj-13 ::= "{" ws whetstone-execute-rollout-or-rollback-args-rollout_id-pair-10 (ws "," ws whetstone-execute-rollout-or-rollback-args-opt-14)* ws "}"
whetstone-execute-rollout-or-rollback-args-observed_rollback_minutes-pair-6 ::= "\"observed_rollback_minutes\"" ws ":" ws integer
whetstone-execute-rollout-or-rollback-args-opt-14 ::= whetstone-execute-rollout-or-rollback-args-execute_rollback-pair-2 | whetstone-execute-rollout-or-rollback-args-incident_count-pair-4 | whetstone-execute-rollout-or-rollback-args-observed_rollback_minutes-pair-6 | whetstone-execute-rollout-or-rollback-args-rollback_count-pair-8 | whetstone-execute-rollout-or-rollback-args-success_rate-pair-12
whetstone-execute-rollout-or-rollback-args-rollback_count-pair-8 ::= "\"rollback_count\"" ws ":" ws integer
whetstone-execute-rollout-or-rollback-args-rollout_id-pair-10 ::= "\"rollout_id\"" ws ":" ws string
whetstone-execute-rollout-or-rollback-args-success_rate-pair-12 ::= "\"success_rate\"" ws ":" ws integer

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_execute_task ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_execute_task\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-execute-task-args-obj-3 ws "}"
whetstone-execute-task-args-itemId-pair-2 ::= "\"itemId\"" ws ":" ws string
whetstone-execute-task-args-obj-3 ::= "{" ws whetstone-execute-task-args-itemId-pair-2 ws "}"

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_explain_transpilation_decision ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_explain_transpilation_decision\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-explain-transpilation-decision-args-obj-7 ws "}"
whetstone-explain-transpilation-decision-args-obj-7 ::= "{" ws whetstone-explain-transpilation-decision-args-trace_id-pair-4 (ws "," ws whetstone-explain-transpilation-decision-args-opt-8)* ws "}"
whetstone-explain-transpilation-decision-args-opt-8 ::= whetstone-explain-transpilation-decision-args-policy-pair-2 | whetstone-explain-transpilation-decision-args-uncertainty-pair-6
whetstone-explain-transpilation-decision-args-policy-pair-2 ::= "\"policy\"" ws ":" ws string
whetstone-explain-transpilation-decision-args-trace_id-pair-4 ::= "\"trace_id\"" ws ":" ws string
whetstone-explain-transpilation-decision-args-uncertainty-pair-6 ::= "\"uncertainty\"" ws ":" ws integer

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_export_debug_campaign_bundle ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_export_debug_campaign_bundle\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-export-debug-campaign-bundle-args-obj-3 ws "}"
whetstone-export-debug-campaign-bundle-args-campaign_id-pair-2 ::= "\"campaign_id\"" ws ":" ws string
whetstone-export-debug-campaign-bundle-args-obj-3 ::= "{" ws whetstone-export-debug-campaign-bundle-args-campaign_id-pair-2 ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_export_mcp_replay_pack ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_export_mcp_replay_pack\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,20 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_export_repro_jsonl ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_export_repro_jsonl\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-export-repro-jsonl-args-obj-7 ws "}"
whetstone-export-repro-jsonl-args-obj-7 ::= "{" ws whetstone-export-repro-jsonl-args-packets-pair-4 ws "," ws whetstone-export-repro-jsonl-args-path-pair-6 ws "}"
whetstone-export-repro-jsonl-args-packets-1-arr-3 ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
whetstone-export-repro-jsonl-args-packets-pair-4 ::= "\"packets\"" ws ":" ws whetstone-export-repro-jsonl-args-packets-1-arr-3
whetstone-export-repro-jsonl-args-path-pair-6 ::= "\"path\"" ws ":" ws string

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_export_tool_contracts ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_export_tool_contracts\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_export_tool_manifest ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_export_tool_manifest\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_export_training_data ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_export_training_data\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-export-training-data-args-obj-8 ws "}"
whetstone-export-training-data-args-format-pair-2 ::= "\"format\"" ws ":" ws string
whetstone-export-training-data-args-languages-3-arr-5 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-export-training-data-args-languages-pair-6 ::= "\"languages\"" ws ":" ws whetstone-export-training-data-args-languages-3-arr-5
whetstone-export-training-data-args-obj-8 ::= "{" ws (whetstone-export-training-data-args-opt-7 (ws "," ws whetstone-export-training-data-args-opt-7)*)? ws "}"
whetstone-export-training-data-args-opt-7 ::= whetstone-export-training-data-args-format-pair-2 | whetstone-export-training-data-args-languages-pair-6

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_extract_api_abi_contract ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_extract_api_abi_contract\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_file_create ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_file_create\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-file-create-args-obj-7 ws "}"
whetstone-file-create-args-language-pair-2 ::= "\"language\"" ws ":" ws string
whetstone-file-create-args-obj-7 ::= "{" ws whetstone-file-create-args-path-pair-4 (ws "," ws whetstone-file-create-args-opt-8)* ws "}"
whetstone-file-create-args-opt-8 ::= whetstone-file-create-args-language-pair-2 | whetstone-file-create-args-template-pair-6
whetstone-file-create-args-path-pair-4 ::= "\"path\"" ws ":" ws string
whetstone-file-create-args-template-pair-6 ::= "\"template\"" ws ":" ws string

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_file_diff ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_file_diff\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-file-diff-args-obj-4 ws "}"
whetstone-file-diff-args-obj-4 ::= "{" ws (whetstone-file-diff-args-opt-3 (ws "," ws whetstone-file-diff-args-opt-3)*)? ws "}"
whetstone-file-diff-args-opt-3 ::= whetstone-file-diff-args-path-pair-2
whetstone-file-diff-args-path-pair-2 ::= "\"path\"" ws ":" ws string

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_file_read ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_file_read\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-file-read-args-obj-7 ws "}"
whetstone-file-read-args-endLine-pair-2 ::= "\"endLine\"" ws ":" ws integer
whetstone-file-read-args-obj-7 ::= "{" ws whetstone-file-read-args-path-pair-4 (ws "," ws whetstone-file-read-args-opt-8)* ws "}"
whetstone-file-read-args-opt-8 ::= whetstone-file-read-args-endLine-pair-2 | whetstone-file-read-args-startLine-pair-6
whetstone-file-read-args-path-pair-4 ::= "\"path\"" ws ":" ws string
whetstone-file-read-args-startLine-pair-6 ::= "\"startLine\"" ws ":" ws integer

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_file_write ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_file_write\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-file-write-args-obj-5 ws "}"
whetstone-file-write-args-content-pair-2 ::= "\"content\"" ws ":" ws string
whetstone-file-write-args-obj-5 ::= "{" ws whetstone-file-write-args-content-pair-2 ws "," ws whetstone-file-write-args-path-pair-4 ws "}"
whetstone-file-write-args-path-pair-4 ::= "\"path\"" ws ":" ws string

View File

@@ -0,0 +1,20 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_code ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_code\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-generate-code-args-obj-5 ws "}"
whetstone-generate-code-args-obj-5 ::= "{" ws whetstone-generate-code-args-spec-pair-4 (ws "," ws whetstone-generate-code-args-opt-6)* ws "}"
whetstone-generate-code-args-opt-6 ::= whetstone-generate-code-args-preferImports-pair-2
whetstone-generate-code-args-preferImports-pair-2 ::= "\"preferImports\"" ws ":" ws boolean
whetstone-generate-code-args-spec-pair-4 ::= "\"spec\"" ws ":" ws string

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_cpp_from_ir ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_cpp_from_ir\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-generate-cpp-from-ir-args-obj-7 ws "}"
whetstone-generate-cpp-from-ir-args-ir-pair-2 ::= "\"ir\"" ws ":" ws any-object
whetstone-generate-cpp-from-ir-args-obj-7 ::= "{" ws whetstone-generate-cpp-from-ir-args-ir-pair-2 (ws "," ws whetstone-generate-cpp-from-ir-args-opt-8)* ws "}"
whetstone-generate-cpp-from-ir-args-opt-8 ::= whetstone-generate-cpp-from-ir-args-profile-pair-4 | whetstone-generate-cpp-from-ir-args-projectName-pair-6
whetstone-generate-cpp-from-ir-args-profile-pair-4 ::= "\"profile\"" ws ":" ws string
whetstone-generate-cpp-from-ir-args-projectName-pair-6 ::= "\"projectName\"" ws ":" ws string

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_debug_hints ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_debug_hints\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-generate-debug-hints-args-obj-7 ws "}"
whetstone-generate-debug-hints-args-context-1-arr-3 ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
whetstone-generate-debug-hints-args-context-pair-4 ::= "\"context\"" ws ":" ws whetstone-generate-debug-hints-args-context-1-arr-3
whetstone-generate-debug-hints-args-failure_class-pair-6 ::= "\"failure_class\"" ws ":" ws string
whetstone-generate-debug-hints-args-obj-7 ::= "{" ws whetstone-generate-debug-hints-args-failure_class-pair-6 (ws "," ws whetstone-generate-debug-hints-args-opt-8)* ws "}"
whetstone-generate-debug-hints-args-opt-8 ::= whetstone-generate-debug-hints-args-context-pair-4

View File

@@ -0,0 +1,26 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_dispatch_table ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_dispatch_table\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-generate-dispatch-table-args-obj-17 ws "}"
whetstone-generate-dispatch-table-args-entries-1-arr-15 ::= "[" ws (whetstone-generate-dispatch-table-args-entries-1-item-2-obj-13 (ws "," ws whetstone-generate-dispatch-table-args-entries-1-item-2-obj-13)*)? ws "]"
whetstone-generate-dispatch-table-args-entries-1-item-2-executor-pair-4 ::= "\"executor\"" ws ":" ws string
whetstone-generate-dispatch-table-args-entries-1-item-2-job_type-pair-6 ::= "\"job_type\"" ws ":" ws string
whetstone-generate-dispatch-table-args-entries-1-item-2-obj-13 ::= "{" ws whetstone-generate-dispatch-table-args-entries-1-item-2-executor-pair-4 ws "," ws whetstone-generate-dispatch-table-args-entries-1-item-2-job_type-pair-6 (ws "," ws whetstone-generate-dispatch-table-args-entries-1-item-2-opt-14)* ws "}"
whetstone-generate-dispatch-table-args-entries-1-item-2-opt-14 ::= whetstone-generate-dispatch-table-args-entries-1-item-2-payload_type-pair-8 | whetstone-generate-dispatch-table-args-entries-1-item-2-required_caps-pair-12
whetstone-generate-dispatch-table-args-entries-1-item-2-payload_type-pair-8 ::= "\"payload_type\"" ws ":" ws string
whetstone-generate-dispatch-table-args-entries-1-item-2-required_caps-9-arr-11 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-generate-dispatch-table-args-entries-1-item-2-required_caps-pair-12 ::= "\"required_caps\"" ws ":" ws whetstone-generate-dispatch-table-args-entries-1-item-2-required_caps-9-arr-11
whetstone-generate-dispatch-table-args-entries-pair-16 ::= "\"entries\"" ws ":" ws whetstone-generate-dispatch-table-args-entries-1-arr-15
whetstone-generate-dispatch-table-args-obj-17 ::= "{" ws whetstone-generate-dispatch-table-args-entries-pair-16 ws "}"

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_examples ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_examples\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-generate-examples-args-obj-5 ws "}"
whetstone-generate-examples-args-language-pair-2 ::= "\"language\"" ws ":" ws string
whetstone-generate-examples-args-obj-5 ::= "{" ws whetstone-generate-examples-args-language-pair-2 ws "," ws whetstone-generate-examples-args-source-pair-4 ws "}"
whetstone-generate-examples-args-source-pair-4 ::= "\"source\"" ws ":" ws string

View File

@@ -0,0 +1,23 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_inference_job ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_inference_job\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-generate-inference-job-args-obj-11 ws "}"
whetstone-generate-inference-job-args-bounty-pair-2 ::= "\"bounty\"" ws ":" ws string
whetstone-generate-inference-job-args-entropy_score-pair-4 ::= "\"entropy_score\"" ws ":" ws integer
whetstone-generate-inference-job-args-files-5-arr-7 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-generate-inference-job-args-files-pair-8 ::= "\"files\"" ws ":" ws whetstone-generate-inference-job-args-files-5-arr-7
whetstone-generate-inference-job-args-goal-pair-10 ::= "\"goal\"" ws ":" ws string
whetstone-generate-inference-job-args-obj-11 ::= "{" ws whetstone-generate-inference-job-args-entropy_score-pair-4 ws "," ws whetstone-generate-inference-job-args-files-pair-8 ws "," ws whetstone-generate-inference-job-args-goal-pair-10 (ws "," ws whetstone-generate-inference-job-args-opt-12)* ws "}"
whetstone-generate-inference-job-args-opt-12 ::= whetstone-generate-inference-job-args-bounty-pair-2

View File

@@ -0,0 +1,22 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_localized_migration_report ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_localized_migration_report\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-generate-localized-migration-report-args-obj-9 ws "}"
whetstone-generate-localized-migration-report-args-locale-pair-2 ::= "\"locale\"" ws ":" ws string
whetstone-generate-localized-migration-report-args-obj-9 ::= "{" ws whetstone-generate-localized-migration-report-args-report_id-pair-4 (ws "," ws whetstone-generate-localized-migration-report-args-opt-10)* ws "}"
whetstone-generate-localized-migration-report-args-opt-10 ::= whetstone-generate-localized-migration-report-args-locale-pair-2 | whetstone-generate-localized-migration-report-args-source_region-pair-6 | whetstone-generate-localized-migration-report-args-target_region-pair-8
whetstone-generate-localized-migration-report-args-report_id-pair-4 ::= "\"report_id\"" ws ":" ws string
whetstone-generate-localized-migration-report-args-source_region-pair-6 ::= "\"source_region\"" ws ":" ws string
whetstone-generate-localized-migration-report-args-target_region-pair-8 ::= "\"target_region\"" ws ":" ws string

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_patch_candidates ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_patch_candidates\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,22 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_project ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_project\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-generate-project-args-obj-9 ws "}"
whetstone-generate-project-args-dependencies-1-arr-3 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-generate-project-args-dependencies-pair-4 ::= "\"dependencies\"" ws ":" ws whetstone-generate-project-args-dependencies-1-arr-3
whetstone-generate-project-args-description-pair-6 ::= "\"description\"" ws ":" ws string
whetstone-generate-project-args-name-pair-8 ::= "\"name\"" ws ":" ws string
whetstone-generate-project-args-obj-9 ::= "{" ws whetstone-generate-project-args-description-pair-6 ws "," ws whetstone-generate-project-args-name-pair-8 (ws "," ws whetstone-generate-project-args-opt-10)* ws "}"
whetstone-generate-project-args-opt-10 ::= whetstone-generate-project-args-dependencies-pair-4

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_safety_case ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_safety_case\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-generate-safety-case-args-obj-7 ws "}"
whetstone-generate-safety-case-args-case_id-pair-2 ::= "\"case_id\"" ws ":" ws string
whetstone-generate-safety-case-args-claim_count-pair-4 ::= "\"claim_count\"" ws ":" ws integer
whetstone-generate-safety-case-args-evidence_count-pair-6 ::= "\"evidence_count\"" ws ":" ws integer
whetstone-generate-safety-case-args-obj-7 ::= "{" ws whetstone-generate-safety-case-args-case_id-pair-2 (ws "," ws whetstone-generate-safety-case-args-opt-8)* ws "}"
whetstone-generate-safety-case-args-opt-8 ::= whetstone-generate-safety-case-args-claim_count-pair-4 | whetstone-generate-safety-case-args-evidence_count-pair-6

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_setup_script ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_setup_script\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,22 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_generate_taskitems ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_generate_taskitems\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-generate-taskitems-args-obj-9 ws "}"
whetstone-generate-taskitems-args-conflicts-1-arr-3 ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
whetstone-generate-taskitems-args-conflicts-pair-4 ::= "\"conflicts\"" ws ":" ws whetstone-generate-taskitems-args-conflicts-1-arr-3
whetstone-generate-taskitems-args-normalizedRequirements-5-arr-7 ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
whetstone-generate-taskitems-args-normalizedRequirements-pair-8 ::= "\"normalizedRequirements\"" ws ":" ws whetstone-generate-taskitems-args-normalizedRequirements-5-arr-7
whetstone-generate-taskitems-args-obj-9 ::= "{" ws whetstone-generate-taskitems-args-normalizedRequirements-pair-8 (ws "," ws whetstone-generate-taskitems-args-opt-10)* ws "}"
whetstone-generate-taskitems-args-opt-10 ::= whetstone-generate-taskitems-args-conflicts-pair-4

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_adapter_hints ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_adapter_hints\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-adapter-hints-args-obj-7 ws "}"
whetstone-get-adapter-hints-args-features-1-arr-3 ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
whetstone-get-adapter-hints-args-features-pair-4 ::= "\"features\"" ws ":" ws whetstone-get-adapter-hints-args-features-1-arr-3
whetstone-get-adapter-hints-args-obj-7 ::= "{" ws whetstone-get-adapter-hints-args-pair_id-pair-6 (ws "," ws whetstone-get-adapter-hints-args-opt-8)* ws "}"
whetstone-get-adapter-hints-args-opt-8 ::= whetstone-get-adapter-hints-args-features-pair-4
whetstone-get-adapter-hints-args-pair_id-pair-6 ::= "\"pair_id\"" ws ":" ws string

View File

@@ -0,0 +1,21 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_api_semantics ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_api_semantics\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-api-semantics-args-obj-7 ws "}"
whetstone-get-api-semantics-args-api_id-pair-2 ::= "\"api_id\"" ws ":" ws string
whetstone-get-api-semantics-args-framework-pair-4 ::= "\"framework\"" ws ":" ws string
whetstone-get-api-semantics-args-obj-7 ::= "{" ws whetstone-get-api-semantics-args-api_id-pair-2 (ws "," ws whetstone-get-api-semantics-args-opt-8)* ws "}"
whetstone-get-api-semantics-args-opt-8 ::= whetstone-get-api-semantics-args-framework-pair-4 | whetstone-get-api-semantics-args-version-pair-6
whetstone-get-api-semantics-args-version-pair-6 ::= "\"version\"" ws ":" ws string

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_artifact_trust_report ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_artifact_trust_report\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-artifact-trust-report-args-obj-3 ws "}"
whetstone-get-artifact-trust-report-args-artifact_id-pair-2 ::= "\"artifact_id\"" ws ":" ws string
whetstone-get-artifact-trust-report-args-obj-3 ::= "{" ws whetstone-get-artifact-trust-report-args-artifact_id-pair-2 ws "}"

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_ast ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_ast\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-ast-args-obj-4 ws "}"
whetstone-get-ast-args-compact-pair-2 ::= "\"compact\"" ws ":" ws boolean
whetstone-get-ast-args-obj-4 ::= "{" ws (whetstone-get-ast-args-opt-3 (ws "," ws whetstone-get-ast-args-opt-3)*)? ws "}"
whetstone-get-ast-args-opt-3 ::= whetstone-get-ast-args-compact-pair-2

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_ast_diff ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_ast_diff\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-ast-diff-args-obj-3 ws "}"
whetstone-get-ast-diff-args-obj-3 ::= "{" ws whetstone-get-ast-diff-args-sinceVersion-pair-2 ws "}"
whetstone-get-ast-diff-args-sinceVersion-pair-2 ::= "\"sinceVersion\"" ws ":" ws integer

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_ast_subtree ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_ast_subtree\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-ast-subtree-args-obj-3 ws "}"
whetstone-get-ast-subtree-args-nodeId-pair-2 ::= "\"nodeId\"" ws ":" ws string
whetstone-get-ast-subtree-args-obj-3 ::= "{" ws whetstone-get-ast-subtree-args-nodeId-pair-2 ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_authoring_mode ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_authoring_mode\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_blockers ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_blockers\"" ws "," ws "\"arguments\"" ws ":" ws any-object ws "}"

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_call_hierarchy ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_call_hierarchy\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-call-hierarchy-args-obj-3 ws "}"
whetstone-get-call-hierarchy-args-functionId-pair-2 ::= "\"functionId\"" ws ":" ws string
whetstone-get-call-hierarchy-args-obj-3 ::= "{" ws whetstone-get-call-hierarchy-args-functionId-pair-2 ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_century_status ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_century_status\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_certification_status ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_certification_status\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-certification-status-args-obj-4 ws "}"
whetstone-get-certification-status-args-obj-4 ::= "{" ws (whetstone-get-certification-status-args-opt-3 (ws "," ws whetstone-get-certification-status-args-opt-3)*)? ws "}"
whetstone-get-certification-status-args-opt-3 ::= whetstone-get-certification-status-args-pair_id-pair-2
whetstone-get-certification-status-args-pair_id-pair-2 ::= "\"pair_id\"" ws ":" ws string

View File

@@ -0,0 +1,23 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_compliance_evidence ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_compliance_evidence\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-compliance-evidence-args-obj-11 ws "}"
whetstone-get-compliance-evidence-args-domain-pair-2 ::= "\"domain\"" ws ":" ws string
whetstone-get-compliance-evidence-args-obj-11 ::= "{" ws whetstone-get-compliance-evidence-args-domain-pair-2 (ws "," ws whetstone-get-compliance-evidence-args-opt-12)* ws "}"
whetstone-get-compliance-evidence-args-observed_events-3-arr-5 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-get-compliance-evidence-args-observed_events-pair-6 ::= "\"observed_events\"" ws ":" ws whetstone-get-compliance-evidence-args-observed_events-3-arr-5
whetstone-get-compliance-evidence-args-opt-12 ::= whetstone-get-compliance-evidence-args-observed_events-pair-6 | whetstone-get-compliance-evidence-args-required_events-pair-10
whetstone-get-compliance-evidence-args-required_events-7-arr-9 ::= "[" ws (string (ws "," ws string)*)? ws "]"
whetstone-get-compliance-evidence-args-required_events-pair-10 ::= "\"required_events\"" ws ":" ws whetstone-get-compliance-evidence-args-required_events-7-arr-9

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_constructive_rollout_status ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_constructive_rollout_status\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_constructive_status ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_constructive_status\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_cpp_constructive_status ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_cpp_constructive_status\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,16 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_debt_inventory ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_debt_inventory\"" ws "," ws "\"arguments\"" ws ":" ws any-value ws "}"

View File

@@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_debug_campaign_status ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_debug_campaign_status\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-debug-campaign-status-args-obj-3 ws "}"
whetstone-get-debug-campaign-status-args-campaign_id-pair-2 ::= "\"campaign_id\"" ws ":" ws string
whetstone-get-debug-campaign-status-args-obj-3 ::= "{" ws whetstone-get-debug-campaign-status-args-campaign_id-pair-2 ws "}"

View File

@@ -0,0 +1,20 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_debug_checklist ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_debug_checklist\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-debug-checklist-args-obj-6 ws "}"
whetstone-get-debug-checklist-args-failure_class-pair-2 ::= "\"failure_class\"" ws ":" ws string
whetstone-get-debug-checklist-args-obj-6 ::= "{" ws (whetstone-get-debug-checklist-args-opt-5 (ws "," ws whetstone-get-debug-checklist-args-opt-5)*)? ws "}"
whetstone-get-debug-checklist-args-opt-5 ::= whetstone-get-debug-checklist-args-failure_class-pair-2 | whetstone-get-debug-checklist-args-session_id-pair-4
whetstone-get-debug-checklist-args-session_id-pair-4 ::= "\"session_id\"" ws ":" ws string

View File

@@ -0,0 +1,19 @@
# ---------------------------------------------------------------------------
# JSON primitives
# ---------------------------------------------------------------------------
ws ::= [ \t\n\r]*
string ::= "\"" ([^"\\\x7F\x00-\x1F] | "\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]))* "\""
number ::= "-"? ([0-9] | [1-9] [0-9]*) ("." [0-9]+)? ([eE] [-+]? [0-9]+)?
integer ::= "-"? ([0-9] | [1-9] [0-9]*)
boolean ::= "true" | "false"
null ::= "null"
any-value ::= string | number | boolean | null | any-object | any-array
any-object ::= "{" ws (string ws ":" ws any-value (ws "," ws string ws ":" ws any-value)*)? ws "}"
any-array ::= "[" ws (any-value (ws "," ws any-value)*)? ws "]"
# --- whetstone_get_debug_constraints ---
root ::= "{" ws "\"tool\"" ws ":" ws "\"whetstone_get_debug_constraints\"" ws "," ws "\"arguments\"" ws ":" ws whetstone-get-debug-constraints-args-obj-4 ws "}"
whetstone-get-debug-constraints-args-mode-pair-2 ::= "\"mode\"" ws ":" ws string
whetstone-get-debug-constraints-args-obj-4 ::= "{" ws (whetstone-get-debug-constraints-args-opt-3 (ws "," ws whetstone-get-debug-constraints-args-opt-3)*)? ws "}"
whetstone-get-debug-constraints-args-opt-3 ::= whetstone-get-debug-constraints-args-mode-pair-2

Some files were not shown because too many files have changed in this diff Show More