spur-board 0.123.0 → 0.125.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,5 +1,5 @@
1
- import { _t as configSchema, d as buildCatalogSnapshot, p as OPERATIONS, yt as plainHttpAllowed } from "./chunk-w6KrYs3j.mjs";
2
- import { o as CliError, t as fetchCatalogVersion } from "./chunk-DS95rV33.mjs";
1
+ import { bt as plainHttpAllowed, d as buildCatalogSnapshot, p as OPERATIONS, vt as configSchema } from "./chunk-CY5-uNaf.mjs";
2
+ import { o as CliError, t as fetchCatalogVersion } from "./chunk-DcRmoCME.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";
@@ -455,8 +455,11 @@ const columnConfig = z.strictObject({
455
455
  cycleLimit: z.int().min(1).default(DEFAULT_CYCLE_LIMIT).describe("How many times a task may return to Dev from this column before the board stops it for the operator. Returns by the column executor, for external comments and for unresolved review threads count, a changes-requested review included (it is an external comment, not a separate return); a conflict, red CI and a draft do not."),
456
456
  courseCheck: z.int().min(0).default(DEFAULT_COURSE_CHECK).describe("How many returns to Dev from this column, counted as for cycleLimit, before the board holds the task and asks courseCheckTo (by default the curator, or the operator when the project has no curator) to check its course. The answer resets the count and reaches the worker as a task comment. 0 turns the check off; cycleLimit is checked first."),
457
457
  courseCheckTo: nonEmpty.optional().describe("Who answers this column's course check: operator, the curator's name, or the name of a column orchestrator listed in this project's spurProjects; a board-wide orchestrator is refused. Without it, the curator, or the operator when the project has no curator. When the addressee has no live session the question moves to the operator; a conductor that is rung and does not answer keeps it, and the operator gets an item."),
458
- 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.")
458
+ 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."),
459
+ quietTurnAfterMs: z.int().min(1).optional().describe("How long the orchestrator session holding a turn of this column may sit quiet at its prompt before the board reminds it, then raises a stuck-turn anomaly, in milliseconds. Defaults to health.idleInDevAfterMs. Named orchestrator only: allowed on an enabled column whose orchestrator is a Spur project, set here or filled board-wide; a worker or operator turn left in the column keeps health.idleInDevAfterMs."),
460
+ noRecipientAfterMs: z.int().min(1).optional().describe("How long an untaken turn of this column may wait with no live session to ring before the board raises one operator item for the project and column, in milliseconds. The time runs from the later of the turn ring's creation and the moment the last session that could take it stopped being a recipient: the first of its end, leaving Spur's list or reaching a finished state (stopped, killed, errored or completed), so later changes in the same gap do not move it. Sessions that could take it are those of the column's Spur project and the task's linked orchestrator. Defaults to 600000 (10 minutes). Named orchestrator only: allowed on an enabled column whose orchestrator is a Spur project, set here or filled board-wide.")
459
461
  });
462
+ const TURN_TIMING_KEYS = ["quietTurnAfterMs", "noRecipientAfterMs"];
460
463
  /** Columns a task never leaves through the Dev gate, so they cannot require resolved threads. */
461
464
  const NO_THREAD_GATE = /* @__PURE__ */ new Set([...TODO_GROUP_COLUMN_IDS, "done"]);
