@agentrix/shared 1.0.10 → 1.0.12
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/index.cjs +11 -0
- package/dist/index.d.cts +345 -108
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -267,6 +267,8 @@ const TaskItemSchema = zod.z.object({
|
|
|
267
267
|
baseBranch: zod.z.string().nullable(),
|
|
268
268
|
title: zod.z.string().nullable(),
|
|
269
269
|
// Task title (can be set by worker)
|
|
270
|
+
customTitle: zod.z.string().nullable(),
|
|
271
|
+
// Custom task title (set by user, takes priority over title)
|
|
270
272
|
agentSessionId: zod.z.string().nullable(),
|
|
271
273
|
dataEncryptionKey: zod.z.string().nullable(),
|
|
272
274
|
cwd: zod.z.string().nullable(),
|
|
@@ -443,6 +445,13 @@ const UnarchiveTaskResponseSchema = zod.z.object({
|
|
|
443
445
|
success: zod.z.boolean(),
|
|
444
446
|
task: TaskItemSchema
|
|
445
447
|
});
|
|
448
|
+
const UpdateTaskTitleRequestSchema = zod.z.object({
|
|
449
|
+
customTitle: zod.z.string().min(1).max(200)
|
|
450
|
+
});
|
|
451
|
+
const UpdateTaskTitleResponseSchema = zod.z.object({
|
|
452
|
+
success: zod.z.boolean(),
|
|
453
|
+
task: TaskItemSchema
|
|
454
|
+
});
|
|
446
455
|
|
|
447
456
|
const ChatMemberSchema = zod.z.object({
|
|
448
457
|
id: IdSchema,
|
|
@@ -2017,6 +2026,8 @@ exports.UpdateAgentResponseSchema = UpdateAgentResponseSchema;
|
|
|
2017
2026
|
exports.UpdateOAuthServerRequestSchema = UpdateOAuthServerRequestSchema;
|
|
2018
2027
|
exports.UpdateOAuthServerResponseSchema = UpdateOAuthServerResponseSchema;
|
|
2019
2028
|
exports.UpdateTaskAgentSessionIdEventSchema = UpdateTaskAgentSessionIdEventSchema;
|
|
2029
|
+
exports.UpdateTaskTitleRequestSchema = UpdateTaskTitleRequestSchema;
|
|
2030
|
+
exports.UpdateTaskTitleResponseSchema = UpdateTaskTitleResponseSchema;
|
|
2020
2031
|
exports.UploadUrlResultSchema = UploadUrlResultSchema;
|
|
2021
2032
|
exports.UserBalanceResponseSchema = UserBalanceResponseSchema;
|
|
2022
2033
|
exports.UserBasicInfoSchema = UserBasicInfoSchema;
|