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.
- package/README.md +82 -11
- package/dist/cli.js +3446 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.mts +27 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.js +30 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -4
- package/dist/index.mjs.map +1 -1
- package/dist/integrations/openai/index.js +0 -1
- package/dist/integrations/openai/index.js.map +1 -1
- package/dist/integrations/openai/index.mjs +0 -2
- package/dist/integrations/openai/index.mjs.map +1 -1
- package/package.json +6 -2
|
@@ -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":"
|
|
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 +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":"
|
|
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.
|
|
4
|
-
"description": "Official JavaScript SDK for InstaVM
|
|
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"
|