instavm 0.13.0 → 0.15.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.
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- "use strict";
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/integrations/openai/index.ts"],"sourcesContent":["// OpenAI integration will be implemented in a future version\n// This file is a placeholder for the OpenAI function calling integration\n\nexport interface OpenAITool {\n type: 'function';\n function: {\n name: string;\n description: string;\n parameters: {\n type: 'object';\n properties: Record<string, any>;\n required?: string[];\n };\n };\n}\n\n// Placeholder - will be implemented with full OpenAI integration\nexport function getOpenAITools(): OpenAITool[] {\n return [];\n}\n\n// Placeholder - will be implemented with full OpenAI integration \nexport async function executeToolCall(\n client: any,\n toolCall: any,\n session?: any\n): Promise<any> {\n throw new Error('OpenAI integration not yet implemented');\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBO,SAAS,iBAA+B;AAC7C,SAAO,CAAC;AACV;AAGA,eAAsB,gBACpB,QACA,UACA,SACc;AACd,QAAM,IAAI,MAAM,wCAAwC;AAC1D;","names":[]}
1
+ {"version":3,"sources":["../../../src/integrations/openai/index.ts"],"sourcesContent":["// OpenAI integration will be implemented in a future version\n// This file is a placeholder for the OpenAI function calling integration\n\nexport interface OpenAITool {\n type: 'function';\n function: {\n name: string;\n description: string;\n parameters: {\n type: 'object';\n properties: Record<string, any>;\n required?: string[];\n };\n };\n}\n\n// Placeholder - will be implemented with full OpenAI integration\nexport function getOpenAITools(): OpenAITool[] {\n return [];\n}\n\n// Placeholder - will be implemented with full OpenAI integration \nexport async function executeToolCall(\n client: any,\n toolCall: any,\n session?: any\n): Promise<any> {\n throw new Error('OpenAI integration not yet implemented');\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBO,SAAS,iBAA+B;AAC7C,SAAO,CAAC;AACV;AAGA,eAAsB,gBACpB,QACA,UACA,SACc;AACd,QAAM,IAAI,MAAM,wCAAwC;AAC1D;","names":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  // src/integrations/openai/index.ts
4
2
  function getOpenAITools() {
5
3
  return [];
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/integrations/openai/index.ts"],"sourcesContent":["// OpenAI integration will be implemented in a future version\n// This file is a placeholder for the OpenAI function calling integration\n\nexport interface OpenAITool {\n type: 'function';\n function: {\n name: string;\n description: string;\n parameters: {\n type: 'object';\n properties: Record<string, any>;\n required?: string[];\n };\n };\n}\n\n// Placeholder - will be implemented with full OpenAI integration\nexport function getOpenAITools(): OpenAITool[] {\n return [];\n}\n\n// Placeholder - will be implemented with full OpenAI integration \nexport async function executeToolCall(\n client: any,\n toolCall: any,\n session?: any\n): Promise<any> {\n throw new Error('OpenAI integration not yet implemented');\n}"],"mappings":";;;AAiBO,SAAS,iBAA+B;AAC7C,SAAO,CAAC;AACV;AAGA,eAAsB,gBACpB,QACA,UACA,SACc;AACd,QAAM,IAAI,MAAM,wCAAwC;AAC1D;","names":[]}
1
+ {"version":3,"sources":["../../../src/integrations/openai/index.ts"],"sourcesContent":["// OpenAI integration will be implemented in a future version\n// This file is a placeholder for the OpenAI function calling integration\n\nexport interface OpenAITool {\n type: 'function';\n function: {\n name: string;\n description: string;\n parameters: {\n type: 'object';\n properties: Record<string, any>;\n required?: string[];\n };\n };\n}\n\n// Placeholder - will be implemented with full OpenAI integration\nexport function getOpenAITools(): OpenAITool[] {\n return [];\n}\n\n// Placeholder - will be implemented with full OpenAI integration \nexport async function executeToolCall(\n client: any,\n toolCall: any,\n session?: any\n): Promise<any> {\n throw new Error('OpenAI integration not yet implemented');\n}"],"mappings":";AAiBO,SAAS,iBAA+B;AAC7C,SAAO,CAAC;AACV;AAGA,eAAsB,gBACpB,QACA,UACA,SACc;AACd,QAAM,IAAI,MAAM,wCAAwC;AAC1D;","names":[]}
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "instavm",
3
- "version": "0.13.0",
4
- "description": "Official JavaScript SDK for InstaVM API",
3
+ "version": "0.15.0",
4
+ "description": "Official JavaScript SDK and CLI for InstaVM",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "instavm": "./dist/cli.js"
10
+ },
8
11
  "exports": {
9
12
  ".": {
10
13
  "types": "./dist/index.d.ts",
@@ -64,6 +67,7 @@
64
67
  },
65
68
  "dependencies": {
66
69
  "axios": "^1.7.9",
70
+ "commander": "^12.1.0",
67
71
  "eventemitter3": "^5.0.1",
68
72
  "form-data": "^4.0.1",
69
73
  "ws": "^8.18.0"