spur-board 0.117.1 → 0.119.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.
@@ -1,4 +1,4 @@
1
- import { _ as renderJsonError, at as errorContextSchema, c as tokenRequestStatusSchema, ct as successEnvelopeSchema, o as tokenRequestResultSchema, ot as errorEnvelopeSchema, rt as ERRORS } from "./chunk-CoXzv4dC.mjs";
1
+ import { _ as renderJsonError, at as errorContextSchema, c as tokenRequestStatusSchema, ct as successEnvelopeSchema, o as tokenRequestResultSchema, ot as errorEnvelopeSchema, rt as ERRORS } from "./chunk-CkMLCW2S.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { z } from "zod";
4
4
  import { request } from "node:http";
@@ -1,5 +1,5 @@
1
- import { _t as configSchema, d as buildCatalogSnapshot, p as OPERATIONS, yt as plainHttpAllowed } from "./chunk-CoXzv4dC.mjs";
2
- import { o as CliError, t as fetchCatalogVersion } from "./chunk-Qzs7Xloy.mjs";
1
+ import { _t as configSchema, d as buildCatalogSnapshot, p as OPERATIONS, yt as plainHttpAllowed } from "./chunk-CkMLCW2S.mjs";
2
+ import { o as CliError, t as fetchCatalogVersion } from "./chunk-B1Mpg_7f.mjs";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import { closeSync, constants, fstatSync, lstatSync, mkdirSync, openSync, readFileSync, realpathSync, renameSync, statSync, unlinkSync, writeFileSync } from "node:fs";
5
5
  import { homedir } from "node:os";
@@ -1,5 +1,7 @@
1
1
  import { z } from "zod";
2
2
  // ../contracts/src/enums.ts
3
+ /** Column groups. The dispatcher never moves a task between two columns of one group. */
4
+ const COLUMN_GROUPS = ["todo"];
3
5
  /**
4
6
  * Built-in board columns in canonical order, left to right. Everything stored or addressed
5
7
  * (journal, store, addressee roles) uses the `id`; `name` is display text only.
@@ -8,51 +10,102 @@ const COLUMNS = [
8
10
  {
9
11
  id: "todo",
10
12
  name: "To Do",
11
- required: true
13
+ required: true,
14
+ group: "todo",
15
+ returnable: false,
16
+ marks: false,
17
+ defaultEnabled: true
18
+ },
19
+ {
20
+ id: "triage",
21
+ name: "Triage",
22
+ required: false,
23
+ group: "todo",
24
+ returnable: false,
25
+ marks: false,
26
+ defaultEnabled: false
12
27
  },
13
28
  {
14
29
  id: "ready-for-dev",
15
30
  name: "Ready for Dev",
16
- required: false
31
+ required: false,
32
+ group: "todo",
33
+ returnable: false,
34
+ marks: false,
35
+ defaultEnabled: true
17
36
  },
18
37
  {
19
38
  id: "dev",
20
39
  name: "Dev",
21
- required: true
40
+ required: true,
41
+ group: null,
42
+ returnable: false,
43
+ marks: false,
44
+ defaultEnabled: true
22
45
  },
23
46
  {
24
47
  id: "review",
25
48
  name: "Review",
26
- required: false
49
+ required: false,
50
+ group: null,
51
+ returnable: true,
52
+ marks: true,
53
+ defaultEnabled: true
27
54
  },
28
55
  {
29
56
  id: "product-review",
30
57
  name: "Product Review",
31
- required: false
58
+ required: false,
59
+ group: null,
60
+ returnable: true,
61
+ marks: true,
62
+ defaultEnabled: true
32
63
  },
33
64
  {
34
65
  id: "external-review",
35
66
  name: "External Review",
36
- required: false
67
+ required: false,
68
+ group: null,
69
+ returnable: true,
70
+ marks: false,
71
+ defaultEnabled: true
37
72
  },
38
73
  {
39
74
  id: "qa",
40
75
  name: "QA",
41
- required: false
76
+ required: false,
77
+ group: null,
78
+ returnable: true,
79
+ marks: false,
80
+ defaultEnabled: true
42
81
  },
43
82
  {
44
83
  id: "ready-to-merge",
45
84
  name: "Ready to Merge",
46
- required: false
85
+ required: false,
86
+ group: null,
87
+ returnable: true,
88
+ marks: false,
89
+ defaultEnabled: true
47
90
  },
48
91
  {
49
92
  id: "done",
50
93
  name: "Done",
51
- required: true
94
+ required: true,
95
+ group: null,
96
+ returnable: false,
97
+ marks: false,
98
+ defaultEnabled: true
52
99
  }
53
100
  ];
54
101
  /** Column ids in canonical order. */
