mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-03 09:37:19 +01:00
Merge qualified backup expiration parent into GitHub connection work
Co-Authored-By: Paperclip <noreply@paperclip.ing> * commit 'aae32f2f493848199f6cb8c0a9996af3ee0061b1': (30 commits) Scope status-card refresh tasks to their claim revision test(chat): retain completion identity before link metadata loads test(chat): locate completion through its rendered task link fix(chat): recover committed native Agent Chat replies (#18465) perf(heartbeat): drive retry promotion from durable deadlines (#18387) fix(ui): make the Coordinator composer footer opaque (#18455) fix(testops): verify unexpanded result job runs (#18462) test(server): observe restored Retry before draining unrelated work test(runner): own listener cleanup across setup failures test(runner): buffer upgrade frames until the wire subscribes fix(runner): preserve OpenCode written-answer defaults (#18456) fix(native): fence retries when replaying an audited Stop (#18457) test: await async outcomes and drive saved deadlines deterministically (#18416) fix(ui): retain startup autosave through session recovery (#18412) perf(server): recover independent native replies concurrently (#18421) perf(chat): scope task questions and batch inbox queue checks (#18422) fix(native): recover controllers across webserver replacement (#18343) fix(ui): restore task document authoring and add persistence journey (#18356) fix(tools): stabilize tied profile entry order (#18427) fix(adapter-utils): tolerate entries removed during workspace snapshots (#18426) ...
This commit is contained in:
commit
f522ab07e2
484 files changed
+33834
-1620
No files matched your search
@@ -460,6 +460,8 @@ export {
|
||||
issueCommentMetadataSectionSchema,
|
||||
issueCommentMetadataSchema,
|
||||
addIssueCommentSchema,
|
||||
sendChatMessageSchema,
|
||||
markIssueReadSchema,
|
||||
issueThreadInteractionStatusSchema,
|
||||
issueThreadInteractionKindSchema,
|
||||
issueThreadInteractionCanonicalResolverPolicySchema,
|
||||
|
||||
@@ -1101,6 +1101,12 @@ export const issueCommentMetadataSectionSchema = z
|
||||
export const issueCommentMetadataSchema = z
|
||||
.object({
|
||||
version: z.literal(1),
|
||||
chatMessage: z.object({
|
||||
sourceTaskId: z.uuid(),
|
||||
sourceTaskIdentifier: z.string().min(1).max(80),
|
||||
sourceRunId: z.uuid(),
|
||||
contentHash: z.string().regex(/^[a-f0-9]{64}$/),
|
||||
}).strict().optional(),
|
||||
recoveryResponsibility: z.enum(["system", "user"]).optional(),
|
||||
sourceChannel: z.enum(CHAT_PROVIDERS).optional(),
|
||||
sourceRunId: z.string().guid().nullable().optional(),
|
||||
@@ -1125,6 +1131,13 @@ export const issueCommentMetadataSchema = z
|
||||
|
||||
export type IssueCommentMetadata = z.infer<typeof issueCommentMetadataSchema>;
|
||||
|
||||
export const sendChatMessageSchema = z.object({
|
||||
body: multilineTextSchema.pipe(z.string().trim().min(1).max(20000)),
|
||||
idempotencyKey: z.string().trim().min(1).max(240),
|
||||
}).strict();
|
||||
|
||||
export const markIssueReadSchema = z.object({ throughCommentId: z.uuid().optional() }).strict();
|
||||
|
||||
export const addIssueCommentSchema = z.object({
|
||||
clientRequestId: z.string().uuid().optional(),
|
||||
body: multilineTextSchema.pipe(z.string().min(1)),
|
||||
|
||||
Reference in new issue
Block a user