@vibe-forge/core 3.1.0 → 3.1.5
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 +24 -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.1.
|
|
3
|
+
"version": "3.1.5",
|
|
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.1.5",
|
|
57
|
+
"@vibe-forge/types": "3.1.5"
|
|
58
58
|
}
|
|
59
59
|
}
|
package/src/config-schema.ts
CHANGED
|
@@ -420,6 +420,24 @@ export const mcpConfigSectionSchema = z.object({
|
|
|
420
420
|
noDefaultVibeForgeMcpServer: z.boolean().optional()
|
|
421
421
|
})
|
|
422
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
|
+
|
|
423
441
|
export const baseAdapterEntrySchema = adapterConfigCommonSchema.passthrough()
|
|
424
442
|
export const baseChannelEntrySchema = channelBaseSchema.passthrough()
|
|
425
443
|
|
|
@@ -433,7 +451,9 @@ export const configSectionSchemas = {
|
|
|
433
451
|
plugins: pluginSectionSchema,
|
|
434
452
|
mcp: mcpConfigSectionSchema,
|
|
435
453
|
auth: webAuthConfigSchema,
|
|
436
|
-
shortcuts: shortcutsConfigSchema
|
|
454
|
+
shortcuts: shortcutsConfigSchema,
|
|
455
|
+
experiments: experimentsConfigSchema,
|
|
456
|
+
diagnostics: diagnosticsConfigSchema
|
|
437
457
|
} as const
|
|
438
458
|
|
|
439
459
|
export const baseConfigFileSchema = z.object({
|
|
@@ -464,7 +484,9 @@ export const baseConfigFileSchema = z.object({
|
|
|
464
484
|
webAuth: webAuthConfigSchema.optional(),
|
|
465
485
|
conversation: conversationConfigSchema.optional(),
|
|
466
486
|
plugins: pluginConfigSchema.optional(),
|
|
467
|
-
marketplaces: marketplaceConfigSchema.optional()
|
|
487
|
+
marketplaces: marketplaceConfigSchema.optional(),
|
|
488
|
+
experiments: experimentsConfigSchema.optional(),
|
|
489
|
+
diagnostics: diagnosticsConfigSchema.optional()
|
|
468
490
|
}).strict()
|
|
469
491
|
|
|
470
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'
|