55
102
  const COLUMN_IDS = COLUMNS.map((column) => column.id);
103
+ /** Columns of the Todo group in canonical order. */
104
+ const TODO_GROUP_COLUMN_IDS = COLUMNS.filter((column) => column.group === "todo").map((column) => column.id);
105
+ /** True for a column of the Todo group. */
106
+ function isTodoGroupColumn(column) {
107
+ return TODO_GROUP_COLUMN_IDS.includes(column);
108
+ }
56
109
  /** Columns every project board has, enabled. */
57
110
  const REQUIRED_COLUMN_IDS = COLUMNS.filter((column) => column.required).map((column) => column.id);
58
111
  /** Where a column's effective orchestrator comes from: its own column entry or top-level `spurProjects`. */
@@ -122,6 +175,12 @@ const SESSION_END_REASONS = [
122
175
  ];
123
176
  /** How a project's dispatcher runs: `shadow` records moves only, `on` moves tasks and opens turns. */
124
177
  const DISPATCHER_MODES = ["shadow", "on"];
178
+ /** The submitter's declared testing provenance. */
179
+ const SUBMISSION_BASES = [
180
+ "tested",
181
+ "carried",
182
+ "skipped"
183
+ ];
125
184
  /**
126
185
  * How a turn closed: `submitted` by the executor's submit, `returned` by `task.return`, `moved`
127
186
  * when the task moved on (it also covers returns and mode switches recorded by older versions),
@@ -387,11 +446,7 @@ const columnConfig = z.strictObject({
387
446
  requireResolvedThreads: z.boolean().optional().describe("true: a task leaves this column, and every column right of it, only when its PR has no unresolved review thread; an unresolved one sends it back to Dev, and the worker's Dev turn lists each thread. Outdated threads count; a thread counts until someone resolves it, whoever wrote it. Defaults to true on ready-to-merge and false elsewhere; allowed on dev through ready-to-merge.")
388
447
  });
389
448
  /** Columns a task never leaves through the Dev gate, so they cannot require resolved threads. */
