staklink 0.2.19

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/package.json ADDED
@@ -0,0 +1,159 @@
1
+ {
2
+ "name": "staklink",
3
+ "displayName": "staklink",
4
+ "description": "staklink process manager",
5
+ "version": "0.2.19",
6
+ "type": "module",
7
+ "publisher": "stakwork",
8
+ "engines": {
9
+ "vscode": "^1.97.0"
10
+ },
11
+ "categories": [
12
+ "Other"
13
+ ],
14
+ "activationEvents": [
15
+ "onStartupFinished"
16
+ ],
17
+ "repository": "https://github.com/stakwork/staklink",
18
+ "icon": "img/stakwork.png",
19
+ "main": "./dist/extension.cjs",
20
+ "contributes": {
21
+ "commands": [
22
+ {
23
+ "command": "staklink.openChat",
24
+ "title": "Stakgraph Chat"
25
+ },
26
+ {
27
+ "command": "staklink.setBaseUrl",
28
+ "title": "Stakgraph: Set Base URL"
29
+ },
30
+ {
31
+ "command": "staklink.setApiToken",
32
+ "title": "Stakgraph: Set API Token"
33
+ },
34
+ {
35
+ "command": "staklink.restart",
36
+ "title": "Restart Staklink Processes"
37
+ },
38
+ {
39
+ "command": "staklink.stop",
40
+ "title": "Stop Staklink Processes"
41
+ },
42
+ {
43
+ "command": "staklink.resetCode",
44
+ "title": "Reset Staklink Code Changes"
45
+ },
46
+ {
47
+ "command": "staklink.reboot",
48
+ "title": "Reboot Staklink Server"
49
+ }
50
+ ],
51
+ "configuration": {
52
+ "title": "Staklink",
53
+ "properties": {
54
+ "staklink.port": {
55
+ "type": "number",
56
+ "default": 15552,
57
+ "description": "Default port for the Staklink server"
58
+ },
59
+ "staklink.repos": {
60
+ "type": "object",
61
+ "description": "Repository configurations",
62
+ "additionalProperties": {
63
+ "type": "object",
64
+ "properties": {
65
+ "start": {
66
+ "type": "array",
67
+ "description": "Command sequence to execute on start",
68
+ "items": {
69
+ "type": "string"
70
+ }
71
+ },
72
+ "restart": {
73
+ "type": "array",
74
+ "description": "Command sequence to execute on restart",
75
+ "items": {
76
+ "type": "string"
77
+ }
78
+ },
79
+ "port": {
80
+ "type": "number",
81
+ "description": "Port for this repository process"
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ },
89
+ "bin": {
90
+ "staklink": "./bin/staklink.cjs"
91
+ },
92
+ "files": [
93
+ "bin/staklink.cjs",
94
+ "dist/proxy-server.cjs",
95
+ "dist/staklink-cli.cjs"
96
+ ],
97
+ "scripts": {
98
+ "vscode:prepublish": "yarn run package && yarn run build:proxy:prod",
99
+ "compile": "webpack && yarn run build:proxy",
100
+ "watch": "webpack --watch",
101
+ "package": "webpack --mode production --devtool hidden-source-map",
102
+ "compile-tests": "tsc -p . --outDir out",
103
+ "watch-tests": "tsc -p . -w --outDir out",
104
+ "pretest": "yarn run compile-tests && yarn run compile && yarn run lint",
105
+ "lint": "eslint src",
106
+ "test": "vscode-test",
107
+ "version:generate": "node scripts/generate-version.js",
108
+ "build:proxy": "yarn version:generate && node esbuild.config.js",
109
+ "build:proxy:prod": "yarn version:generate && node esbuild.config.js --prod",
110
+ "build:cli": "yarn version:generate && node esbuild-cli.config.js",
111
+ "build:all": "yarn version:generate && yarn run build:proxy && yarn run build:cli",
112
+ "ask-claude": "ts-node ./src/scripts/ask-claude.ts",
113
+ "ask-gemini": "ts-node ./src/scripts/ask-gemini.ts",
114
+ "test-git": "ts-node ./src/test/test-git.ts",
115
+ "test-pm2": "ts-node ./src/test/test-pm2.ts",
116
+ "try-parse": "ts-node ./src/scripts/try-parse.ts",
117
+ "try-gemini": "ts-node ./src/try/try-gemini.ts",
118
+ "try-cc": "ts-node ./src/try/try-cc.ts",
119
+ "try-aieo": "ts-node ./src/try/try-aieo.ts"
120
+ },
121
+ "dependencies": {
122
+ "@ai-sdk/anthropic": "^2.0.6",
123
+ "@ai-sdk/google": "^2.0.8",
124
+ "ai": "^5.0.22",
125
+ "ai-sdk-provider-claude-code": "^1.1.0",
126
+ "aieo": "^0.1.23",
127
+ "async-mutex": "^0.5.0",
128
+ "commander": "^14.0.1",
129
+ "dotenv": "^16.4.7",
130
+ "express": "^4.21.2",
131
+ "glob": "^11.0.2",
132
+ "jsonc-parser": "^3.3.1",
133
+ "uuid": "^11.1.0",
134
+ "vscode-uri": "^3.1.0",
135
+ "zod": "^3.24.3"
136
+ },
137
+ "devDependencies": {
138
+ "@ai-sdk/openai": "^1.3.20",
139
+ "@anthropic-ai/sdk": "^0.39.0",
140
+ "@google/generative-ai": "^0.24.0",
141
+ "@types/express": "^5.0.0",
142
+ "@types/mocha": "^10.0.10",
143
+ "@types/node": "20.x",
144
+ "@types/uuid": "^10.0.0",
145
+ "@types/vscode": "^1.97.0",
146
+ "@typescript-eslint/eslint-plugin": "^8.25.0",
147
+ "@typescript-eslint/parser": "^8.25.0",
148
+ "@vscode/test-cli": "^0.0.10",
149
+ "@vscode/test-electron": "^2.4.1",
150
+ "esbuild": "^0.25.5",
151
+ "eslint": "^9.21.0",
152
+ "tiktoken": "^1.0.20",
153
+ "ts-loader": "^9.5.2",
154
+ "ts-node": "^10.9.2",
155
+ "typescript": "^5.7.3",
156
+ "webpack": "^5.98.0",
157
+ "webpack-cli": "^6.0.1"
158
+ }
159
+ }