@surph_ai/sdk 0.0.14 → 0.0.16

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/deploy/index.js CHANGED
@@ -87,7 +87,7 @@ const zipDirectory = (name = 'package.zip') => {
87
87
 
88
88
  const compile = async (deployDir, name = 'package.zip', dir = null) => {
89
89
  shell.mkdir('-p', `${deployDir}/`)
90
- shell.cp('-R', `node_modules/@surph_ai/sdk/deploy/tool-main.js`, `${deployDir}/main.js`)
90
+ shell.cp('-R', `node_modules/@surph_ai/sdk/deploy/tool-handler.js`, `${deployDir}/main.js`)
91
91
 
92
92
  if (dir === null) {
93
93
  shell.cp('-R', '!(node_modules|deploy)', `${deployDir}/`) // copy everything but node_modules and deploy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surph_ai/sdk",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "dev": "npm run build && surph toolserver & surph chatserver",
6
+ "dev": "npm run build && npm run watch && surph toolserver & surph chatserver",
7
7
  "test": "",
8
8
  "build": "rm -rf dist && tsc",
9
9
  "watch": "tsc -w",
@@ -333,7 +333,7 @@ var require_main = __commonJS({
333
333
  lastError = e;
334
334
  }
335
335
  }
336
- _log(`injecting env (${keysCount}) from ${shortPaths.join(",")} ${dim(`-- tip: ${_getRandomTip()}`)}`);
336
+ // _log(`injecting env (${keysCount}) from ${shortPaths.join(",")} ${dim(`-- tip: ${_getRandomTip()}`)}`);
337
337
  }
338
338
  if (lastError) {
339
339
  return { parsed: parsedAll, error: lastError };
@@ -46362,7 +46362,7 @@ var require_executeDesktopTool = __commonJS({
46362
46362
  try {
46363
46363
  VectorDBManager = require_VectorDBManager();
46364
46364
  } catch (err) {
46365
- console.log("[executeDesktopTool] VectorDBManager not available:", err.message);
46365
+ // console.log("[executeDesktopTool] VectorDBManager not available:", err.message);
46366
46366
  VectorDBManager = null;
46367
46367
  }
46368
46368
  function resolvePath(filePath, projectPath) {