462
465
  /**
@@ -792,7 +795,7 @@ const configObject = z.strictObject({
792
795
  turnStallAfterMs: durationMs(6e5, "How long an unhealthy open-turn executor waits before a curator or operator block"),
793
796
  errorAfterMs: durationMs(9e4, "How long a session stays in error before it is flagged"),
794
797
  needsInputAfterMs: durationMs(12e4, "How long a session waits for input before it is flagged"),
795
- idleInDevAfterMs: durationMs(18e5, "How long a worker session without an open PR, or the executor of a taken turn, waits at its prompt before it is flagged"),
798
+ idleInDevAfterMs: durationMs(18e5, "How long a worker session without an open PR, or the executor of a taken turn, waits at its prompt before it is flagged; an orchestrator turn uses its column quietTurnAfterMs when set"),
796
799
  flipSmoothingMs: durationMs(3e4, "How long a new session health value must hold before it is reported"),
797
800
  hostLoad: z.strictObject({
798
801
  sessions: z.int().min(1).default(3).describe("Sessions entering error within the window that start an episode."),
@@ -908,12 +911,41 @@ function checkBoardWideAgainstProjects(config, ctx) {
908
911
  shortNames.add(shortName);
909
912
  });
910
913
  }
914
+ /** Whether a column, before board-wide expansion, is enabled and taken by a named Spur project. */
915
+ function namedOrchestratorColumn(config, column) {
916
+ if (!column.enabled || column.orchestrator === "operator") return false;
917
+ if (column.orchestrator !== "none") return true;
918
+ return config.spurProjects.some((entry) => entry.role !== "operator" && fills(entry, column));
919
+ }
920
+ /** `quietTurnAfterMs` and `noRecipientAfterMs` only on enabled named-orchestrator columns. */
921
+ function checkTurnTimings(config, ctx) {
922
+ config.projects.forEach((project, i) => {
923
+ const allowed = project.columns.filter((column) => namedOrchestratorColumn(config, column)).map((column) => column.id);
924
+ project.columns.forEach((column, j) => {
925
+ if (namedOrchestratorColumn(config, column)) return;
926
+ for (const key of TURN_TIMING_KEYS) {
927
+ if (column[key] === void 0) continue;
928
+ ctx.addIssue({
929
+ code: "custom",
930
+ path: [
931
+ "projects",
932
+ i,
933
+ "columns",
934
+ j,
935
+ key
936
+ ],
937
+ message: `${key} is allowed only on an enabled column with a named orchestrator: ${allowed.length === 0 ? `project ${project.id} has none` : `in project ${project.id} use one of ${allowed.join(", ")}`}`
938
+ });
939
+ }
940
+ });
941
+ });
942
+ }
911
943
  /**
912
944
  * The board config file. Every object rejects unknown keys; no key holds a secret. The parsed
913
945
  * value has top-level `spurProjects` applied to every board project's columns and
914
946
  * `spurProjects` (`expandBoardWide`), so readers of `projects[]` see the effective bindings.
915
947
  */
