-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 4.54 KB
/
Copy pathpackage.json
File metadata and controls
149 lines (149 loc) · 4.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "ai-lab",
"displayName": "Podman AI Lab",
"description": "Podman AI Lab lets you work with LLMs locally, exploring AI fundamentals, experimenting with models and prompts, and serving models while maintaining data security and privacy.",
"version": "1.10.0-next",
"icon": "icon.png",
"type": "module",
"publisher": "redhat",
"license": "Apache-2.0",
"engines": {
"podman-desktop": ">=1.8.0"
},
"main": "./dist/extension.cjs",
"contributes": {
"commands": [
{
"command": "ai-lab.navigation.inference.start",
"title": "AI Lab: navigate to inference start page",
"hidden": true
},
{
"command": "ai-lab.navigation.recipe.start",
"title": "AI Lab: navigate to recipe start page",
"hidden": true
}
],
"configuration": {
"title": "AI Lab",
"properties": {
"ai-lab.models.path": {
"type": "string",
"format": "folder",
"default": "",
"description": "Custom path where to download models. Note: The extension must be restarted for changes to take effect. (Default is blank)"
},
"ai-lab.modelUploadDisabled": {
"type": "boolean",
"default": false,
"description": "Disable the model upload to the podman machine",
"hidden": true
},
"ai-lab.experimentalGPU": {
"type": "boolean",
"default": false,
"description": "Experimental GPU support for inference servers"
},
"ai-lab.apiPort": {
"type": "number",
"default": 10434,
"minimum": 1024,
"maximum": 65535,
"description": "Port on which the API is listening (requires restart of extension)"
},
"ai-lab.inferenceRuntime": {
"type": "string",
"enum": [
"all",
"llama-cpp",
"whisper-cpp",
"none"
],
"description": "Choose the default inferencing runtime for AI Lab"
},
"ai-lab.experimentalTuning": {
"type": "boolean",
"default": false,
"description": "Display InstructLab Tuning screens (experimental)",
"hidden": true
},
"ai-lab.showGPUPromotion": {
"type": "boolean",
"default": true,
"description": "Display GPU promotion banner",
"hidden": true
}
}
},
"icons": {
"brain-icon": {
"description": "Brain icon",
"default": {
"fontPath": "brain.woff2",
"fontCharacter": "\\E001"
}
}
},
"views": {
"icons/containersList": [
{
"when": "ai-lab-model-id in containerLabelKeys",
"icon": "${brain-icon}"
}
],
"icons/image": [
{
"when": "ai-lab-recipe-id in imageLabelKeys",
"icon": "${brain-icon}"
}
]
}
},
"scripts": {
"generate": "npx openapi-typescript ../../api/openapi.yaml -o src-generated/openapi.ts",
"build": "pnpm run generate && vite build",
"test": "vitest run --coverage",
"test:watch": "vitest watch --coverage",
"format:check": "prettier --check \"src/**/*.ts\"",
"format:fix": "prettier --write \"src/**/*.ts\"",
"watch": "pnpm run generate && npx vite --mode development build -w",
"typecheck": "pnpm run generate && tsc --noEmit"
},
"dependencies": {
"@ai-sdk/mcp": "^2.0.16",
"@ai-sdk/openai-compatible": "^3.0.14",
"@huggingface/gguf": "^0.4.2",
"@huggingface/hub": "^2.13.3",
"ai": "^7.0.36",
"express": "^5.2.1",
"express-openapi-validator": "^5.6.2",
"isomorphic-git": "^1.38.7",
"js-yaml": "^5.2.2",
"mustache": "^4.2.0",
"openai": "^6.48.0",
"postman-code-generators": "^1.14.1",
"postman-collection": "^5.3.0",
"semver": "^7.8.5",
"swagger-ui-dist": "^5.32.11",
"swagger-ui-express": "^5.0.1",
"systeminformation": "^5.33.1",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@podman-desktop/api": "1.13.0-202409181313-78725a6565",
"@ai-sdk/provider": "^4.0.3",
"@ai-sdk/provider-utils": "^5.0.12",
"@rollup/plugin-replace": "^6.0.3",
"@types/express": "^5.0.6",
"@types/js-yaml": "^4.0.9",
"@types/mustache": "^4.2.6",
"@types/node": "^24",
"@types/postman-collection": "^3.5.11",
"@types/supertest": "^7.2.1",
"@types/swagger-ui-dist": "^3.30.5",
"@types/swagger-ui-express": "^4.1.8",
"openapi-typescript": "^7.13.0",
"supertest": "^7.2.2",
"vitest": "^3.0.5"
}
}