@dain-os/mcp-server 0.9.0 → 0.9.1
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/tools/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { ToolDefinition } from './types.js';
|
|
2
2
|
export { genericTools } from './generic.js';
|
|
3
3
|
export { semanticTools } from './semantic/index.js';
|
|
4
|
+
export { libraryTools } from './library.js';
|
|
4
5
|
export type { ToolDefinition };
|
|
5
6
|
/**
|
|
6
7
|
* All tools exposed by the DainOS MCP server.
|
|
7
8
|
*
|
|
8
9
|
* 3 generic tools (describe_schema, query, mutate) replace ~36 thin CRUD tools.
|
|
9
10
|
* ~17 semantic tools carry real business logic and keep their named interfaces.
|
|
11
|
+
* 4 library tools manage the instruction library (list, get, search, upsert).
|
|
10
12
|
*/
|
|
11
13
|
export declare const allTools: ToolDefinition[];
|
|
12
14
|
/** Look up a tool by its exposed name. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAKjD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,EAAE,cAAc,EAIpC,CAAC;AAEF,0CAA0C;AAC1C,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAEhE"}
|
package/dist/tools/index.js
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { genericTools } from './generic.js';
|
|
2
2
|
import { semanticTools } from './semantic/index.js';
|
|
3
|
+
import { libraryTools } from './library.js';
|
|
3
4
|
export { genericTools } from './generic.js';
|
|
4
5
|
export { semanticTools } from './semantic/index.js';
|
|
6
|
+
export { libraryTools } from './library.js';
|
|
5
7
|
/**
|
|
6
8
|
* All tools exposed by the DainOS MCP server.
|
|
7
9
|
*
|
|
8
10
|
* 3 generic tools (describe_schema, query, mutate) replace ~36 thin CRUD tools.
|
|
9
11
|
* ~17 semantic tools carry real business logic and keep their named interfaces.
|
|
12
|
+
* 4 library tools manage the instruction library (list, get, search, upsert).
|
|
10
13
|
*/
|
|
11
14
|
export const allTools = [
|
|
12
15
|
...genericTools,
|
|
13
16
|
...semanticTools,
|
|
17
|
+
...libraryTools,
|
|
14
18
|
];
|
|
15
19
|
/** Look up a tool by its exposed name. */
|
|
16
20
|
export function getTool(name) {
|
package/dist/tools/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAG5C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAqB;IACxC,GAAG,YAAY;IACf,GAAG,aAAa;IAChB,GAAG,YAAY;CAChB,CAAC;AAEF,0CAA0C;AAC1C,MAAM,UAAU,OAAO,CAAC,IAAY;IAClC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AACrD,CAAC"}
|
package/package.json
CHANGED