@opensumi/ide-ai-native 3.8.3-next-1746692106.0 → 3.8.3-next-1746759545.0

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.
@@ -19,7 +19,7 @@ let RunTerminalCommandTool = class RunTerminalCommandTool {
19
19
  name: 'run_terminal_cmd',
20
20
  label: 'Run Command',
21
21
  order: 2,
22
- description: "PROPOSE a command to run on behalf of the user.\nIf you have this tool, note that you DO have the ability to run commands directly on the USER's system.\n\nAdhere to these rules:\n1. Based on the contents of the conversation, you will be told if you are in the same shell as a previous step or a new shell.\n2. If in a new shell, you should `cd` to the right directory and do necessary setup in addition to running the command.\n3. If in the same shell, the state will persist, no need to do things like `cd` to the same directory.\n4. For ANY commands that would use a pager, you should append ` | cat` to the command (or whatever is appropriate). You MUST do this for: git, less, head, tail, more, etc.\n5. For commands that are long running/expected to run indefinitely until interruption, please run them in the background. To run jobs in the background, set `is_background` to true rather than changing the details of the command.\n6. Dont include any newlines in the command.",
22
+ description: "PROPOSE a command to run on behalf of the user.\nIf you have this tool, note that you DO have the ability to run commands directly on the USER's system.\n\nAdhere to these rules:\n1. Based on the contents of the conversation, you will be told if you are in the same shell as a previous step or a new shell.\n2. If in a new shell, you should `cd` to the right directory and do necessary setup in addition to running the command.\n3. If in the same shell, the state will persist, no need to do things like `cd` to the same directory.\n4. For ANY commands that would use a pager, you should append ` | cat` to the command (or whatever is appropriate). You MUST do this for: git, less, head, tail, more, etc.\n5. For commands that are long running/expected to run indefinitely until interruption, such as server hosted, please run them in the background. To run jobs in the background, set `is_background` to true rather than changing the details of the command.\n6. Dont include any newlines in the command.",
23
23
  inputSchema: RunCommand_1.inputSchema,
24
24
  handler: this.handler.bind(this),
25
25
  };
