@vibe-forge/core 3.0.0 → 3.1.5-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 +27 -2
- package/src/types.ts +36 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibe-forge/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.5-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/utils": "3.
|
|
57
|
-
"@vibe-forge/types": "3.
|
|
56
|
+
"@vibe-forge/utils": "3.1.5-alpha.0",
|
|
57
|
+
"@vibe-forge/types": "3.1.5-alpha.0"
|
|
58
58
|
}
|
|
59
59
|
}
|
package/src/config-schema.ts
CHANGED
|
@@ -237,6 +237,9 @@ export const configuredSkillInstallConfigSchema = z.union([
|
|
|
237
237
|
])
|
|
238
238
|
|
|
239
239
|
export const legacySkillsConfigSchema = z.object({
|
|
240
|
+
autoDownloadDependencies: z.boolean().optional().describe(
|
|
241
|
+
'Automatically download missing skill dependencies through the skills CLI'
|
|
242
|
+
),
|
|
240
243
|
install: z.array(configuredSkillInstallConfigSchema).optional()
|
|
241
244
|
.describe('Project skills that should be ensured before session startup'),
|
|
242
245
|
registry: z.union([z.string(), skillRegistryConfigSchema]).optional().describe('Remote skill registry settings'),
|
|
@@ -417,6 +420,24 @@ export const mcpConfigSectionSchema = z.object({
|
|
|
417
420
|
noDefaultVibeForgeMcpServer: z.boolean().optional()
|
|
418
421
|
})
|
|
419
422
|
|
|
423
|
+
export const experimentsConfigSchema = z.object({
|
|
424
|
+
agentRoom: z.boolean().default(false).describe('Enable the experimental Agent Room multi-agent chat mode')
|
|
425
|
+
})
|
|
426
|
+
|
|
427
|
+
export const startupProfileDiagnosticsConfigSchema = z.object({
|
|
428
|
+
enabled: z.boolean().optional().describe('Enable startup profiling'),
|
|
429
|
+
console: z.boolean().optional().describe('Print startup profiling marks to stderr'),
|
|
430
|
+
log: z.boolean().optional().describe('Write startup profiling marks to the project AI logs directory'),
|
|
431
|
+
thresholdMs: z.number().nonnegative().optional().describe('Only record startup marks at or above this duration')
|
|
432
|
+
})
|
|
433
|
+
|
|
434
|
+
export const diagnosticsConfigSchema = z.object({
|
|
435
|
+
startupProfile: z.union([
|
|
436
|
+
z.boolean(),
|
|
437
|
+
startupProfileDiagnosticsConfigSchema
|
|
438
|
+
]).optional().describe('Startup profiling diagnostics')
|
|
439
|
+
})
|
|
440
|
+
|
|
420
441
|
export const baseAdapterEntrySchema = adapterConfigCommonSchema.passthrough()
|
|
421
442
|
export const baseChannelEntrySchema = channelBaseSchema.passthrough()
|
|
422
443
|
|
|
@@ -430,7 +451,9 @@ export const configSectionSchemas = {
|
|
|
430
451
|
plugins: pluginSectionSchema,
|
|
431
452
|
mcp: mcpConfigSectionSchema,
|
|
432
453
|
auth: webAuthConfigSchema,
|
|
433
|
-
shortcuts: shortcutsConfigSchema
|
|
454
|
+
shortcuts: shortcutsConfigSchema,
|
|
455
|
+
experiments: experimentsConfigSchema,
|
|
456
|
+
diagnostics: diagnosticsConfigSchema
|
|
434
457
|
} as const
|
|
435
458
|
|
|
436
459
|
export const baseConfigFileSchema = z.object({
|
|
@@ -461,7 +484,9 @@ export const baseConfigFileSchema = z.object({
|
|
|
461
484
|
webAuth: webAuthConfigSchema.optional(),
|
|
462
485
|
conversation: conversationConfigSchema.optional(),
|
|
463
486
|
plugins: pluginConfigSchema.optional(),
|
|
464
|
-
marketplaces: marketplaceConfigSchema.optional()
|
|
487
|
+
marketplaces: marketplaceConfigSchema.optional(),
|
|
488
|
+
experiments: experimentsConfigSchema.optional(),
|
|
489
|
+
diagnostics: diagnosticsConfigSchema.optional()
|
|
465
490
|
}).strict()
|
|
466
491
|
|
|
467
492
|
const getZodTypeName = (schema: z.ZodTypeAny) => (
|
package/src/types.ts
CHANGED
|
@@ -1,10 +1,43 @@
|
|
|
1
1
|
export type {
|
|
2
|
+
AgentRoom,
|
|
3
|
+
AgentRoomDetail,
|
|
4
|
+
AgentRoomDetailResponse,
|
|
5
|
+
AgentRoomEvent,
|
|
6
|
+
AgentRoomEventMember,
|
|
7
|
+
AgentRoomEventRequestKind,
|
|
8
|
+
AgentRoomEventResumeKind,
|
|
9
|
+
AgentRoomEventRun,
|
|
10
|
+
AgentRoomEventType,
|
|
11
|
+
AgentRoomEventWriteRequest,
|
|
12
|
+
AgentRoomEventWriteResponse,
|
|
13
|
+
AgentRoomInteractionOption,
|
|
14
|
+
AgentRoomListResponse,
|
|
15
|
+
AgentRoomMember,
|
|
16
|
+
AgentRoomMemberKind,
|
|
17
|
+
AgentRoomMemberStatus,
|
|
18
|
+
AgentRoomMessage,
|
|
19
|
+
AgentRoomMessageRole,
|
|
20
|
+
AgentRoomMessageWriteRequest,
|
|
21
|
+
AgentRoomMessageWriteResponse,
|
|
22
|
+
AgentRoomRun,
|
|
23
|
+
AgentRoomRunStatus,
|
|
24
|
+
AgentRoomRunWriteRequest,
|
|
25
|
+
AgentRoomStatus,
|
|
26
|
+
AgentRoomUserMessagePayload,
|
|
27
|
+
AgentRoomUserMessageTarget,
|
|
2
28
|
AskUserQuestionParams,
|
|
3
29
|
ChatMessage,
|
|
4
30
|
ChatMessageContent,
|
|
5
31
|
ConfigSource,
|
|
6
32
|
EffortLevel,
|
|
7
33
|
Project,
|
|
34
|
+
RoomEventInteractionOption,
|
|
35
|
+
RoomEventMember,
|
|
36
|
+
RoomEventMemberKind,
|
|
37
|
+
RoomEventMessage,
|
|
38
|
+
RoomEventRequestKind,
|
|
39
|
+
RoomEventResumeKind,
|
|
40
|
+
RoomEventRun,
|
|
8
41
|
Session,
|
|
9
42
|
SessionMessageQueueState,
|
|
10
43
|
SessionPermissionMode,
|
|
@@ -18,5 +51,7 @@ export type {
|
|
|
18
51
|
SessionWorkspaceKind,
|
|
19
52
|
SessionWorkspaceState,
|
|
20
53
|
TaskDetail,
|
|
21
|
-
TaskRuntime
|
|
54
|
+
TaskRuntime,
|
|
55
|
+
UpdateAgentRoomMetadataRequest,
|
|
56
|
+
UpdateAgentRoomMetadataResponse
|
|
22
57
|
} from '@vibe-forge/types'
|