ac-teams 0.0.18 → 0.0.19
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/package.json +1 -1
- package/src/schemas.ts +4 -4
package/package.json
CHANGED
package/src/schemas.ts
CHANGED
|
@@ -34,16 +34,16 @@ export const TaskSchema = Type.Object({
|
|
|
34
34
|
offset: Type.Optional(Type.Integer({ minimum: 0 })), limit: Type.Optional(Type.Integer({ minimum: 1, maximum: 100 })),
|
|
35
35
|
action: Type.Union(["create", "list", "read", "edit", "claim", "start", "release", "complete", "reopen"].map(v => Type.Literal(v))),
|
|
36
36
|
id: Type.Optional(id), ...taskFields,
|
|
37
|
-
summary: Type.Optional(Type.String({ minLength: 1, maxLength: 16000, description: "Complete:
|
|
38
|
-
detail: Type.Optional(Type.String({ minLength: 1, maxLength: 16000, description: "Complete: optional supporting
|
|
37
|
+
summary: Type.Optional(Type.String({ minLength: 1, maxLength: 16000, description: "Complete: brief outcome, required action, and critical caveats, published atomically with done and delivered in notices. Put supporting evidence, file references, and check-by-check results in detail." })),
|
|
38
|
+
detail: Type.Optional(Type.String({ minLength: 1, maxLength: 16000, description: "Complete: optional supporting evidence, checks run, file references, and fuller limitations, read on demand." })),
|
|
39
39
|
tasks: Type.Optional(Type.Array(Type.Object({ ...taskFields, title: Type.String({ minLength: 1, maxLength: 500 }) }, { additionalProperties: false }), { minItems: 1, maxItems: 100, description: "Create several tasks atomically. Use instead of top-level task fields. Dependencies must refer to existing task IDs, not items in this batch." })),
|
|
40
40
|
}, { additionalProperties: false });
|
|
41
41
|
export const MessageSchema = Type.Object({
|
|
42
42
|
action: Type.Union(["send", "history", "search", "wait"].map(v => Type.Literal(v))),
|
|
43
43
|
tasks: Type.Optional(Type.Array(id, { maxItems: 100, uniqueItems: true, description: "Wait: also wake on posts linked to these tasks, e.g. ones you delegated." })),
|
|
44
44
|
recipients: Type.Optional(Type.Array(id, { minItems: 1, maxItems: 100, uniqueItems: true, description: "Exact teammate names or member IDs." })),
|
|
45
|
-
summary: Type.Optional(Type.String({ minLength: 1, maxLength: 16000, description: "Send:
|
|
46
|
-
detail: Type.Optional(Type.String({ minLength: 1, maxLength: 16000, description: "Send: optional supporting
|
|
45
|
+
summary: Type.Optional(Type.String({ minLength: 1, maxLength: 16000, description: "Send: brief outcome, question, or update, with any required action and critical caveats, delivered directly to recipients. Put supporting evidence, file references, and check-by-check results in detail." })),
|
|
46
|
+
detail: Type.Optional(Type.String({ minLength: 1, maxLength: 16000, description: "Send: optional supporting evidence, checks run, file references, and fuller limitations, read only when needed." })),
|
|
47
47
|
task: Type.Optional(Type.String({ minLength: 1, maxLength: 128, description: "Send: link an existing task; its owner and delegator receive the post." })),
|
|
48
48
|
replyTo: Type.Optional(Type.String({ minLength: 1, maxLength: 128, description: "Send: the post ID this answers; its author receives the reply and it stays on that post's task." })),
|
|
49
49
|
query: Type.Optional(Type.String({ minLength: 1, maxLength: 500 })),
|