@sjawhar/pi-legion 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.
Files changed (2) hide show
  1. package/dist/legion.js +4 -3
  2. package/package.json +1 -1
package/dist/legion.js CHANGED
@@ -13700,6 +13700,7 @@ function activeDispatchConfig(env, options = {}) {
13700
13700
  }
13701
13701
 
13702
13702
  // ../contracts/src/dispatch-api.ts
13703
+ var ISSUE_TITLE_MAX = 1000;
13703
13704
  var MAX_ISSUE_PAGE_LIMIT = 250;
13704
13705
  var DEFAULT_ISSUE_PAGE_LIMIT = 50;
13705
13706
  var ASK_TURNS = ["human", "agent"];
@@ -14022,7 +14023,7 @@ var dispatchToolSpecs = [
14022
14023
  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}`,
14023
14024
  arguments: (z2) => ({
14024
14025
  project: z2.string().describe("Project key for the new issue."),
14025
- title: z2.string().describe("Concise issue title."),
14026
+ title: z2.string({ max: ISSUE_TITLE_MAX }).describe("Concise issue title, at most 1,000 characters."),
14026
14027
  parent: z2.string().describe("Optional parent issue.").optional(),
14027
14028
  external: z2.string().describe("Optional external issue reference.").optional(),
14028
14029
  force: z2.boolean().describe("Create even though POSSIBLE_DUPLICATE listed similar issues; pass it only after reading them.").optional(),
@@ -14045,7 +14046,7 @@ var dispatchToolSpecs = [
14045
14046
  issue: z2.string().describe(ISSUE_REFERENCE),
14046
14047
  status: z2.enum(ISSUE_STATUSES).describe("New lifecycle status.").optional(),
14047
14048
  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(),
14048
- title: z2.string({ min: 1 }).describe("Replacement title.").optional(),
14049
+ title: z2.string({ min: 1, max: ISSUE_TITLE_MAX }).describe("Replacement title, at most 1,000 characters.").optional(),
14049
14050
  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(),
14050
14051
  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."),
14051
14052
  external_links: z2.array(z2.string({ min: 1 })).describe("URLs to link; merged into the issue's existing external links by URL.").optional(),
@@ -15309,7 +15310,7 @@ function onEnvoyRoleRegained(listener) {
15309
15310
  // package.json
15310
15311
  var package_default = {
15311
15312
  name: "@sjawhar/pi-legion",
15312
- version: "8.9.0",
15313
+ version: "8.10.0",
15313
15314
  license: "Apache-2.0",
15314
15315
  type: "module",
15315
15316
  omp: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion",
3
- "version": "8.9.0",
3
+ "version": "8.10.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "omp": {