neotoma 0.4.2 → 0.4.3
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/README.md +29 -0
- package/dist/openclaw_entry.d.ts +45 -0
- package/dist/openclaw_entry.d.ts.map +1 -0
- package/dist/openclaw_entry.js +75 -0
- package/dist/openclaw_entry.js.map +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +8 -744
- package/dist/server.js.map +1 -1
- package/dist/tool_definitions.d.ts +22 -0
- package/dist/tool_definitions.d.ts.map +1 -0
- package/dist/tool_definitions.js +747 -0
- package/dist/tool_definitions.js.map +1 -0
- package/openclaw.plugin.json +87 -0
- package/package.json +16 -1
- package/skills/query-memory/SKILL.md +67 -0
- package/skills/recover-sqlite-database/SKILL.md +46 -0
- package/skills/store-data/SKILL.md +58 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type ToolInputSchema = Record<string, unknown>;
|
|
2
|
+
export interface ToolDefinition {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
inputSchema: ToolInputSchema;
|
|
6
|
+
annotations?: Record<string, unknown>;
|
|
7
|
+
_meta?: Record<string, unknown>;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Build the complete list of Neotoma MCP tool definitions.
|
|
11
|
+
*
|
|
12
|
+
* @param descriptionOverrides - Optional map of tool name -> description that
|
|
13
|
+
* takes precedence over the hardcoded defaults (used by the MCP server to
|
|
14
|
+
* allow runtime description customization).
|
|
15
|
+
* @param timelineWidgetResourceUri - Optional resource URI for the timeline
|
|
16
|
+
* widget, attached as _meta on list_timeline_events.
|
|
17
|
+
*/
|
|
18
|
+
export declare function buildToolDefinitions(descriptionOverrides?: Map<string, string>, timelineWidgetResourceUri?: string): ToolDefinition[];
|
|
19
|
+
/** All tool names that Neotoma registers. */
|
|
20
|
+
export declare const NEOTOMA_TOOL_NAMES: readonly ["retrieve_file_url", "retrieve_entity_snapshot", "list_observations", "retrieve_field_provenance", "create_relationship", "list_relationships", "get_relationship_snapshot", "retrieve_entities", "list_timeline_events", "retrieve_entity_by_identifier", "retrieve_related_entities", "retrieve_graph_neighborhood", "store", "store_structured", "store_unstructured", "parse_file", "correct", "merge_entities", "delete_entity", "delete_relationship", "restore_entity", "restore_relationship", "get_entity_type_counts", "list_entity_types", "analyze_schema_candidates", "get_schema_recommendations", "update_schema_incremental", "register_schema", "get_authenticated_user", "health_check_snapshots", "npm_check_update"];
|
|
21
|
+
export type NeotomaToolName = (typeof NEOTOMA_TOOL_NAMES)[number];
|
|
22
|
+
//# sourceMappingURL=tool_definitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool_definitions.d.ts","sourceRoot":"","sources":["../src/tool_definitions.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,eAAe,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC;AAaD;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,oBAAoB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC1C,yBAAyB,CAAC,EAAE,MAAM,GACjC,cAAc,EAAE,CAgyBlB;AAED,6CAA6C;AAC7C,eAAO,MAAM,kBAAkB,otBAgCrB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|