@runneth/cli 0.0.0-sha.38007d8a11bd.production → 0.0.0-sha.41e455d0dd81.production
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/dist/src.js +31 -0
- package/package.json +1 -1
package/dist/src.js
CHANGED
|
@@ -4984,6 +4984,36 @@ discriminatedUnion("type", [
|
|
|
4984
4984
|
toolName: _undefined().optional()
|
|
4985
4985
|
}).strict()])
|
|
4986
4986
|
]);
|
|
4987
|
+
const runnethProtocolSchema = _enum([
|
|
4988
|
+
"chat",
|
|
4989
|
+
"relay",
|
|
4990
|
+
"events",
|
|
4991
|
+
"control"
|
|
4992
|
+
]);
|
|
4993
|
+
const protocolVersionsSchema = array(number$1().int().positive()).min(1);
|
|
4994
|
+
const runnethChatVersionSchema = union([
|
|
4995
|
+
literal(1),
|
|
4996
|
+
literal(2),
|
|
4997
|
+
literal(3),
|
|
4998
|
+
literal(4),
|
|
4999
|
+
literal(5)
|
|
5000
|
+
]);
|
|
5001
|
+
object({
|
|
5002
|
+
chat: protocolVersionsSchema,
|
|
5003
|
+
relay: protocolVersionsSchema,
|
|
5004
|
+
events: protocolVersionsSchema,
|
|
5005
|
+
control: protocolVersionsSchema
|
|
5006
|
+
}).strict();
|
|
5007
|
+
object({
|
|
5008
|
+
protocol: runnethProtocolSchema,
|
|
5009
|
+
version: number$1().int().positive()
|
|
5010
|
+
}).strict();
|
|
5011
|
+
object({
|
|
5012
|
+
protocol: runnethProtocolSchema,
|
|
5013
|
+
version: string().trim().regex(/^[1-9]\d*$/u).transform((value) => {
|
|
5014
|
+
return Number.parseInt(value, 10);
|
|
5015
|
+
}).pipe(number$1().int().positive())
|
|
5016
|
+
}).strict();
|
|
4987
5017
|
//#endregion
|
|
4988
5018
|
//#region ../agent-protocol/dist/agent-chat-events.js
|
|
4989
5019
|
const uuidSchema$1 = string().uuid();
|
|
@@ -5276,6 +5306,7 @@ object({
|
|
|
5276
5306
|
]),
|
|
5277
5307
|
content: jsonValueSchema,
|
|
5278
5308
|
sequenceNumber: number$1().int().positive(),
|
|
5309
|
+
runnethChatVersion: runnethChatVersionSchema.optional(),
|
|
5279
5310
|
sourceSeq: number$1().int().positive().optional(),
|
|
5280
5311
|
toolUseId: string().nullable(),
|
|
5281
5312
|
createdDate: string(),
|
package/package.json
CHANGED