@sjawhar/pi-envoy 8.9.0 → 8.10.0
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/dispatch.js +3 -2
- package/dist/envoy.js +3 -2
- package/package.json +1 -1
package/dist/dispatch.js
CHANGED
|
@@ -13557,6 +13557,7 @@ function serviceSubjectLabel(subject) {
|
|
|
13557
13557
|
}
|
|
13558
13558
|
return subject;
|
|
13559
13559
|
}
|
|
13560
|
+
var ISSUE_TITLE_MAX = 1000;
|
|
13560
13561
|
var MAX_ISSUE_PAGE_LIMIT = 250;
|
|
13561
13562
|
var DEFAULT_ISSUE_PAGE_LIMIT = 50;
|
|
13562
13563
|
var ASK_TURNS = ["human", "agent"];
|
|
@@ -14017,7 +14018,7 @@ var dispatchToolSpecs = [
|
|
|
14017
14018
|
description: "Create a native Dispatch issue for newly tracked work. Search first with dispatch search; if potentially duplicate issues exist, this returns 409 POSSIBLE_DUPLICATE unless --force is set after reading them. " + "A spec holding an ask block whose body breaks its content rule (one or more question paragraphs, then at most one bullet list of options, last) is refused with 400 INVALID_ASK_BLOCK. " + `Do not use it when an existing issue already covers the work; read or update that issue instead. ${ISSUE_REFERENCE}`,
|
|
14018
14019
|
arguments: (z2) => ({
|
|
14019
14020
|
project: z2.string().describe("Project key for the new issue."),
|
|
14020
|
-
title: z2.string().describe("Concise issue title."),
|
|
14021
|
+
title: z2.string({ max: ISSUE_TITLE_MAX }).describe("Concise issue title, at most 1,000 characters."),
|
|
14021
14022
|
parent: z2.string().describe("Optional parent issue.").optional(),
|
|
14022
14023
|
external: z2.string().describe("Optional external issue reference.").optional(),
|
|
14023
14024
|
force: z2.boolean().describe("Create even though POSSIBLE_DUPLICATE listed similar issues; pass it only after reading them.").optional(),
|
|
@@ -14040,7 +14041,7 @@ var dispatchToolSpecs = [
|
|
|
14040
14041
|
issue: z2.string().describe(ISSUE_REFERENCE),
|
|
14041
14042
|
status: z2.enum(ISSUE_STATUSES).describe("New lifecycle status.").optional(),
|
|
14042
14043
|
reason: z2.string({ max: 2000 }).describe("Required with status done, and only with it: why the issue is closing, at most 2,000 characters. Posted on the issue as a message before it closes.").optional(),
|
|
14043
|
-
title: z2.string({ min: 1 }).describe("Replacement title.").optional(),
|
|
14044
|
+
title: z2.string({ min: 1, max: ISSUE_TITLE_MAX }).describe("Replacement title, at most 1,000 characters.").optional(),
|
|
14044
14045
|
labels: z2.array(z2.string({ min: 1, max: 40 }), { max: 20 }).describe("Replacement label set, at most 20 labels of up to 40 characters; replaces every existing label.").optional(),
|
|
14045
14046
|
priority: z2.number({ int: true, min: 0, max: 3 }).nullable().optional().describe("Coarse priority: 0 is P0 (highest) through 3 is P3 (lowest); null clears it."),
|
|
14046
14047
|
external_links: z2.array(z2.string({ min: 1 })).describe("URLs to link; merged into the issue's existing external links by URL.").optional(),
|
package/dist/envoy.js
CHANGED
|
@@ -29647,6 +29647,7 @@ function date4(params) {
|
|
|
29647
29647
|
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/external.js
|
|
29648
29648
|
config(en_default());
|
|
29649
29649
|
// ../contracts/src/dispatch-api.ts
|
|
29650
|
+
var ISSUE_TITLE_MAX = 1000;
|
|
29650
29651
|
var MAX_ISSUE_PAGE_LIMIT = 250;
|
|
29651
29652
|
var DEFAULT_ISSUE_PAGE_LIMIT = 50;
|
|
29652
29653
|
var ASK_TURNS = ["human", "agent"];
|
|
@@ -30000,7 +30001,7 @@ var dispatchToolSpecs = [
|
|
|
30000
30001
|
description: "Create a native Dispatch issue for newly tracked work. Search first with dispatch search; if potentially duplicate issues exist, this returns 409 POSSIBLE_DUPLICATE unless --force is set after reading them. " + "A spec holding an ask block whose body breaks its content rule (one or more question paragraphs, then at most one bullet list of options, last) is refused with 400 INVALID_ASK_BLOCK. " + `Do not use it when an existing issue already covers the work; read or update that issue instead. ${ISSUE_REFERENCE}`,
|
|
30001
30002
|
arguments: (z2) => ({
|
|
30002
30003
|
project: z2.string().describe("Project key for the new issue."),
|
|
30003
|
-
title: z2.string().describe("Concise issue title."),
|
|
30004
|
+
title: z2.string({ max: ISSUE_TITLE_MAX }).describe("Concise issue title, at most 1,000 characters."),
|
|
30004
30005
|
parent: z2.string().describe("Optional parent issue.").optional(),
|
|
30005
30006
|
external: z2.string().describe("Optional external issue reference.").optional(),
|
|
30006
30007
|
force: z2.boolean().describe("Create even though POSSIBLE_DUPLICATE listed similar issues; pass it only after reading them.").optional(),
|
|
@@ -30023,7 +30024,7 @@ var dispatchToolSpecs = [
|
|
|
30023
30024
|
issue: z2.string().describe(ISSUE_REFERENCE),
|
|
30024
30025
|
status: z2.enum(ISSUE_STATUSES).describe("New lifecycle status.").optional(),
|
|
30025
30026
|
reason: z2.string({ max: 2000 }).describe("Required with status done, and only with it: why the issue is closing, at most 2,000 characters. Posted on the issue as a message before it closes.").optional(),
|
|
30026
|
-
title: z2.string({ min: 1 }).describe("Replacement title.").optional(),
|
|
30027
|
+
title: z2.string({ min: 1, max: ISSUE_TITLE_MAX }).describe("Replacement title, at most 1,000 characters.").optional(),
|
|
30027
30028
|
labels: z2.array(z2.string({ min: 1, max: 40 }), { max: 20 }).describe("Replacement label set, at most 20 labels of up to 40 characters; replaces every existing label.").optional(),
|
|
30028
30029
|
priority: z2.number({ int: true, min: 0, max: 3 }).nullable().optional().describe("Coarse priority: 0 is P0 (highest) through 3 is P3 (lowest); null clears it."),
|
|
30029
30030
|
external_links: z2.array(z2.string({ min: 1 })).describe("URLs to link; merged into the issue's existing external links by URL.").optional(),
|