@vibe-forge/core 0.10.1 → 0.11.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-forge/core",
3
- "version": "0.10.1",
3
+ "version": "0.11.1",
4
4
  "imports": {
5
5
  "#~/*.js": {
6
6
  "__vibe-forge__": {
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "zod": "^3.24.1",
47
- "@vibe-forge/utils": "^0.10.1",
48
- "@vibe-forge/types": "^0.10.1"
47
+ "@vibe-forge/types": "^0.11.2",
48
+ "@vibe-forge/utils": "^0.11.1"
49
49
  }
50
50
  }
package/src/channel.ts CHANGED
@@ -54,10 +54,14 @@ export const channelBaseSchema = z.object({
54
54
  .describe('是否在通过该频道启动的会话中自动挂载该频道提供的 companion MCP,默认 true'),
55
55
  serverBaseUrl: z
56
56
  .string().optional()
57
- .describe('用户可访问的 server 基础地址,例如 http://192.168.1.10:8787 或 https://example.com/vf;用于生成频道内跳转和 server 动作链接'),
57
+ .describe(
58
+ '用户可访问的 server 基础地址,例如 http://192.168.1.10:8787 或 https://example.com/vf;用于生成频道内跳转和 server 动作链接'
59
+ ),
58
60
  sessionDetailBaseUrl: z
59
61
  .string().optional()
60
- .describe('用户可访问的会话详情页面基础地址,例如 https://example.com/ui;用于生成频道内跳转到 server 会话详情的链接'),
62
+ .describe(
63
+ '用户可访问的会话详情页面基础地址,例如 https://example.com/ui;用于生成频道内跳转到 server 会话详情的链接'
64
+ ),
61
65
  // 访问权限控制
62
66
  access: channelAccessSchema
63
67
  .optional()
package/src/schema.ts CHANGED
@@ -19,6 +19,7 @@ export const AskUserQuestionParamsSchema = z.object({
19
19
  deniedTools: z.array(z.string()).optional(),
20
20
  reasons: z.array(z.string()).optional(),
21
21
  subjectKey: z.string().optional(),
22
+ subjectLookupKeys: z.array(z.string()).optional(),
22
23
  subjectLabel: z.string().optional(),
23
24
  scope: z.enum(['tool']).optional(),
24
25
  projectConfigPath: z.string().optional()