390
- const NO_THREAD_GATE = /* @__PURE__ */ new Set([
391
- "todo",
392
- "ready-for-dev",
393
- "done"
394
- ]);
449
+ const NO_THREAD_GATE = /* @__PURE__ */ new Set([...TODO_GROUP_COLUMN_IDS, "done"]);
395
450
  /**
396
451
  * The board rules: required columns present and enabled, resolved threads required only from Dev
397
452
  * to Ready to Merge, built-ins in canonical order.
@@ -464,13 +519,13 @@ const projectSchema = z.strictObject({
464
519
  curator ??= item.name;
465
520
  });
466
521
  }).default([]).describe("Spur projects whose sessions work on this board project, each with a role; at most one curator. An operator listed here replaces the top-level spurProjects operator for this project. Board commands from a session whose Spur project is in no spurProjects list, here or top-level, are refused."),
467
- columns: z.array(columnConfig).superRefine(checkBoard).default(() => COLUMN_IDS.map((id) => ({
522
+ columns: z.array(columnConfig).superRefine(checkBoard).default(() => COLUMNS.map(({ id, defaultEnabled }) => ({
468
523
  id,
469
- enabled: true,
524
+ enabled: defaultEnabled,
470
525
  orchestrator: "none",
471
526
  cycleLimit: DEFAULT_CYCLE_LIMIT,
472
527
  courseCheck: DEFAULT_COURSE_CHECK
473
- }))).describe("The project's board columns in canonical order. todo, dev and done must be present and enabled. A column left out or disabled is skipped. Without this key, all nine columns are enabled with orchestrator none."),
528
+ }))).describe("The project's board columns in canonical order. todo, dev and done must be present and enabled. A column left out or disabled is skipped. Without this key, every built-in column is enabled with orchestrator none except triage, listed disabled. todo, triage and ready-for-dev form the Todo group: the dispatcher never moves a task between them."),
474
529
  dispatcher: z.strictObject({
475
530
  mode: z.enum(DISPATCHER_MODES).default("shadow").describe("shadow: the board evaluates the column gates and records where each task would go in its shadow column, and opens no turn, doorbell or block; the column executor submits with the task key. on: the board moves the task between columns, hands the column executor a turn, and raises the cycle-limit and course-check blocks."),
476
531
  submitConfirmMs: durationMs(18e4, "How long the board waits to confirm a turn submit it accepted pending (no PR linked yet, or GitHub not confirming the head) before handing the turn back to its executor with the reason")
@@ -1151,6 +1206,20 @@ const ERRORS = {
1151
1206
  hint: "Take the turn with `board inbox ack` first; only the session that took it can submit or return it.",
1152
1207
  recovery: noRetry("Take the turn first; only the session that took it can submit or return it.")
1153
1208
  }),
1209
+ submit_basis_invalid: spec("submit_basis_invalid", {
1210
+ status: 409,
1211
+ exit: EXIT_CODES.refused,
1212
+ message: "The submission basis fields are inconsistent.",
1213
+ hint: "Use from and a nonblank reason for carried, a nonblank reason for skipped, and from only with carried.",
1214
+ recovery: noRetry("Correct the basis fields and submit again.")
1215
+ }),
1216
+ submit_source_not_tested: spec("submit_source_not_tested", {
1217
+ status: 409,
1218
+ exit: EXIT_CODES.refused,
1219
+ message: "The source has no tested origin on this task.",
1220
+ hint: "Choose a tested submission SHA on this task, or a carried SHA with a tested origin; otherwise test or explicitly skip with a reason.",
1221
+ recovery: noRetry("Choose a source with a tested origin on this task or change the basis.")
1222
+ }),
1154
1223
  head_mismatch: spec("head_mismatch", {
1155
1224
  status: 409,
1156
1225
  exit: EXIT_CODES.refused,
@@ -2095,6 +2164,10 @@ const eventPayloadSchemas = {
2095
2164
  task_added: z.looseObject({ column: z.enum(COLUMN_IDS) }),
2096
2165
  task_archived: z.looseObject({ reason: z.enum(ARCHIVE_REASONS) }),
2097
2166
  task_submitted: z.looseObject({
2167
+ basis: z.enum(SUBMISSION_BASES).optional(),
2168
+ from: S.optional(),
2169
+ testedOrigin: S.optional(),
2170
+ reason: S.optional(),
2098
2171
  turn: S.optional(),
2099
2172
  column: z.enum(COLUMN_IDS),
2100
2173
  sha: S,
@@ -2628,6 +2701,39 @@ const statusReturnedSchema = z.strictObject({
2628
2701
  block: blockIdSchema.describe("The code block the return opened."),
2629
2702
  findings: z.int().min(0).nullable().describe("Number of review findings the return sent; null when not given.")
2630
2703
  });
2704
+ const latestSubmissionSchema = z.strictObject({
2705
+ column: z.enum(COLUMN_IDS).describe("Column submitted from."),
2706
+ sha: commitShaSchema.describe("Full submitted commit SHA."),
2707
+ at: z.iso.datetime().describe("Submission time, ISO 8601 UTC."),
2708
+ basis: z.enum(SUBMISSION_BASES).describe("Declared testing provenance; tested does not claim tests passed."),
2709
+ from: commitShaSchema.nullable().describe("Supplied source SHA for carried work, otherwise null."),
2710
+ testedOrigin: commitShaSchema.nullable().describe("Original tested submission SHA for carried work, otherwise null."),
2711
+ reason: z.string().max(2e3).nullable().describe("Literal explanation supplied by the submitter."),
2712
+ pending: z.boolean().describe("Whether head confirmation is pending."),
2713
+ voided: z.boolean().describe("Whether this submission has been voided for gate purposes.")
2714
+ }).describe("Latest accepted submission by row order, including pending and voided submissions.").nullable().optional().describe("Latest submission; null when none, absent on older servers.");
2715
+ const summaryCount = (what) => z.int().min(0).describe(what);
2716
+ const prSummarySchema = z.strictObject({
2717
+ repo: prFactsSchema.shape.repo,
2718
+ number: prFactsSchema.shape.number,
2719
+ checks: z.strictObject({
2720
+ pass: summaryCount("Successful or neutral checks."),
2721
+ fail: summaryCount("Failed checks, including skipped."),
2722
+ pending: summaryCount("Expected or pending checks.")
2723
+ }).describe("Required checks when nonempty, otherwise all reported checks; a factual rollup, not a gate verdict."),
2724
+ mergeable: prFactsSchema.shape.mergeable,
2725
+ threads: z.strictObject({
2726
+ unresolved: summaryCount("Unresolved review threads."),
2727
+ total: summaryCount("All review threads.")
2728
+ }).describe("Review thread counts."),
2729
+ reviewsOnHead: z.strictObject({
2730
+ approved: z.array(z.string()).describe("Reviewers approving the current head."),
2731
+ changesRequested: z.array(z.string()).describe("Reviewers requesting changes on the current head.")
2732
+ }).describe("Latest recorded reviews on the current head, without gate filtering."),
2733
+ draft: prFactsSchema.shape.draft,
2734
+ factAt: z.iso.datetime().describe("Snapshot observation time, ISO 8601 UTC."),
2735
+ unconfirmed: z.boolean().describe("Observation is stale or its supporting source is blind or missing.")
2736
+ }).describe("Compact observed pull request facts.");
2631
2737
  // ../contracts/src/ops/schemas.ts
2632
2738
  /**
2633
2739
  * A comment as every output returns it. `untrusted` is always `true`: the text comes from a
@@ -2747,28 +2853,8 @@ const linkViewSchema = z.strictObject({
2747
2853
  }).describe("An effective link to a task.");
2748
2854
  const detailOnly = "Present only with detail.";
2749
2855
  const count = (what) => z.int().min(0).describe(what);
2750
- const prSummarySchema = z.strictObject({
2751
- repo: prFactsSchema.shape.repo,
2752
- number: prFactsSchema.shape.number,
2753
- checks: z.strictObject({
2754
- pass: count("Successful or neutral checks."),
2755
- fail: count("Failed checks, including skipped."),
2756
- pending: count("Expected or pending checks.")
2757
- }).describe("Required checks when nonempty, otherwise all reported checks; a factual rollup, not a gate verdict."),
2758
- mergeable: prFactsSchema.shape.mergeable,
2759
- threads: z.strictObject({
2760
- unresolved: count("Unresolved review threads."),
2761
- total: count("All review threads.")
2762
- }).describe("Review thread counts."),
2763
- reviewsOnHead: z.strictObject({
2764
- approved: z.array(z.string()).describe("Reviewers approving the current head."),
2765
- changesRequested: z.array(z.string()).describe("Reviewers requesting changes on the current head.")
2766
- }).describe("Latest recorded reviews on the current head, without gate filtering."),
2767
- draft: prFactsSchema.shape.draft,
2768
- factAt: z.iso.datetime().describe("Snapshot observation time, ISO 8601 UTC."),
2769
- unconfirmed: z.boolean().describe("Observation is stale or its supporting source is blind or missing.")
2770
- }).describe("Compact observed pull request facts.");
2771
2856
  const statusTaskSchema = taskViewSchema.extend({
2857
+ submission: latestSubmissionSchema,
2772
2858
  columnEnteredAt: z.iso.datetime().nullable().describe("Time the task entered its current real column, ISO 8601 UTC; latest real move or correction, falling back to the original add time, or null if neither is known."),
2773
2859
  shadowColumn: z.enum(COLUMN_IDS).optional().describe("Column the dispatcher works from in shadow mode: where the board would have the task. Present only while the project dispatcher is in shadow mode."),
2774
2860
  shadowDiffers: z.boolean().optional().describe("Whether shadowColumn differs from column. Present only while the project dispatcher is in shadow mode."),
@@ -2904,7 +2990,8 @@ const configViewSchema = z.strictObject({
2904
2990
  "operator"
2905
2991
  ]).describe("Configured executor; worker falls back to operator without a live worker."),
2906
2992
  name: z.string().nullable().describe("Named Spur project, or null for automatic routing.")
2907
- }).describe("Effective column executor.")
2993
+ }).describe("Effective column executor."),
2994
+ group: z.enum(COLUMN_GROUPS).optional().describe("Column group; present only on Todo-group columns.")
2908
2995
  })).describe("Enabled board columns."),
2909
2996
  dispatcher: z.strictObject({ mode: z.enum(DISPATCHER_MODES).describe("Effective dispatcher mode.") }).describe("Dispatcher configuration."),
2910
2997
  spurProjects: z.array(z.strictObject({
@@ -3013,6 +3100,10 @@ const statusOutputSchema = z.strictObject({
3013
3100
  }).describe("Transport health of one gateway.")).describe("Transport health of each chat gateway."),
3014
3101
  sources: z.array(sourceViewSchema).describe("Freshness and availability of each source."),
3015
3102
  tasks: z.array(statusTaskSchema).describe("Tasks with state, turn, PR summary arrays and navigation; full facts with detail."),
3103
+ columnGroups: z.array(z.strictObject({
3104
+ id: z.enum(COLUMN_GROUPS).describe("Column group."),
3105
+ columns: z.array(z.enum(COLUMN_IDS)).describe("Built-in columns of the group in canonical order, enabled or not.")
3106
+ }).describe("One column group.")).describe("Column groups, the same for every project. The dispatcher never moves a task between columns of one group; once work starts it moves the task to the first enabled column right of the group."),
3016
3107
  projectBlocks: z.array(z.strictObject({
3017
3108
  project: z.string().min(1).describe("Board project."),
3018
3109
  openBlocks: z.int().min(0).describe("Open project-level blocks, without a task.")
@@ -3062,6 +3153,7 @@ const taskGetInputSchema = z.strictObject({
3062
3153
  why: z.boolean().optional().describe("Explain why the task is in its column: gates, holds, the open turn and the last moves; absent means no explanation.")
3063
3154
  });
3064
3155
  const taskGetOutputSchema = z.strictObject({
3156
+ submission: latestSubmissionSchema,
3065
3157
  task: taskViewSchema,
3066
3158
  turn: taskTurnSchema.nullable().describe("The task's unclosed turn; null when none is open."),
3067
3159
  turns: z.array(taskTurnSchema).optional().describe("Present only with detail: the last 5 closed turns, newest first."),
@@ -3260,6 +3352,13 @@ const reviewGates = [
3260
3352
  blockedIn: null,
3261
3353
  conditions: []
3262
3354
  },
3355
+ {
3356
+ column: "triage",
3357
+ enabled: false,
3358
+ ok: true,
3359
+ blockedIn: null,
3360
+ conditions: []
3361
+ },
3263
3362
  {
3264
3363
  column: "ready-for-dev",
3265
3364
  enabled: false,
@@ -3412,6 +3511,14 @@ const OPERATIONS = [
3412
3511
  sessions: []
3413
3512
  }
3414
3513
  }],
3514
+ columnGroups: [{
3515
+ id: "todo",
3516
+ columns: [
3517
+ "todo",
3518
+ "triage",
3519
+ "ready-for-dev"
3520
+ ]
3521
+ }],
3415
3522
  projectBlocks: [{
3416
3523
  project: "web",
3417
3524
  openBlocks: 0
@@ -3470,6 +3577,14 @@ const OPERATIONS = [
3470
3577
  prs: [],
3471
3578
  sessions: []
3472
3579
  }],
3580
+ columnGroups: [{
3581
+ id: "todo",
3582
+ columns: [
3583
+ "todo",
3584
+ "triage",
3585
+ "ready-for-dev"
3586
+ ]
3587
+ }],
3473
3588
  projectBlocks: [{
3474
3589
  project: "web",
3475
3590
  openBlocks: 0
@@ -4613,12 +4728,15 @@ const OPERATIONS = [
4613
4728
  kind: "mutation",
4614
4729
  description: "Submit the task's pull request head for a turn this session took; the turn closes; a pending result is final.",
4615
4730
  mcp: {
4616
- whenToUse: "Hand in the work of a turn you took, at the pull request head. While the project dispatcher is in shadow mode no turn opens: the column executor submits with the task key.",
4731
+ whenToUse: "Hand in the work of a turn you took, at the pull request head. Declare tested (default), carried from a tested origin on this task, or skipped; carried requires from and reason, skipped requires reason. While the project dispatcher is in shadow mode no turn opens: the column executor submits with the task key.",
4617
4732
  whenNotToUse: "Use task_return to send the task back to Dev instead."
4618
4733
  },
4619
4734
  input: z.strictObject({
4620
4735
  turn: z.union([turnIdSchema, taskKeyInputSchema]).describe("Turn ID you took (T4); while the project dispatcher is in shadow mode, the task key instead."),
4621
- sha: commitShaSchema.max(64).describe("Full commit SHA at the head of the pull request, lowercase.")
4736
+ sha: commitShaSchema.max(64).describe("Full commit SHA at the head of the pull request, lowercase."),
4737
+ basis: z.enum(SUBMISSION_BASES).optional().describe("Testing provenance: tested (default), carried from a tested origin on this task, or skipped with a reason."),
4738
+ from: commitShaSchema.max(64).optional().describe("Full lowercase source SHA on this task; required only for carried."),
4739
+ reason: z.string().max(2e3).optional().describe("Literal nonblank explanation, up to 2000 UTF-16 units; required for carried and skipped.")
4622
4740
  }),
4623
4741
  output: z.strictObject({
4624
4742
  task: taskViewSchema,
@@ -4633,6 +4751,8 @@ const OPERATIONS = [
4633
4751
  "task_archived",
4634
4752
  "turn_closed",
4635
4753
  "not_turn_taker",
4754
+ "submit_basis_invalid",
4755
+ "submit_source_not_tested",
4636
4756
  "head_mismatch",
4637
4757
  "github_unavailable"
4638
4758
  ],
@@ -4658,6 +4778,25 @@ const OPERATIONS = [
4658
4778
  status: "confirmed"
4659
4779
  }
4660
4780
  },
4781
+ {
4782
+ summary: "Carry tested work from a submission on this task",
4783
+ input: {
4784
+ turn: "T4",
4785
+ sha: submittedSha,
4786
+ basis: "carried",
4787
+ from: "a".repeat(40),
4788
+ reason: "The tested work is unchanged."
4789
+ },
4790
+ output: {
4791
+ task: {
4792
+ ...task,
4793
+ column: "review"
4794
+ },
4795
+ turn: "T4",
4796
+ sha: submittedSha,
4797
+ status: "confirmed"
4798
+ }
4799
+ },
4661
4800
  {
4662
4801
  summary: "Submit a dev turn before the board has seen the pull request",
4663
4802
  input: {
@@ -5038,4 +5177,4 @@ const remoteDoctorReportSchema = z.object({
5038
5177
  function assertNever(value) {
5039
5178
  throw new Error(`Unexpected value: ${JSON.stringify(value)}`);
5040
5179
  }
5041
- export { encodeActorId as $, eventPayloadSchemas as A, REVIEW_STATES as B, messageRefSchema as C, DISPATCHER_MODES as Ct, sortSkillFiles as D, VIAS as Dt, skillReloadFilesSchema as E, TASK_HOLDS as Et, prSourceId as F, prFactsSchema as G, SESSION_STATUSES as H, sessionTransitionSchema as I, sessionFactsSchema as J, prRefSchema as K, sourceCursorSchema as L, batchSchema as M, defaultBranchFactSchema as N, EVENT_KINDS as O, entityRefSchema as P, actorIdSchema as Q, trackerSourceId as R, interactionRefSchema as S, COLUMN_IDS as St, skillReloadFileSchema as T, SLACK_BOT_SCOPES as Tt, isExternalAuthor as U, SESSION_HEALTH_STATES as V, parseRingMarker as W, JIRA_PROJECT_KEY as X, ticketFactsSchema as Y, REF_NUMBER as Z, renderJsonError as _, configSchema as _t, requestHashOf as a, errorContextSchema as at, conversationRefSchema as b, requiredSecretKeys as bt, tokenRequestStatusSchema as c, successEnvelopeSchema as ct, buildCatalogSnapshot as d, DEFAULT_SLACK_APP_NAME as dt, errorCodeOf as et, roleCanUseOperation as f, DEFAULT_SLACK_COMMAND as ft, renderHttpProblem as g, configBindings as gt, turnHandedSchema as h, boardWideSpurProject as ht, TOKEN_REQUEST_LIMITS as i, err as it, AdapterError as j, GATE_REASONS as k, BOARD_TICK_MS as l, DEFAULT_HTTP_PORT as lt, defaultBranchViewSchema as m, RESERVED_PROJECT as mt, doctorReportSchema as n, parseRef as nt, tokenRequestResultSchema as o, errorEnvelopeSchema as ot, OPERATIONS as p, DEFAULT_STAND_PORT_RANGE as pt, ringMarker as q, remoteDoctorReportSchema as r, ERRORS as rt, tokenRequestSchema as s, ok as st, assertNever as t, parseActorId as tt, SYSTEMD_SERVICE_SETTINGS as u, DEFAULT_LINK as ut, renderMcpError as v, defaultAddressee as vt, userIdSchema as w, ITEM_KINDS as wt, inboundEventSchema as x, resolveWebOrigin as xt, SPACE_IDS as y, plainHttpAllowed as yt, PR_STATES as z };
5180
+ export { encodeActorId as $, eventPayloadSchemas as A, isTodoGroupColumn as At, REVIEW_STATES as B, messageRefSchema as C, COLUMN_GROUPS as Ct, sortSkillFiles as D, SLACK_BOT_SCOPES as Dt, skillReloadFilesSchema as E, ITEM_KINDS as Et, prSourceId as F, prFactsSchema as G, SESSION_STATUSES as H, sessionTransitionSchema as I, sessionFactsSchema as J, prRefSchema as K, sourceCursorSchema as L, batchSchema as M, defaultBranchFactSchema as N, EVENT_KINDS as O, TASK_HOLDS as Ot, entityRefSchema as P, actorIdSchema as Q, trackerSourceId as R, interactionRefSchema as S, COLUMNS as St, skillReloadFileSchema as T, DISPATCHER_MODES as Tt, isExternalAuthor as U, SESSION_HEALTH_STATES as V, parseRingMarker as W, JIRA_PROJECT_KEY as X, ticketFactsSchema as Y, REF_NUMBER as Z, renderJsonError as _, configSchema as _t, requestHashOf as a, errorContextSchema as at, conversationRefSchema as b, requiredSecretKeys as bt, tokenRequestStatusSchema as c, successEnvelopeSchema as ct, buildCatalogSnapshot as d, DEFAULT_SLACK_APP_NAME as dt, errorCodeOf as et, roleCanUseOperation as f, DEFAULT_SLACK_COMMAND as ft, renderHttpProblem as g, configBindings as gt, turnHandedSchema as h, boardWideSpurProject as ht, TOKEN_REQUEST_LIMITS as i, err as it, AdapterError as j, GATE_REASONS as k, VIAS as kt, BOARD_TICK_MS as l, DEFAULT_HTTP_PORT as lt, defaultBranchViewSchema as m, RESERVED_PROJECT as mt, doctorReportSchema as n, parseRef as nt, tokenRequestResultSchema as o, errorEnvelopeSchema as ot, OPERATIONS as p, DEFAULT_STAND_PORT_RANGE as pt, ringMarker as q, remoteDoctorReportSchema as r, ERRORS as rt, tokenRequestSchema as s, ok as st, assertNever as t, parseActorId as tt, SYSTEMD_SERVICE_SETTINGS as u, DEFAULT_LINK as ut, renderMcpError as v, defaultAddressee as vt, userIdSchema as w, COLUMN_IDS as wt, inboundEventSchema as x, resolveWebOrigin as xt, SPACE_IDS as y, plainHttpAllowed as yt, PR_STATES as z };
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { D as sortSkillFiles, Q as actorIdSchema, T as skillReloadFileSchema, Tt as SLACK_BOT_SCOPES, _t as configSchema, a as requestHashOf, bt as requiredSecretKeys, ct as successEnvelopeSchema, f as roleCanUseOperation, p as OPERATIONS, pt as DEFAULT_STAND_PORT_RANGE, r as remoteDoctorReportSchema, rt as ERRORS, u as SYSTEMD_SERVICE_SETTINGS, xt as resolveWebOrigin } from "./chunk-CoXzv4dC.mjs";
1
+ import { D as sortSkillFiles, Dt as SLACK_BOT_SCOPES, Q as actorIdSchema, T as skillReloadFileSchema, _t as configSchema, a as requestHashOf, bt as requiredSecretKeys, ct as successEnvelopeSchema, f as roleCanUseOperation, p as OPERATIONS, pt as DEFAULT_STAND_PORT_RANGE, r as remoteDoctorReportSchema, rt as ERRORS, u as SYSTEMD_SERVICE_SETTINGS, xt as resolveWebOrigin } from "./chunk-CkMLCW2S.mjs";
2
2
  import { t as apiBaseUrl } from "./chunk-Bzb7aI8R.mjs";
3
- import { a as requestTokenEnrollment, c as renderCliError, i as requestSkillReload, l as escapeTerminalControls, n as fetchTokenStatus, o as CliError, r as requestOperation, s as errorExitCode } from "./chunk-Qzs7Xloy.mjs";
4
- import { a as memoryVerdictCache, c as loadClientConfig, d as resolveDaemonAddress, f as tokenInFolder, i as fileVerdictCache, l as loadEnrollmentConfig, n as cliPackageVersion, o as configFile, s as dataDirectory, t as checkCatalog, u as readConfiguredPort } from "./chunk-BXfL5iBi.mjs";
3
+ import { a as requestTokenEnrollment, c as renderCliError, i as requestSkillReload, l as escapeTerminalControls, n as fetchTokenStatus, o as CliError, r as requestOperation, s as errorExitCode } from "./chunk-B1Mpg_7f.mjs";
4
+ import { a as memoryVerdictCache, c as loadClientConfig, d as resolveDaemonAddress, f as tokenInFolder, i as fileVerdictCache, l as loadEnrollmentConfig, n as cliPackageVersion, o as configFile, s as dataDirectory, t as checkCatalog, u as readConfiguredPort } from "./chunk-CBZ5yyYo.mjs";
5
5
  import { createHash, randomBytes, randomUUID } from "node:crypto";
6
6
  import { accessSync, chmodSync, closeSync, constants, cpSync, existsSync, ftruncateSync, lstatSync, mkdirSync, mkdtempSync, openSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync, writeSync } from "node:fs";
7
7
  import { homedir, hostname, tmpdir, userInfo } from "node:os";
package/dist/client.mjs CHANGED
@@ -1 +1 @@
1
- export { t as fetchCatalogVersion, n as fetchTokenStatus, r as requestOperation, i as requestSkillReload, a as requestTokenEnrollment } from "./chunk-Qzs7Xloy.mjs";
1
+ export { t as fetchCatalogVersion, n as fetchTokenStatus, r as requestOperation, i as requestSkillReload, a as requestTokenEnrollment } from "./chunk-B1Mpg_7f.mjs";