916
- const configSchema = configObject.superRefine(checkBoardWideAgainstProjects).superRefine((config, ctx) => {
948
+ const configSchema = configObject.superRefine(checkBoardWideAgainstProjects).superRefine(checkTurnTimings).superRefine((config, ctx) => {
917
949
  const { web } = config;
918
950
  if (web.publicOrigin !== void 0 && !validOrigin(web.publicOrigin, web.port)) ctx.addIssue({
919
951
  code: "custom",
@@ -972,6 +1004,19 @@ function boardWideSpurProject(config, name) {
972
1004
  return config.spurProjects.find((entry) => entry.name === name);
973
1005
  }
974
1006
  /**
1007
+ * The effective turn timings of a project column, defaults applied; null when the column is
1008
+ * missing, disabled or not taken by a named Spur project.
1009
+ */
1010
+ function columnTurnTimings(config, projectId, column) {
1011
+ const entry = config.projects.find((project) => project.id === projectId)?.columns.find((candidate) => candidate.id === column);
1012
+ if (entry === void 0 || !entry.enabled || entry.orchestrator === "none" || entry.orchestrator === "operator") return null;
1013
+ return {
1014
+ orchestrator: entry.orchestrator,
1015
+ quietTurnAfterMs: entry.quietTurnAfterMs ?? config.health.idleInDevAfterMs,
1016
+ noRecipientAfterMs: entry.noRecipientAfterMs ?? 6e5
1017
+ };
1018
+ }
1019
+ /**
975
1020
  * `slack.defaultAddressee`; else the board-wide operator; else, once any shortName is set, the
976
1021
  * operator of the first board project that lists one; else null.
977
1022
  */
@@ -3009,7 +3054,9 @@ const configViewSchema = z.strictObject({
3009
3054
  ]).describe("Configured executor; worker falls back to operator without a live worker."),
3010
3055
  name: z.string().nullable().describe("Named Spur project, or null for automatic routing.")
3011
3056
  }).describe("Effective column executor."),
3012
- group: z.enum(COLUMN_GROUPS).optional().describe("Column group; present only on Todo-group columns.")
3057
+ group: z.enum(COLUMN_GROUPS).optional().describe("Column group; present only on Todo-group columns."),
3058
+ quietTurnAfterMs: z.int().min(1).optional().describe("Effective quiet time of an orchestrator turn before its reminder, in milliseconds; present only on columns with a named orchestrator."),
3059
+ noRecipientAfterMs: z.int().min(1).optional().describe("Effective wait of an untaken turn with no live session before the operator item, in milliseconds; present only on columns with a named orchestrator.")
3013
3060
  })).describe("Enabled board columns."),
3014
3061
  dispatcher: z.strictObject({ mode: z.enum(DISPATCHER_MODES).describe("Effective dispatcher mode.") }).describe("Dispatcher configuration."),
3015
3062
  spurProjects: z.array(z.strictObject({
@@ -3025,6 +3072,73 @@ const configViewSchema = z.strictObject({
3025
3072
  spurUiOrigin: z.url({ protocol: /^https?$/ }).nullable().describe("Origin of the Spur web UI clients link sessions to; HTTP works on any host without voice. Null when not configured; UI reachability only warns in doctor and never blocks updates.")
3026
3073
  }).describe("Web origins of the board listener and the Spur UI.")
3027
3074
  }).describe("Allowlisted effective configuration without credentials or adapter settings.");
3075
+ // ../contracts/src/ops/columns-schema.ts
3076
+ const configProject = configViewSchema.shape.projects.element;
3077
+ const session = z.strictObject({
3078
+ id: statusSessionFactsSchema.shape.id,
3079
+ links: statusSessionFactsSchema.shape.links
3080
+ });
3081
+ const destination = z.strictObject({
3082
+ role: z.enum(ADDRESSEE_ROLES).describe("Runtime addressee role."),
3083
+ project: z.string().nullable().describe("Named Spur project, or null for the operator or task worker."),
3084
+ displayName: z.string().nullable().describe("Configured display name, falling back to project name."),
3085
+ session: session.nullable().describe("Project-selected live session, as in doctor; task-linked or author sessions can override it. Null when absent or task-specific."),
3086
+ text: z.string().describe("Routing and no-session behavior.")
3087
+ });
3088
+ const columnsDescribeOutputSchema = z.strictObject({ projects: z.array(z.strictObject({
3089
+ id: configProject.shape.id,
3090
+ dispatcher: configProject.shape.dispatcher,
3091
+ checksGate: z.enum(CHECKS_GATE_COLUMNS).describe("Effective column requiring green checks."),
3092
+ reposWithoutCi: z.array(z.string()).describe("Repositories whose open PR with no checks and no required checks passes CI; does not waive failed or pending checks."),
3093
+ resolvedThreadsFrom: z.enum(COLUMN_IDS).nullable().describe("Leftmost enabled thread gate, or null when none."),
3094
+ completion: z.strictObject({
3095
+ to: z.literal("done").describe("Completion destination, separate from ordinary gate progression."),
3096
+ text: z.string().describe("Alternative completion routes: eligible linked merged PR with a tracker-done ticket (GitHub closed or effective Jira doneStatuses), or a done ticket without open linked PRs/live workers after fresh complete non-blind repository and Spur observations. Missing/unconfirmed merged-ticket status holds dispatch; confirmed-open evidence after the effective tracker interval, in filter or manually included, resumes work. Blind GitHub and pending submits hold both routes. Includes eligibility/readability, non-archived scope and dispatcher-mode qualifications.")
3097
+ }).describe("Project-wide completion route from any column other than Done. Completion bypasses normal gates; it is not conjoined with exit.conditions."),
3098
+ columns: z.array(z.strictObject({
3099
+ id: z.enum(COLUMN_IDS).describe("Enabled column in canonical order."),
3100
+ name: z.string().describe("Human column name."),
3101
+ group: z.enum(COLUMN_GROUPS).optional().describe("Group, present only for Todo columns."),
3102
+ exit: z.strictObject({
3103
+ to: z.enum(COLUMN_IDS).nullable().describe("Next normal gate destination, skipping the remaining Todo group; null at the last enabled stage before Done and at Done itself. The project completion route separately describes entry into Done."),
3104
+ conditions: z.array(z.strictObject({
3105
+ id: z.enum([...GATE_CONDITIONS, "work_started"]).describe("Condition identifier; each rule appears at its effective owner."),
3106
+ text: z.string().describe("Canonical positive exit rule, independent of task state.")
3107
+ })).describe("Own gate conditions; gates accumulate from earlier enabled columns. Passing them alone never moves into Done. The separate project completion route bypasses these gates rather than adding a conjunctive requirement.")
3108
+ }).describe("Normal gate progression and effective own rules; completion into Done is described separately at project level."),
3109
+ returns: z.array(z.string()).describe("Applicable return triggers and completion/reopening qualifications."),
3110
+ limits: z.strictObject({
3111
+ cycleLimit: z.int().min(1).describe("Counted returns before operator hold; takes precedence over courseCheck."),
3112
+ courseCheck: z.int().min(0).describe("Counted returns before a course check; zero disables it. Executor, feedback and thread returns count; draft, conflict and red CI do not."),
3113
+ courseCheckTo: destination.describe("Resolved course-check destination; missing live recipient falls back to operator.")
3114
+ }).nullable().describe("Return limits, or null when the column cannot return to Dev."),
3115
+ executor: z.strictObject({
3116
+ kind: configProject.shape.columns.element.shape.executor.shape.kind,
3117
+ project: destination.shape.project,
3118
+ role: configProject.shape.spurProjects.element.shape.role.nullable().describe("Configured Spur role, or null for automatic/operator routing."),
3119
+ displayName: destination.shape.displayName,
3120
+ session: destination.shape.session,
3121
+ text: z.string().describe("Turn ownership, fallback and project-selected session scope.")
3122
+ }).describe("Effective executor; Todo does not open turns, Done may open an agent wrap-up turn."),
3123
+ escalation: z.strictObject({
3124
+ chain: z.array(destination).describe("Question escalation starting at the executor; self-role steps are skipped using runtime routing."),
3125
+ noRecipient: z.strictObject({
3126
+ operatorItemAfterMs: z.int().min(1).describe("Effective noRecipientAfterMs before one operator item per project/column for untaken named-orchestrator turns without a recipient; a positive duration, not a zero-disabled policy."),
3127
+ text: z.string().describe("Wait origin, recipient eligibility, source readiness, item clearing and no-reroute qualifications.")
3128
+ }).nullable().describe("Untaken named-turn no-recipient policy; null for Todo or columns without a named orchestrator. The turn keeps waiting while the operator item is raised."),
3129
+ silent: z.strictObject({
3130
+ remindAfterMs: z.int().min(0).describe("Idle time before reminder for the configured agent executor: effective quietTurnAfterMs for a named turn, global idle threshold for a worker turn. Existing turns retain role-based timing."),
3131
+ operatorItemAfterReminderReadMs: z.int().min(0).describe("Further quiet time after reminder read/current quiet period before operator item."),
3132
+ unhealthyAfterMs: z.int().min(0).describe("Unhealthy executor episode before operator item."),
3133
+ text: z.string().describe("Timing origins, pauses and dispatcher-mode qualification.")
3134
+ }).nullable().describe("Taken-agent-turn silence policy; null for operator, dispatcher and Todo.")
3135
+ }).describe("Question and silent-executor escalation."),
3136
+ movedBy: z.strictObject({
3137
+ kind: z.enum(["manual", "dispatcher"]).describe("Current placement mechanism."),
3138
+ text: z.string().describe("How the column is entered, including shadow-mode qualification.")
3139
+ }).describe("Column placement policy.")
3140
+ })).describe("Enabled columns only, in canonical order.")
3141
+ })).describe("Effective configured projects visible to the caller; bounded by config and built-in columns.") });
3028
3142
  // ../contracts/src/ops/inbox-schemas.ts
3029
3143
  /** One entry of the operator inbox: an operator item, a block addressed to the operator or a turn. */
3030
3144
  const inboxEntrySchema = z.strictObject({
@@ -5044,6 +5158,71 @@ const OPERATIONS = [
5044
5158
  }
5045
5159
  }
5046
5160
  }]
5161
+ }),
5162
+ defineOperation({
5163
+ id: "columns.describe",
5164
+ web: true,
5165
+ kind: "query",
5166
+ description: "Describe effective column exit rules, returns, executors and escalation.",
5167
+ mcp: {
5168
+ whenToUse: "Read the project column policy before deciding how to progress work; selected sessions are project-level choices, not task-specific recipients.",
5169
+ whenNotToUse: "Use task_get with why for a task’s current gates and turn, or config_get for compact bindings and web origins."
5170
+ },
5171
+ input: configGetInputSchema,
5172
+ output: columnsDescribeOutputSchema,
5173
+ grants: operatorOrProjectAgent,
5174
+ errors: ["not_found"],
5175
+ cli: {
5176
+ command: "columns describe",
5177
+ args: []
5178
+ },
5179
+ slack: null,
5180
+ examples: [{
5181
+ summary: "Describe project column policies",
5182
+ input: { project: "web" },
5183
+ output: { projects: [{
5184
+ id: "web",
5185
+ dispatcher: { mode: "on" },
5186
+ checksGate: "dev",
5187
+ reposWithoutCi: [],
5188
+ resolvedThreadsFrom: null,
5189
+ completion: {
5190
+ to: "done",
5191
+ text: "Completion bypasses normal gates: an eligible linked merged PR with a done ticket (GitHub closed or configured Jira doneStatuses), or a done ticket without open linked PRs/live workers and with fresh complete non-blind repository and Spur observations. Missing/unconfirmed merged-ticket status holds dispatch. An open ticket resumes work after the configured tracker interval with in-filter or manual-inclusion evidence. Blind GitHub or a pending submit holds both routes."
5192
+ },
5193
+ columns: [{
5194
+ id: "todo",
5195
+ name: "To Do",
5196
+ group: "todo",
5197
+ exit: {
5198
+ to: "dev",
5199
+ conditions: [{
5200
+ id: "work_started",
5201
+ text: "Work has started: an open PR, or a live worker with a fresh source and no reopened ticket."
5202
+ }]
5203
+ },
5204
+ returns: [],
5205
+ limits: null,
5206
+ executor: {
5207
+ kind: "worker",
5208
+ project: null,
5209
+ role: null,
5210
+ displayName: null,
5211
+ session: null,
5212
+ text: "No executor turn opens in the Todo group, even with a configured binding."
5213
+ },
5214
+ escalation: {
5215
+ chain: [],
5216
+ noRecipient: null,
5217
+ silent: null
5218
+ },
5219
+ movedBy: {
5220
+ kind: "manual",
5221
+ text: "Manual placement; work starting leaves the whole Todo group."
5222
+ }
5223
+ }]
5224
+ }] }
5225
+ }]
5047
5226
  })
