@vibe-forge/core 2.0.3-alpha.1 → 3.0.0-alpha.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/package.json +3 -3
- package/src/config-schema.ts +8 -0
- package/src/tools.ts +15 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibe-forge/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-alpha.0",
|
|
4
4
|
"imports": {
|
|
5
5
|
"#~/*.js": {
|
|
6
6
|
"__vibe-forge__": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"zod": "^3.24.1",
|
|
56
|
-
"@vibe-forge/
|
|
57
|
-
"@vibe-forge/
|
|
56
|
+
"@vibe-forge/utils": "3.0.0-alpha.0",
|
|
57
|
+
"@vibe-forge/types": "3.0.0-alpha.0"
|
|
58
58
|
}
|
|
59
59
|
}
|
package/src/config-schema.ts
CHANGED
|
@@ -212,6 +212,13 @@ export const webAuthConfigSchema = z.object({
|
|
|
212
212
|
rememberDeviceTtlDays: z.number().positive().optional().describe('Remember-device token lifetime in days')
|
|
213
213
|
})
|
|
214
214
|
|
|
215
|
+
export const skillRegistryConfigSchema = z.object({
|
|
216
|
+
enabled: z.boolean().optional().describe('Enable remote skill registry resolution'),
|
|
217
|
+
url: z.string().optional().describe('Base URL for remote skill registry search and download'),
|
|
218
|
+
searchUrl: z.string().optional().describe('Remote skill registry search endpoint'),
|
|
219
|
+
downloadUrl: z.string().optional().describe('Remote skill registry download endpoint')
|
|
220
|
+
})
|
|
221
|
+
|
|
215
222
|
export const skillHomeBridgeConfigSchema = z.object({
|
|
216
223
|
enabled: z.boolean().optional().describe('Bridge supported home skill roots into workspace asset discovery'),
|
|
217
224
|
roots: z.union([z.string(), z.array(z.string())]).optional()
|
|
@@ -232,6 +239,7 @@ export const configuredSkillInstallConfigSchema = z.union([
|
|
|
232
239
|
export const legacySkillsConfigSchema = z.object({
|
|
233
240
|
install: z.array(configuredSkillInstallConfigSchema).optional()
|
|
234
241
|
.describe('Project skills that should be ensured before session startup'),
|
|
242
|
+
registry: z.union([z.string(), skillRegistryConfigSchema]).optional().describe('Remote skill registry settings'),
|
|
235
243
|
homeBridge: skillHomeBridgeConfigSchema.optional().describe('Home skill auto-bridge settings')
|
|
236
244
|
})
|
|
237
245
|
|
package/src/tools.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export type TaskLogsOrder = 'asc' | 'desc'
|
|
2
|
+
|
|
1
3
|
export interface StopTaskToolInput {
|
|
2
4
|
task_id?: string
|
|
3
5
|
}
|
|
@@ -8,6 +10,7 @@ export interface StartTasksToolInput {
|
|
|
8
10
|
type?: 'default' | 'spec' | 'entity' | 'workspace'
|
|
9
11
|
name?: string
|
|
10
12
|
adapter?: string
|
|
13
|
+
model?: string
|
|
11
14
|
permissionMode?: 'default' | 'acceptEdits' | 'plan' | 'dontAsk' | 'bypassPermissions'
|
|
12
15
|
background?: boolean
|
|
13
16
|
}>
|
|
@@ -15,13 +18,24 @@ export interface StartTasksToolInput {
|
|
|
15
18
|
|
|
16
19
|
export interface GetTaskInfoToolInput {
|
|
17
20
|
taskId: string
|
|
21
|
+
logLimit?: number
|
|
22
|
+
logOrder?: TaskLogsOrder
|
|
18
23
|
}
|
|
19
24
|
|
|
20
|
-
export interface
|
|
25
|
+
export interface SendTaskMessageToolInput {
|
|
26
|
+
taskId: string
|
|
27
|
+
message: string
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface ListTasksToolInput {
|
|
31
|
+
logLimit?: number
|
|
32
|
+
logOrder?: TaskLogsOrder
|
|
33
|
+
}
|
|
21
34
|
|
|
22
35
|
export interface ToolInputs {
|
|
23
36
|
StartTasks: StartTasksToolInput
|
|
24
37
|
GetTaskInfo: GetTaskInfoToolInput
|
|
38
|
+
SendTaskMessage: SendTaskMessageToolInput
|
|
25
39
|
ListTasks: ListTasksToolInput
|
|
26
40
|
StopTask: StopTaskToolInput
|
|
27
41
|
}
|