earthsdk3 3.7.0-beta.1 → 3.7.0-beta.12
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/earthsdk3.iife.js +47 -43
- package/dist/earthsdk3.js +1055 -956
- package/dist/earthsdk3.umd.cjs +28 -28
- package/dist/types/ESMCPTools/ESMCPClient.d.ts +20 -0
- package/dist/types/ESMCPTools/ESMCPClient.d.ts.map +1 -0
- package/dist/types/ESMCPTools/index.d.ts +3 -0
- package/dist/types/ESMCPTools/index.d.ts.map +1 -0
- package/dist/types/ESMCPTools/tools/getCameraTools.d.ts +4 -0
- package/dist/types/ESMCPTools/tools/getCameraTools.d.ts.map +1 -0
- package/dist/types/ESMCPTools/tools/getSceneObjectTools.d.ts +4 -0
- package/dist/types/ESMCPTools/tools/getSceneObjectTools.d.ts.map +1 -0
- package/dist/types/ESMCPTools/tools/index.d.ts +3 -0
- package/dist/types/ESMCPTools/tools/index.d.ts.map +1 -0
- package/dist/types/ESMCPTools/types/CallToolResultSchema.d.ts +2478 -0
- package/dist/types/ESMCPTools/types/CallToolResultSchema.d.ts.map +1 -0
- package/dist/types/ESMCPTools/types/index.d.ts +34 -0
- package/dist/types/ESMCPTools/types/index.d.ts.map +1 -0
- package/dist/types/ESObjectManager/index.d.ts +23 -0
- package/dist/types/ESObjectManager/index.d.ts.map +1 -1
- package/dist/types/ESObjects/base/ESSceneObject/index.d.ts +5 -1
- package/dist/types/ESObjects/base/ESSceneObject/index.d.ts.map +1 -1
- package/dist/types/ESViewer/ESViewer.d.ts +4 -0
- package/dist/types/ESViewer/ESViewer.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/utils/SceneTrees/SceneTree.d.ts +8 -0
- package/dist/types/utils/SceneTrees/SceneTree.d.ts.map +1 -1
- package/dist/types/utils/SceneTrees/SceneTreeItem.d.ts +4 -0
- package/dist/types/utils/SceneTrees/SceneTreeItem.d.ts.map +1 -1
- package/package.json +6 -3
- package/dist/types/utils/geoPolylineToBezierSpline/bezierSpline/lib/spline.d.ts +0 -62
- package/dist/types/xbsj-base/xr-utils/gif/gifuct-js/index.d.ts +0 -101
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Destroyable } from "../xbsj-base";
|
|
2
|
+
import { CallToolResult, ESMCPTool, Tool, ToolCallParams } from "./types";
|
|
3
|
+
type ToolGroup = Map<string, Tool>;
|
|
4
|
+
export declare class ESMCPClient extends Destroyable {
|
|
5
|
+
private _tools;
|
|
6
|
+
_getMcpTool(tool: Tool): ESMCPTool;
|
|
7
|
+
listTools(): ESMCPTool[];
|
|
8
|
+
groupTools(): {
|
|
9
|
+
group: string;
|
|
10
|
+
tools: ESMCPTool[];
|
|
11
|
+
}[];
|
|
12
|
+
_getGroup(groupName: string): ToolGroup;
|
|
13
|
+
_getTool(name: string): Tool | undefined;
|
|
14
|
+
_registerTool(tool: Tool, groupName?: string): void;
|
|
15
|
+
_registerTools(tools: Tool[], groupName?: string): void;
|
|
16
|
+
callTool(params: ToolCallParams): Promise<CallToolResult>;
|
|
17
|
+
constructor();
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=ESMCPClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ESMCPClient.d.ts","sourceRoot":"","sources":["../../../src/ESMCPTools/ESMCPClient.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC1E,KAAK,SAAS,GAAG,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAGnC,qBAAa,WAAY,SAAQ,WAAW;IACxC,OAAO,CAAC,MAAM,CAAsB;IAEpC,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS;IAQlC,SAAS;IAOT,UAAU;;;;IAKV,SAAS,CAAC,SAAS,EAAE,MAAM,GAKc,SAAS;IAGlD,QAAQ,CAAC,IAAI,EAAE,MAAM;IAUrB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,GAAE,MAAkB;IAiBvD,cAAc,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,SAAS,GAAE,MAAkB;IAIrD,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;;CAuBlE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ESMCPTools/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCameraTools.d.ts","sourceRoot":"","sources":["../../../../src/ESMCPTools/tools/getCameraTools.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,eAAO,MAAM,cAAc,GAAI,MAAM,gBAAgB,KAAG,IAAI,EAoH3D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSceneObjectTools.d.ts","sourceRoot":"","sources":["../../../../src/ESMCPTools/tools/getSceneObjectTools.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,eAAO,MAAM,mBAAmB,GAAI,MAAM,gBAAgB,KAAG,IAAI,EA+IhE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ESMCPTools/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC"}
|