5048
5227
  ];
5049
5228
  // ../contracts/src/ops/roles.ts
@@ -5205,4 +5384,4 @@ const remoteDoctorReportSchema = z.object({
5205
5384
  function assertNever(value) {
5206
5385
  throw new Error(`Unexpected value: ${JSON.stringify(value)}`);
5207
5386
  }
5208
- 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 };
5387
+ export { encodeActorId as $, eventPayloadSchemas as A, VIAS as At, REVIEW_STATES as B, messageRefSchema as C, COLUMNS as Ct, sortSkillFiles as D, ITEM_KINDS as Dt, skillReloadFilesSchema as E, DISPATCHER_MODES 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, SLACK_BOT_SCOPES as Ot, entityRefSchema as P, actorIdSchema as Q, trackerSourceId as R, interactionRefSchema as S, resolveWebOrigin as St, skillReloadFileSchema as T, COLUMN_IDS 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 _, configBindings as _t, requestHashOf as a, errorContextSchema as at, conversationRefSchema as b, plainHttpAllowed 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, columnTurnTimings as gt, turnHandedSchema as h, boardWideSpurProject as ht, TOKEN_REQUEST_LIMITS as i, err as it, AdapterError as j, isTodoGroupColumn as jt, GATE_REASONS as k, TASK_HOLDS 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, configSchema as vt, userIdSchema as w, COLUMN_GROUPS as wt, inboundEventSchema as x, requiredSecretKeys as xt, SPACE_IDS as y, defaultAddressee as yt, PR_STATES as z };
@@ -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-w6KrYs3j.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-CY5-uNaf.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { z } from "zod";
4
4
  import { request } from "node:http";
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
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-w6KrYs3j.mjs";
1
+ import { D as sortSkillFiles, Ot as SLACK_BOT_SCOPES, Q as actorIdSchema, St as resolveWebOrigin, T as skillReloadFileSchema, a as requestHashOf, 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, vt as configSchema, xt as requiredSecretKeys } from "./chunk-CY5-uNaf.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-DS95rV33.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-DywuekMO.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-DcRmoCME.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-B_idjhSg.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-DS95rV33.mjs";
1
+ export { t as fetchCatalogVersion, n as fetchTokenStatus, r as requestOperation, i as requestSkillReload, a as requestTokenEnrollment } from "./chunk-DcRmoCME.mjs";