@@ -1 +1 @@
1
- {"version":3,"file":"runTerminalCmd.js","sourceRoot":"","sources":["../../../../src/browser/mcp/tools/runTerminalCmd.ts"],"names":[],"mappings":";;;;AAEA,qCAAyC;AACzC,iEAAuD;AACvD,+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AsB,GAA5B,MAAM,sBAAsB;IAajC,iBAAiB,CAAC,QAA4B;QAC5C,QAAQ,CAAC,eAAe,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAAC;QACnD,QAAQ,CAAC,qBAAqB,CAAC,kBAAkB,EAAE,gCAAqB,CAAC,CAAC;IAC5E,CAAC;IAED,iBAAiB;QACf,OAAO;YACL,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,CAAC;YACR,WAAW,EACT,8+BAA8+B;YACh/B,WAAW,EAAX,wBAAW;YACX,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;SACjC,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,OAAO,CAAC,IAA0D,EAAE,MAAiB;QACjG,OAAO,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACtD,CAAC;CACF,CAAA;AAjCY,wDAAsB;AAEd;IADlB,IAAA,cAAS,EAAC,gCAAmB,CAAC;;kEAC4B;AAGxC;IADlB,IAAA,cAAS,EAAC,4BAAS,CAAC;;yDACmB;AAGrB;IADlB,IAAA,cAAS,EAAC,sCAAyB,CAAC;;4DACsB;AAG1C;IADhB,IAAA,cAAS,EAAC,8BAAiB,CAAC;sCACO,8BAAiB;iEAAC;iCAX3C,sBAAsB;IADlC,IAAA,wBAAM,EAAC,6BAAqB,CAAC;GACjB,sBAAsB,CAiClC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-ai-native",
3
- "version": "3.8.3-next-1746692106.0",
3
+ "version": "3.8.3-next-1746759545.0",
4
4
  "files": [
5
5
  "lib",
6
6
  "src"
@@ -24,27 +24,27 @@
24
24
  "@ai-sdk/openai": "^1.1.9",
25
25
  "@ai-sdk/openai-compatible": "^0.1.11",
26
26
  "@modelcontextprotocol/sdk": "^1.3.1",
27
- "@opensumi/ide-addons": "3.8.3-next-1746692106.0",
28
- "@opensumi/ide-components": "3.8.3-next-1746692106.0",
29
- "@opensumi/ide-connection": "3.8.3-next-1746692106.0",
30
- "@opensumi/ide-core-common": "3.8.3-next-1746692106.0",
31
- "@opensumi/ide-core-node": "3.8.3-next-1746692106.0",
32
- "@opensumi/ide-debug": "3.8.3-next-1746692106.0",
33
- "@opensumi/ide-design": "3.8.3-next-1746692106.0",
34
- "@opensumi/ide-editor": "3.8.3-next-1746692106.0",
35
- "@opensumi/ide-file-search": "3.8.3-next-1746692106.0",
36
- "@opensumi/ide-file-service": "3.8.3-next-1746692106.0",
37
- "@opensumi/ide-main-layout": "3.8.3-next-1746692106.0",
38
- "@opensumi/ide-markers": "3.8.3-next-1746692106.0",
39
- "@opensumi/ide-monaco": "3.8.3-next-1746692106.0",
40
- "@opensumi/ide-outline": "3.8.3-next-1746692106.0",
41
- "@opensumi/ide-overlay": "3.8.3-next-1746692106.0",
42
- "@opensumi/ide-preferences": "3.8.3-next-1746692106.0",
43
- "@opensumi/ide-search": "3.8.3-next-1746692106.0",
44
- "@opensumi/ide-terminal-next": "3.8.3-next-1746692106.0",
45
- "@opensumi/ide-theme": "3.8.3-next-1746692106.0",
46
- "@opensumi/ide-utils": "3.8.3-next-1746692106.0",
47
- "@opensumi/ide-workspace": "3.8.3-next-1746692106.0",
27
+ "@opensumi/ide-addons": "3.8.3-next-1746759545.0",
28
+ "@opensumi/ide-components": "3.8.3-next-1746759545.0",
29
+ "@opensumi/ide-connection": "3.8.3-next-1746759545.0",
30
+ "@opensumi/ide-core-common": "3.8.3-next-1746759545.0",
31
+ "@opensumi/ide-core-node": "3.8.3-next-1746759545.0",
32
+ "@opensumi/ide-debug": "3.8.3-next-1746759545.0",
33
+ "@opensumi/ide-design": "3.8.3-next-1746759545.0",
34
+ "@opensumi/ide-editor": "3.8.3-next-1746759545.0",
35
+ "@opensumi/ide-file-search": "3.8.3-next-1746759545.0",
36
+ "@opensumi/ide-file-service": "3.8.3-next-1746759545.0",
37
+ "@opensumi/ide-main-layout": "3.8.3-next-1746759545.0",
38
+ "@opensumi/ide-markers": "3.8.3-next-1746759545.0",
39
+ "@opensumi/ide-monaco": "3.8.3-next-1746759545.0",
40
+ "@opensumi/ide-outline": "3.8.3-next-1746759545.0",
41
+ "@opensumi/ide-overlay": "3.8.3-next-1746759545.0",
42
+ "@opensumi/ide-preferences": "3.8.3-next-1746759545.0",
43
+ "@opensumi/ide-search": "3.8.3-next-1746759545.0",
44
+ "@opensumi/ide-terminal-next": "3.8.3-next-1746759545.0",
45
+ "@opensumi/ide-theme": "3.8.3-next-1746759545.0",
46
+ "@opensumi/ide-utils": "3.8.3-next-1746759545.0",
47
+ "@opensumi/ide-workspace": "3.8.3-next-1746759545.0",
48
48
  "@xterm/xterm": "5.5.0",
49
49
  "ai": "^4.1.45",
50
50
  "ansi-regex": "^2.0.0",
@@ -61,7 +61,7 @@
61
61
  "zod-to-json-schema": "^3.24.1"
62
62
  },
63
63
  "devDependencies": {
64
- "@opensumi/ide-core-browser": "3.8.3-next-1746692106.0"
64
+ "@opensumi/ide-core-browser": "3.8.3-next-1746759545.0"
65
65
  },
66
- "gitHead": "26ad68b680ef0644a47075bc89fa49f760e51096"
66
+ "gitHead": "ad321d094b19058fbe6d6f5abe32c0a920f1b8e8"
67
67
  }
@@ -35,7 +35,7 @@ export class RunTerminalCommandTool implements MCPServerContribution {
35
35
  label: 'Run Command',
36
36
  order: 2,
37
37
  description:
38
- "PROPOSE a command to run on behalf of the user.\nIf you have this tool, note that you DO have the ability to run commands directly on the USER's system.\n\nAdhere to these rules:\n1. Based on the contents of the conversation, you will be told if you are in the same shell as a previous step or a new shell.\n2. If in a new shell, you should `cd` to the right directory and do necessary setup in addition to running the command.\n3. If in the same shell, the state will persist, no need to do things like `cd` to the same directory.\n4. For ANY commands that would use a pager, you should append ` | cat` to the command (or whatever is appropriate). You MUST do this for: git, less, head, tail, more, etc.\n5. For commands that are long running/expected to run indefinitely until interruption, please run them in the background. To run jobs in the background, set `is_background` to true rather than changing the details of the command.\n6. Dont include any newlines in the command.",
38
+ "PROPOSE a command to run on behalf of the user.\nIf you have this tool, note that you DO have the ability to run commands directly on the USER's system.\n\nAdhere to these rules:\n1. Based on the contents of the conversation, you will be told if you are in the same shell as a previous step or a new shell.\n2. If in a new shell, you should `cd` to the right directory and do necessary setup in addition to running the command.\n3. If in the same shell, the state will persist, no need to do things like `cd` to the same directory.\n4. For ANY commands that would use a pager, you should append ` | cat` to the command (or whatever is appropriate). You MUST do this for: git, less, head, tail, more, etc.\n5. For commands that are long running/expected to run indefinitely until interruption, such as server hosted, please run them in the background. To run jobs in the background, set `is_background` to true rather than changing the details of the command.\n6. Dont include any newlines in the command.",
39
39
  inputSchema,
40
40
  handler: this.handler.bind(this),
41
41
  };