@bendyline/gezel-mcp 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +16 -1
- package/dist/index.js +15 -2
- package/dist/server.js +2046 -1070
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export { BranchPrioritizedPulls, PullWithHeadRef, prioritizePullsForCurrentBranc
|
|
|
20
20
|
* whose names come from the applied type's manifest, not from this frozen
|
|
21
21
|
* contract. Registration guards them against colliding with these names.
|
|
22
22
|
*/
|
|
23
|
-
declare const ALWAYS_REGISTERED_TOOLS: readonly ["search_memory", "save_memory", "list_memories", "list_dir", "read_file", "read_files", "stat", "write_file", "append_to_file", "replace_in_file", "replace_lines", "apply_patch", "insert_at_marker", "delete_path", "make_dir", "rename", "copy_artifact_to_workspace", "validate", "npm_install", "list_package_scripts", "run_package_script", "run_npx", "run_nodejs_script", "derive_file", "list_packages", "run_playwright_script", "list_artifacts", "read_artifact", "write_artifact", "grep_artifact", "browser_find_page_element", "list_documents", "read_document", "write_document", "delete_document", "search_documents", "list_gezels", "create_gezel", "list_gilde", "list_project_types", "apply_project_type", "start_project_from_type", "
|
|
23
|
+
declare const ALWAYS_REGISTERED_TOOLS: readonly ["search_memory", "save_memory", "list_memories", "list_dir", "read_file", "read_files", "stat", "write_file", "append_to_file", "replace_in_file", "replace_lines", "apply_patch", "insert_at_marker", "delete_path", "make_dir", "rename", "copy_artifact_to_workspace", "validate", "npm_install", "list_package_scripts", "run_package_script", "run_npx", "run_nodejs_script", "derive_file", "list_packages", "run_playwright_script", "list_artifacts", "read_artifact", "write_artifact", "grep_artifact", "browser_find_page_element", "list_documents", "read_document", "write_document", "delete_document", "search_documents", "list_gezels", "create_gezel", "list_gilde", "list_project_types", "apply_project_type", "start_project_from_type", "export_ai_app", "import_ai_app", "ensure_gezel", "update_gezel", "message_gezel", "ask_gezel", "ask_specialist", "delegate_developer", "consult_developer", "delegate_designer", "consult_designer", "delegate_reviewer", "consult_reviewer", "delegate_planner", "consult_planner", "delegate_researcher", "consult_researcher", "delegate_builder", "consult_builder", "delegate_writer", "consult_writer", "delegate_image_generator", "consult_image_generator", "delegate_voorman", "consult_voorman", "delegate_meester", "consult_meester", "ask_user_question", "list_projects", "start_project", "fetch_repo", "fetch_diff", "update_project", "list_project_gezels", "add_gezel_to_project", "remove_gezel_from_project", "list_suggested_work", "enable_suggested_work", "disable_suggested_work", "list_tasks", "get_task", "create_task", "start_plan", "update_task", "set_outcomes", "verify_outcome", "add_verification_step", "spawn_task_instances", "list_task_children", "set_task_status", "activate_task", "assign_task", "add_task_step", "advance_task_step", "read_task_notes", "write_task_note", "search_history", "search_sessions", "how_do_i", "render_image", "generate_image", "describe_image", "read_image_metadata", "generate_video", "transcribe_audio", "synthesize_speech", "fetch_url", "web_search", "wikipedia_search", "wikipedia_read", "search", "grep_files", "find_files", "diff_files", "read_image_as_base64", "outline_file", "find_symbol", "read_symbol", "find_references", "map_repo", "search_code", "file_review", "list_file_issues", "get_file_issue", "set_file_issue_status", "security_scan", "security_overview", "scan_findings", "map_attack_surface", "list_dependencies", "trace_taint", "search_docs", "read_doc_as_markdown", "search_images", "find_similar_images", "describe_folder", "find_entity", "list_entity_mentions", "list_archive", "extract_archive", "run_git", "list_scripts", "run_installed_script", "get_script_run", "list_craftbooks", "suggest_craftbook", "invoke_craftbook", "import_skill", "craftbook_read", "craftbook_write", "craftbook_add_step", "set_step_deliverable", "craftbook_remove_step", "craftbook_reorder_steps", "craftbook_set_entry", "craftbook_update", "export_task_craftbook", "github_pr_list", "github_pr_view", "github_pr_files", "github_pr_file", "github_pr_diff", "github_pr_comments", "github_pr_comment", "github_pr_create", "github_workflow_runs", "github_check_status"];
|
|
24
24
|
/**
|
|
25
25
|
* Tools registered only when their feature or session-context gate is set
|
|
26
26
|
* in the env. Keep contextual/compatibility tools here so inventory users
|
|
@@ -62,6 +62,21 @@ declare const CONDITIONALLY_REGISTERED_TOOLS: {
|
|
|
62
62
|
readonly envValue: "1";
|
|
63
63
|
readonly modelFacing: false;
|
|
64
64
|
};
|
|
65
|
+
readonly list_tables: {
|
|
66
|
+
readonly envVar: "GEZEL_TABLES_ENABLED";
|
|
67
|
+
readonly envValue: "1";
|
|
68
|
+
readonly modelFacing: true;
|
|
69
|
+
};
|
|
70
|
+
readonly describe_table: {
|
|
71
|
+
readonly envVar: "GEZEL_TABLES_ENABLED";
|
|
72
|
+
readonly envValue: "1";
|
|
73
|
+
readonly modelFacing: true;
|
|
74
|
+
};
|
|
75
|
+
readonly query_table: {
|
|
76
|
+
readonly envVar: "GEZEL_TABLES_ENABLED";
|
|
77
|
+
readonly envValue: "1";
|
|
78
|
+
readonly modelFacing: true;
|
|
79
|
+
};
|
|
65
80
|
readonly draft_email: {
|
|
66
81
|
readonly envVar: "GEZEL_MAIL_ENABLED";
|
|
67
82
|
readonly envValue: "1";
|
package/dist/index.js
CHANGED
|
@@ -50,8 +50,8 @@ var ALWAYS_REGISTERED_TOOLS = [
|
|
|
50
50
|
"list_project_types",
|
|
51
51
|
"apply_project_type",
|
|
52
52
|
"start_project_from_type",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
53
|
+
"export_ai_app",
|
|
54
|
+
"import_ai_app",
|
|
55
55
|
"ensure_gezel",
|
|
56
56
|
"update_gezel",
|
|
57
57
|
"message_gezel",
|
|
@@ -131,7 +131,9 @@ var ALWAYS_REGISTERED_TOOLS = [
|
|
|
131
131
|
"fetch_url",
|
|
132
132
|
"web_search",
|
|
133
133
|
"wikipedia_search",
|
|
134
|
+
"wikipedia_read",
|
|
134
135
|
// Search / files
|
|
136
|
+
"search",
|
|
135
137
|
"grep_files",
|
|
136
138
|
"find_files",
|
|
137
139
|
"diff_files",
|
|
@@ -238,6 +240,14 @@ var CONDITIONALLY_REGISTERED_TOOLS = {
|
|
|
238
240
|
envValue: "1",
|
|
239
241
|
modelFacing: false
|
|
240
242
|
},
|
|
243
|
+
// Observation-table tools — registered only for projects that actually hold
|
|
244
|
+
// a tabular corpus (the chat manager sets GEZEL_TABLES_ENABLED after a
|
|
245
|
+
// directory probe). The tool listing is injected into every system prompt,
|
|
246
|
+
// so three tools a project can never use are pure prompt cost at depth —
|
|
247
|
+
// and a model that sees a tool tends to reach for it.
|
|
248
|
+
list_tables: { envVar: "GEZEL_TABLES_ENABLED", envValue: "1", modelFacing: true },
|
|
249
|
+
describe_table: { envVar: "GEZEL_TABLES_ENABLED", envValue: "1", modelFacing: true },
|
|
250
|
+
query_table: { envVar: "GEZEL_TABLES_ENABLED", envValue: "1", modelFacing: true },
|
|
241
251
|
// Email write tools — registered only for mail-enabled projects (the chat
|
|
242
252
|
// manager sets GEZEL_MAIL_ENABLED when project.mail is configured).
|
|
243
253
|
draft_email: { envVar: "GEZEL_MAIL_ENABLED", envValue: "1", modelFacing: true },
|
|
@@ -256,6 +266,9 @@ var CONDITIONALLY_REGISTERED_TOOLS = {
|
|
|
256
266
|
modelFacing: true
|
|
257
267
|
}
|
|
258
268
|
};
|
|
269
|
+
var HOST_CALLBACK_TOOLS = Object.freeze(
|
|
270
|
+
/* @__PURE__ */ new Set(["request_tool_permission"])
|
|
271
|
+
);
|
|
259
272
|
var RENAMED_TOOLS = {
|
|
260
273
|
readdir: "list_dir",
|
|
261
274
|
readFile: "read_file",
|