@tickernelz/paperclip-pro 2026.1002.0 → 2026.1002.2
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.js +5 -2
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -17561,20 +17561,23 @@ var init_execution_projection = __esm({
|
|
|
17561
17561
|
|
|
17562
17562
|
// ../packages/shared/src/types/pixels-office.ts
|
|
17563
17563
|
import { z as z65 } from "zod";
|
|
17564
|
-
var pixelsOfficeTaskStatusSchema, pixelsOfficeAgentStatusSchema, pixelsOfficeSeatAssignmentSchema, pixelsOfficeSeatAssignmentsSchema;
|
|
17564
|
+
var pixelsOfficeTaskStatusSchema, pixelsOfficeAgentStatusSchema, pixelsOfficeRunStatusSchema, pixelsOfficeSeatAssignmentSchema, pixelsOfficeSeatAssignmentsSchema;
|
|
17565
17565
|
var init_pixels_office = __esm({
|
|
17566
17566
|
"../packages/shared/src/types/pixels-office.ts"() {
|
|
17567
17567
|
"use strict";
|
|
17568
17568
|
init_constants();
|
|
17569
17569
|
pixelsOfficeTaskStatusSchema = z65.enum(ISSUE_STATUSES);
|
|
17570
17570
|
pixelsOfficeAgentStatusSchema = z65.enum(AGENT_STATUSES);
|
|
17571
|
+
pixelsOfficeRunStatusSchema = z65.enum(["queued", "running"]);
|
|
17571
17572
|
pixelsOfficeSeatAssignmentSchema = z65.object({
|
|
17572
17573
|
agentId: z65.string().guid(),
|
|
17573
17574
|
characterIndex: z65.number().int().min(0),
|
|
17574
17575
|
seatId: z65.string().min(1).max(200)
|
|
17575
17576
|
});
|
|
17576
17577
|
pixelsOfficeSeatAssignmentsSchema = z65.object({
|
|
17577
|
-
assignments: z65.array(pixelsOfficeSeatAssignmentSchema).max(500)
|
|
17578
|
+
assignments: z65.array(pixelsOfficeSeatAssignmentSchema).max(500).refine((list) => new Set(list.map((entry) => entry.agentId)).size === list.length, {
|
|
17579
|
+
message: "Each agent can hold at most one seat assignment"
|
|
17580
|
+
})
|
|
17578
17581
|
}).strict();
|
|
17579
17582
|
}
|
|
17580
17583
|
});
|