@kikimoradev/kcloud 1.9.0 → 1.10.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.
Files changed (2) hide show
  1. package/dist/main.js +23 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1075,16 +1075,37 @@ const agentEventSchema = z.discriminatedUnion("event", [
1075
1075
  }),
1076
1076
  z.looseObject({
1077
1077
  ...roleEnvelope("session.text"),
1078
+ sessionId: z.string().optional(),
1078
1079
  text: z.string()
1079
1080
  }),
1081
+ z.looseObject({
1082
+ ...roleEnvelope("session.thinking"),
1083
+ sessionId: z.string().optional(),
1084
+ text: z.string(),
1085
+ truncated: z.boolean().optional()
1086
+ }),
1080
1087
  z.looseObject({
1081
1088
  ...roleEnvelope("session.tool"),
1089
+ sessionId: z.string().optional(),
1082
1090
  tool: z.string(),
1083
- detail: z.string()
1091
+ detail: z.string(),
1092
+ toolUseId: z.string().optional(),
1093
+ input: z.unknown().optional(),
1094
+ inputTruncated: z.boolean().optional()
1095
+ }),
1096
+ z.looseObject({
1097
+ ...roleEnvelope("session.toolResult"),
1098
+ sessionId: z.string().optional(),
1099
+ toolUseId: z.string(),
1100
+ output: z.string(),
1101
+ truncated: z.boolean().optional()
1084
1102
  }),
1085
1103
  z.looseObject({
1086
1104
  ...roleEnvelope("session.toolError"),
1087
- output: z.string()
1105
+ sessionId: z.string().optional(),
1106
+ toolUseId: z.string().optional(),
1107
+ output: z.string(),
1108
+ truncated: z.boolean().optional()
1088
1109
  })
1089
1110
  ]);
1090
1111
  z.looseObject({
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "publishConfig": {
16
16
  "access": "public"
17
17
  },
18
- "version": "1.9.0",
18
+ "version": "1.10.0",
19
19
  "dependencies": {
20
20
  "@clack/prompts": "1.8.1",
21
21
  "@modelcontextprotocol/server": "2.3.0",