@huaqiu/hqeda 0.1.1 → 0.1.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/dist/index.js CHANGED
@@ -11,23 +11,6 @@ function registerSkill(skill) {
11
11
  return skill;
12
12
  }
13
13
 
14
- // generated/ai/execute-prompt.ts
15
- import { HqServicesV1AiService } from "@hqedge/connect";
16
- var ExecutePromptSkill = defineSkill({
17
- id: "ai-execute-prompt",
18
- title: "Execute Prompt",
19
- description: "Execute Prompt via AIService.ExecutePrompt",
20
- domain: "ai",
21
- service: "AIService",
22
- method: "ExecutePrompt",
23
- isStreaming: false,
24
- inputSchema: HqServicesV1AiService.AIRequestSchema,
25
- async execute(ctx, input) {
26
- return await ctx.client.ai.executePrompt(input);
27
- }
28
- });
29
- registerSkill(ExecutePromptSkill);
30
-
31
14
  // generated/bom/get-bom.ts
32
15
  import { HqFabV1GetEdaBom } from "@hqedge/connect";
33
16
  var GetBomSkill = defineSkill({
@@ -1883,7 +1866,6 @@ registerSkill(UndoSkill);
1883
1866
 
1884
1867
  // generated/index.ts
1885
1868
  var SKILLS = {
1886
- "ai-execute-prompt": ExecutePromptSkill,
1887
1869
  "bom-get-bom": GetBomSkill,
1888
1870
  "canvas-align-objects": AlignObjectsSkill,
1889
1871
  "canvas-can-paste": CanPasteSkill,
@@ -2000,9 +1982,14 @@ function listSkills() {
2000
1982
  function getSkill(id) {
2001
1983
  return SKILLS[id];
2002
1984
  }
1985
+
1986
+ // src/index.ts
1987
+ import { toJson, toJsonString } from "@huaqiu/huaqiu-client";
2003
1988
  export {
2004
1989
  SKILLS,
2005
1990
  getSkill,
2006
- listSkills
1991
+ listSkills,
1992
+ toJson,
1993
+ toJsonString
2007
1994
  };
2008
1995
  //# sourceMappingURL=index.js.map