spur-board 0.77.0 → 0.78.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/OFL.txt +93 -0
- package/dist/{chunk-tFE-9H7j.mjs → chunk-7XUx0JWq.mjs} +80 -66
- package/dist/{chunk-BPJsPCN1.mjs → chunk-C06XgrL3.mjs} +1 -1
- package/dist/{chunk-DvV0WXrb.mjs → chunk-Ck64u-eo.mjs} +2 -2
- package/dist/cli.mjs +3 -3
- package/dist/client.mjs +1 -1
- package/dist/daemon.mjs +1 -1
- package/dist/mcp.mjs +3 -3
- package/dist/web/assets/JetBrainsMono-Bold-D4WEaHbo.woff2 +0 -0
- package/dist/web/assets/JetBrainsMono-Medium-3S3k2nMz.woff2 +0 -0
- package/dist/web/assets/JetBrainsMono-Regular-BQaDgvhP.woff2 +0 -0
- package/dist/web/assets/index-BvHOZ5yF.js +64 -0
- package/dist/web/assets/index-DDSSG85D.css +1 -0
- package/dist/web/index.html +13 -0
- package/package.json +3 -2
- package/skills/spur-board/references/how-board-works.md +16 -0
package/OFL.txt
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -2235,7 +2235,7 @@ const dedupeKey = z.string().min(1);
|
|
|
2235
2235
|
/** UTC ISO 8601 timestamp. */
|
|
2236
2236
|
const at$1 = z.iso.datetime();
|
|
2237
2237
|
/** Plain text; the gateway converts platform markup before it reaches core. */
|
|
2238
|
-
const text$
|
|
2238
|
+
const text$2 = z.string();
|
|
2239
2239
|
/** Deep link to the source message, or to the source space for a command. */
|
|
2240
2240
|
const sourceUrl = z.url();
|
|
2241
2241
|
/** Configured board space for an interaction, or null when it came from outside. */
|
|
@@ -2253,7 +2253,7 @@ const messageEventSchema = z.strictObject({
|
|
|
2253
2253
|
rootMessage: messageRefSchema,
|
|
2254
2254
|
sourceUrl,
|
|
2255
2255
|
author: userIdSchema,
|
|
2256
|
-
text: text$
|
|
2256
|
+
text: text$2,
|
|
2257
2257
|
at: at$1,
|
|
2258
2258
|
sourceSpace: firstMessageSpace,
|
|
2259
2259
|
originKey: z.string().min(1).optional()
|
|
@@ -2267,7 +2267,7 @@ const messageEditedEventSchema = z.strictObject({
|
|
|
2267
2267
|
rootMessage: messageRefSchema,
|
|
2268
2268
|
sourceUrl,
|
|
2269
2269
|
author: userIdSchema,
|
|
2270
|
-
text: text$
|
|
2270
|
+
text: text$2,
|
|
2271
2271
|
at: at$1,
|
|
2272
2272
|
originKey: z.string().min(1).optional()
|
|
2273
2273
|
});
|
|
@@ -2300,7 +2300,7 @@ const commandEventSchema = z.strictObject({
|
|
|
2300
2300
|
dedupeKey,
|
|
2301
2301
|
interaction: interactionRefSchema,
|
|
2302
2302
|
author: userIdSchema,
|
|
2303
|
-
text: text$
|
|
2303
|
+
text: text$2,
|
|
2304
2304
|
command: z.discriminatedUnion("kind", [z.strictObject({
|
|
2305
2305
|
kind: z.literal("query"),
|
|
2306
2306
|
id: z.enum([
|
|
@@ -2325,7 +2325,7 @@ const mentionEventSchema = z.strictObject({
|
|
|
2325
2325
|
rootMessage: messageRefSchema,
|
|
2326
2326
|
sourceUrl,
|
|
2327
2327
|
author: userIdSchema,
|
|
2328
|
-
text: text$
|
|
2328
|
+
text: text$2,
|
|
2329
2329
|
at: at$1,
|
|
2330
2330
|
sourceSpace: firstMessageSpace,
|
|
2331
2331
|
originKey: z.string().min(1).optional()
|
|
@@ -2825,6 +2825,75 @@ const sourceViewSchema = z.strictObject({
|
|
|
2825
2825
|
stale: z.boolean().describe("Whether facts from this source exceed their freshness threshold."),
|
|
2826
2826
|
warmingUp: z.boolean().describe("Whether this source needs a complete poll in this daemon run.")
|
|
2827
2827
|
}).describe("Freshness and availability of one source.");
|
|
2828
|
+
errorDetailSchema.extend({
|
|
2829
|
+
type: z.url(),
|
|
2830
|
+
title: z.string(),
|
|
2831
|
+
status: z.int().min(400).max(599)
|
|
2832
|
+
});
|
|
2833
|
+
const TEXT_MAX$1 = 2e4;
|
|
2834
|
+
const text$1 = (what, max) => z.string().min(1).max(max).describe(what);
|
|
2835
|
+
const project$1 = z.string().min(1).max(256).optional().describe("Project to limit the answer to; absent means every project the caller may see.");
|
|
2836
|
+
/** The effective column orchestrators and operators of the requested projects (`configBindings`). */
|
|
2837
|
+
const statusBindingsSchema = z.strictObject({
|
|
2838
|
+
columns: z.array(z.strictObject({
|
|
2839
|
+
project: z.string().min(1).describe("Board project."),
|
|
2840
|
+
column: z.enum(COLUMN_IDS).describe("Enabled column with an orchestrator."),
|
|
2841
|
+
orchestrator: z.string().min(1).describe("Spur project, or operator, that takes the column turns."),
|
|
2842
|
+
source: z.enum(COLUMN_BINDING_SOURCES).describe("project: set in projects[].columns; board-wide: filled from top-level spurProjects.")
|
|
2843
|
+
}).describe("One column binding.")).describe("Column orchestrators of each requested project; columns left at none are absent."),
|
|
2844
|
+
operators: z.array(z.strictObject({
|
|
2845
|
+
project: z.string().min(1).describe("Board project."),
|
|
2846
|
+
operator: z.string().min(1).describe("Spur project acting as operator there."),
|
|
2847
|
+
source: z.enum(OPERATOR_BINDING_SOURCES).describe("project: its own spurProjects; board-wide: top-level spurProjects; other-project: another project's operator, without a board-wide one.")
|
|
2848
|
+
}).describe("One operator binding.")).describe("Operator Spur projects of each requested project."),
|
|
2849
|
+
defaultAddressee: z.strictObject({
|
|
2850
|
+
spurProject: z.string().min(1).describe("Spur project the message goes to."),
|
|
2851
|
+
source: z.enum(ADDRESSEE_SOURCES).describe("config: slack.defaultAddressee; board-wide: the board-wide operator; project: the operator of the first board project, in config order, that lists one.")
|
|
2852
|
+
}).nullable().describe("Who an orchestrators-channel message without a known @shortName goes to; null when it is left unhandled or answered with the prefixes.")
|
|
2853
|
+
}).describe("Effective column orchestrators, operators and default Slack addressee.");
|
|
2854
|
+
const statusInputSchema = z.strictObject({
|
|
2855
|
+
project: project$1,
|
|
2856
|
+
detail: z.boolean().optional().describe("Include full ticket, pull request and session facts; absent means compact rows.")
|
|
2857
|
+
});
|
|
2858
|
+
const statusOutputSchema = z.strictObject({
|
|
2859
|
+
items: z.array(statusItemSchema).describe("Actionable items in priority order."),
|
|
2860
|
+
warmingUp: z.boolean().describe("Whether required sources still need a complete poll."),
|
|
2861
|
+
spurUnavailable: z.string().nullable().describe("One combined Spur availability line, or null when available."),
|
|
2862
|
+
hostLoad: z.string().nullable().describe("Host-load episode line, or null when absent."),
|
|
2863
|
+
transport: z.array(z.strictObject({
|
|
2864
|
+
gateway: z.string().min(1).describe("Chat gateway kind."),
|
|
2865
|
+
state: z.enum(["up", "down"]).describe("down while delivery to any space of the gateway is suspended."),
|
|
2866
|
+
since: z.iso.datetime().nullable().describe("When the earliest outage started, ISO 8601 UTC, or null when up."),
|
|
2867
|
+
reason: z.string().nullable().describe("Reason of the earliest outage, or null when up."),
|
|
2868
|
+
spaces: z.array(z.enum(SPACE_IDS)).describe("Spaces whose delivery is suspended.")
|
|
2869
|
+
}).describe("Transport health of one gateway.")).describe("Transport health of each chat gateway."),
|
|
2870
|
+
sources: z.array(sourceViewSchema).describe("Freshness and availability of each source."),
|
|
2871
|
+
tasks: z.array(statusTaskSchema).describe("Tasks with state, turn, PR summary arrays and navigation; full facts with detail."),
|
|
2872
|
+
projectBlocks: z.array(z.strictObject({
|
|
2873
|
+
project: z.string().min(1).describe("Board project."),
|
|
2874
|
+
openBlocks: z.int().min(0).describe("Open project-level blocks, without a task.")
|
|
2875
|
+
}).describe("Open project-level blocks of one project.")).describe("Open project-level blocks of each requested project."),
|
|
2876
|
+
unlinkedPrs: z.array(statusUnlinkedPrSchema).describe("Observed pull requests without a task link; merged or closed ones with no change for over 7 days are left out."),
|
|
2877
|
+
unlinkedSessions: z.array(statusUnlinkedSessionSchema).describe("Observed sessions without a task link; ones ended, or gone from Spur's session list, for over 7 days are left out."),
|
|
2878
|
+
hiddenUnlinkedPrs: z.int().min(0).describe("Unlinked pull requests not listed: merged or closed, with no change for over 7 days. Counted within the requested projects; detail does not list them."),
|
|
2879
|
+
hiddenUnlinkedSessions: z.int().min(0).describe("Unlinked sessions not listed: ended, or gone from Spur's session list, for over 7 days. Counted within the requested projects; detail does not list them."),
|
|
2880
|
+
bindings: statusBindingsSchema
|
|
2881
|
+
});
|
|
2882
|
+
const commentAddInputSchema = z.strictObject({
|
|
2883
|
+
task: taskKeyInputSchema,
|
|
2884
|
+
block: blockIdSchema.optional().describe("Block conversation to join, if any."),
|
|
2885
|
+
text: text$1("Comment text.", TEXT_MAX$1)
|
|
2886
|
+
});
|
|
2887
|
+
const commentAddOutputSchema = z.strictObject({ comment: commentSchema });
|
|
2888
|
+
const blockAnswerInputSchema = z.strictObject({
|
|
2889
|
+
block: blockIdSchema,
|
|
2890
|
+
text: text$1("The answer.", TEXT_MAX$1),
|
|
2891
|
+
note: z.string().min(1).max(TEXT_MAX$1).optional().describe("Your own comment on the answer, kept apart from it: stored as a second comment and shown on the curator feed line.")
|
|
2892
|
+
});
|
|
2893
|
+
const blockAnswerOutputSchema = z.strictObject({
|
|
2894
|
+
block: blockViewSchema,
|
|
2895
|
+
comment: commentSchema
|
|
2896
|
+
});
|
|
2828
2897
|
//#endregion
|
|
2829
2898
|
//#region ../contracts/src/ops/config-view-schema.ts
|
|
2830
2899
|
const configViewSchema = z.strictObject({ projects: z.array(z.strictObject({
|
|
@@ -3097,24 +3166,6 @@ const reviewGates = [
|
|
|
3097
3166
|
conditions: []
|
|
3098
3167
|
}
|
|
3099
3168
|
];
|
|
3100
|
-
/** The effective column orchestrators and operators of the requested projects (`configBindings`). */
|
|
3101
|
-
const statusBindingsSchema = z.strictObject({
|
|
3102
|
-
columns: z.array(z.strictObject({
|
|
3103
|
-
project: z.string().min(1).describe("Board project."),
|
|
3104
|
-
column: z.enum(COLUMN_IDS).describe("Enabled column with an orchestrator."),
|
|
3105
|
-
orchestrator: z.string().min(1).describe("Spur project, or operator, that takes the column turns."),
|
|
3106
|
-
source: z.enum(COLUMN_BINDING_SOURCES).describe("project: set in projects[].columns; board-wide: filled from top-level spurProjects.")
|
|
3107
|
-
}).describe("One column binding.")).describe("Column orchestrators of each requested project; columns left at none are absent."),
|
|
3108
|
-
operators: z.array(z.strictObject({
|
|
3109
|
-
project: z.string().min(1).describe("Board project."),
|
|
3110
|
-
operator: z.string().min(1).describe("Spur project acting as operator there."),
|
|
3111
|
-
source: z.enum(OPERATOR_BINDING_SOURCES).describe("project: its own spurProjects; board-wide: top-level spurProjects; other-project: another project's operator, without a board-wide one.")
|
|
3112
|
-
}).describe("One operator binding.")).describe("Operator Spur projects of each requested project."),
|
|
3113
|
-
defaultAddressee: z.strictObject({
|
|
3114
|
-
spurProject: z.string().min(1).describe("Spur project the message goes to."),
|
|
3115
|
-
source: z.enum(ADDRESSEE_SOURCES).describe("config: slack.defaultAddressee; board-wide: the board-wide operator; project: the operator of the first board project, in config order, that lists one.")
|
|
3116
|
-
}).nullable().describe("Who an orchestrators-channel message without a known @shortName goes to; null when it is left unhandled or answered with the prefixes.")
|
|
3117
|
-
}).describe("Effective column orchestrators, operators and default Slack addressee.");
|
|
3118
3169
|
const taskOutput = z.strictObject({ task: taskViewSchema });
|
|
3119
3170
|
const blockOutput = z.strictObject({ block: blockViewSchema });
|
|
3120
3171
|
const itemOutput = z.strictObject({ item: itemViewSchema });
|
|
@@ -3137,34 +3188,8 @@ const OPERATIONS = [
|
|
|
3137
3188
|
whenToUse: "Get a board overview.",
|
|
3138
3189
|
whenNotToUse: "Use task_get for one task."
|
|
3139
3190
|
},
|
|
3140
|
-
input:
|
|
3141
|
-
|
|
3142
|
-
detail: z.boolean().optional().describe("Include full ticket, pull request and session facts; absent means compact rows.")
|
|
3143
|
-
}),
|
|
3144
|
-
output: z.strictObject({
|
|
3145
|
-
items: z.array(statusItemSchema).describe("Actionable items in priority order."),
|
|
3146
|
-
warmingUp: z.boolean().describe("Whether required sources still need a complete poll."),
|
|
3147
|
-
spurUnavailable: z.string().nullable().describe("One combined Spur availability line, or null when available."),
|
|
3148
|
-
hostLoad: z.string().nullable().describe("Host-load episode line, or null when absent."),
|
|
3149
|
-
transport: z.array(z.strictObject({
|
|
3150
|
-
gateway: z.string().min(1).describe("Chat gateway kind."),
|
|
3151
|
-
state: z.enum(["up", "down"]).describe("down while delivery to any space of the gateway is suspended."),
|
|
3152
|
-
since: z.iso.datetime().nullable().describe("When the earliest outage started, ISO 8601 UTC, or null when up."),
|
|
3153
|
-
reason: z.string().nullable().describe("Reason of the earliest outage, or null when up."),
|
|
3154
|
-
spaces: z.array(z.enum(SPACE_IDS)).describe("Spaces whose delivery is suspended.")
|
|
3155
|
-
}).describe("Transport health of one gateway.")).describe("Transport health of each chat gateway."),
|
|
3156
|
-
sources: z.array(sourceViewSchema).describe("Freshness and availability of each source."),
|
|
3157
|
-
tasks: z.array(statusTaskSchema).describe("Tasks with state, turn, PR summary arrays and navigation; full facts with detail."),
|
|
3158
|
-
projectBlocks: z.array(z.strictObject({
|
|
3159
|
-
project: z.string().min(1).describe("Board project."),
|
|
3160
|
-
openBlocks: z.int().min(0).describe("Open project-level blocks, without a task.")
|
|
3161
|
-
}).describe("Open project-level blocks of one project.")).describe("Open project-level blocks of each requested project."),
|
|
3162
|
-
unlinkedPrs: z.array(statusUnlinkedPrSchema).describe("Observed pull requests without a task link; merged or closed ones with no change for over 7 days are left out."),
|
|
3163
|
-
unlinkedSessions: z.array(statusUnlinkedSessionSchema).describe("Observed sessions without a task link; ones ended, or gone from Spur's session list, for over 7 days are left out."),
|
|
3164
|
-
hiddenUnlinkedPrs: z.int().min(0).describe("Unlinked pull requests not listed: merged or closed, with no change for over 7 days. Counted within the requested projects; detail does not list them."),
|
|
3165
|
-
hiddenUnlinkedSessions: z.int().min(0).describe("Unlinked sessions not listed: ended, or gone from Spur's session list, for over 7 days. Counted within the requested projects; detail does not list them."),
|
|
3166
|
-
bindings: statusBindingsSchema
|
|
3167
|
-
}),
|
|
3191
|
+
input: statusInputSchema,
|
|
3192
|
+
output: statusOutputSchema,
|
|
3168
3193
|
grants: operatorOrProjectAgent,
|
|
3169
3194
|
errors: ["not_found"],
|
|
3170
3195
|
cli: {
|
|
@@ -4037,12 +4062,8 @@ const OPERATIONS = [
|
|
|
4037
4062
|
whenNotToUse: "Use comment_edit to revise your comment.",
|
|
4038
4063
|
destructive: false
|
|
4039
4064
|
},
|
|
4040
|
-
input:
|
|
4041
|
-
|
|
4042
|
-
block: blockIdSchema.optional().describe("Block conversation to join, if any."),
|
|
4043
|
-
text: text("Comment text.", TEXT_MAX)
|
|
4044
|
-
}),
|
|
4045
|
-
output: z.strictObject({ comment: commentSchema }),
|
|
4065
|
+
input: commentAddInputSchema,
|
|
4066
|
+
output: commentAddOutputSchema,
|
|
4046
4067
|
grants: [{ grant: "project-agent" }, { grant: "operator" }],
|
|
4047
4068
|
errors: [
|
|
4048
4069
|
"wrong_id_kind",
|
|
@@ -4198,15 +4219,8 @@ const OPERATIONS = [
|
|
|
4198
4219
|
whenToUse: "Answer an open question.",
|
|
4199
4220
|
whenNotToUse: "Use block_unblock to close without an answer."
|
|
4200
4221
|
},
|
|
4201
|
-
input:
|
|
4202
|
-
|
|
4203
|
-
text: text("The answer.", TEXT_MAX),
|
|
4204
|
-
note: z.string().min(1).max(TEXT_MAX).optional().describe("Your own comment on the answer, kept apart from it: stored as a second comment and shown on the curator feed line.")
|
|
4205
|
-
}),
|
|
4206
|
-
output: z.strictObject({
|
|
4207
|
-
block: blockViewSchema,
|
|
4208
|
-
comment: commentSchema
|
|
4209
|
-
}),
|
|
4222
|
+
input: blockAnswerInputSchema,
|
|
4223
|
+
output: blockAnswerOutputSchema,
|
|
4210
4224
|
grants: [{ grant: "block-addressee" }, { grant: "operator" }],
|
|
4211
4225
|
preconditions: { blockTypes: ["needs_input"] },
|
|
4212
4226
|
errors: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as ERRORS, c as tokenRequestStatusSchema, et as errorContextSchema, g as renderJsonError, o as tokenRequestResultSchema, rt as successEnvelopeSchema, tt as errorEnvelopeSchema } from "./chunk-
|
|
1
|
+
import { Q as ERRORS, c as tokenRequestStatusSchema, et as errorContextSchema, g as renderJsonError, o as tokenRequestResultSchema, rt as successEnvelopeSchema, tt as errorEnvelopeSchema } from "./chunk-7XUx0JWq.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 { d as buildCatalogSnapshot, ft as configSchema, mt as plainHttpAllowed, p as OPERATIONS } from "./chunk-
|
|
2
|
-
import { o as CliError, t as fetchCatalogVersion } from "./chunk-
|
|
1
|
+
import { d as buildCatalogSnapshot, ft as configSchema, mt as plainHttpAllowed, p as OPERATIONS } from "./chunk-7XUx0JWq.mjs";
|
|
2
|
+
import { o as CliError, t as fetchCatalogVersion } from "./chunk-C06XgrL3.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";
|
package/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Q as ERRORS, a as requestHashOf, bt as SLACK_BOT_SCOPES, ct as DEFAULT_STAND_PORT_RANGE, f as roleCanUseOperation, ft as configSchema, gt as resolveWebOrigin, ht as requiredSecretKeys, p as OPERATIONS, q as actorIdSchema, r as remoteDoctorReportSchema, rt as successEnvelopeSchema, u as SYSTEMD_SERVICE_SETTINGS } from "./chunk-
|
|
1
|
+
import { Q as ERRORS, a as requestHashOf, bt as SLACK_BOT_SCOPES, ct as DEFAULT_STAND_PORT_RANGE, f as roleCanUseOperation, ft as configSchema, gt as resolveWebOrigin, ht as requiredSecretKeys, p as OPERATIONS, q as actorIdSchema, r as remoteDoctorReportSchema, rt as successEnvelopeSchema, u as SYSTEMD_SERVICE_SETTINGS } from "./chunk-7XUx0JWq.mjs";
|
|
2
2
|
import { t as apiBaseUrl } from "./chunk-DAMwWWmT.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-
|
|
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-
|
|
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-C06XgrL3.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-Ck64u-eo.mjs";
|
|
5
5
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
6
6
|
import { accessSync, chmodSync, closeSync, constants, cpSync, existsSync, ftruncateSync, lstatSync, mkdirSync, openSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync, writeSync } from "node:fs";
|
|
7
7
|
import { homedir, hostname, userInfo } from "node:os";
|
package/dist/client.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as requestTokenEnrollment, i as requestSkillReload, n as fetchTokenStatus, r as requestOperation, t as fetchCatalogVersion } from "./chunk-
|
|
1
|
+
import { a as requestTokenEnrollment, i as requestSkillReload, n as fetchTokenStatus, r as requestOperation, t as fetchCatalogVersion } from "./chunk-C06XgrL3.mjs";
|
|
2
2
|
export { fetchCatalogVersion, fetchTokenStatus, requestOperation, requestSkillReload, requestTokenEnrollment };
|
package/dist/daemon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as err, A as prSourceId, B as prFactsSchema, C as userIdSchema, D as AdapterError, E as eventPayloadSchemas, F as REVIEW_STATES, G as JIRA_PROJECT_KEY, H as ringMarker, I as SESSION_HEALTH_STATES, J as encodeActorId, K as REF_NUMBER, L as SESSION_STATUSES, M as sourceCursorSchema, N as trackerSourceId, O as batchSchema, P as PR_STATES, Q as ERRORS, R as isExternalAuthor, S as messageRefSchema, St as VIAS, T as GATE_REASONS, U as sessionFactsSchema, V as prRefSchema, W as ticketFactsSchema, X as parseActorId, Y as errorCodeOf, Z as parseRef$1, _t as COLUMN_IDS, a as requestHashOf, at as DEFAULT_LINK, b as inboundEventSchema, bt as SLACK_BOT_SCOPES, c as tokenRequestStatusSchema, d as buildCatalogSnapshot, dt as configBindings, f as roleCanUseOperation, ft as configSchema, gt as resolveWebOrigin, h as renderHttpProblem, ht as requiredSecretKeys, i as TOKEN_REQUEST_LIMITS, j as sessionTransitionSchema, k as entityRefSchema, l as BOARD_TICK_MS, lt as RESERVED_PROJECT, m as turnHandedSchema, mt as plainHttpAllowed, n as doctorReportSchema, nt as ok, o as tokenRequestResultSchema, p as OPERATIONS, pt as defaultAddressee, q as actorIdSchema, rt as successEnvelopeSchema, s as tokenRequestSchema, st as DEFAULT_SLACK_COMMAND, t as assertNever, ut as boardWideSpurProject, v as SPACE_IDS, vt as DISPATCHER_MODES, w as EVENT_KINDS, x as interactionRefSchema, xt as TASK_HOLDS, y as conversationRefSchema, yt as ITEM_KINDS, z as parseRingMarker } from "./chunk-
|
|
1
|
+
import { $ as err, A as prSourceId, B as prFactsSchema, C as userIdSchema, D as AdapterError, E as eventPayloadSchemas, F as REVIEW_STATES, G as JIRA_PROJECT_KEY, H as ringMarker, I as SESSION_HEALTH_STATES, J as encodeActorId, K as REF_NUMBER, L as SESSION_STATUSES, M as sourceCursorSchema, N as trackerSourceId, O as batchSchema, P as PR_STATES, Q as ERRORS, R as isExternalAuthor, S as messageRefSchema, St as VIAS, T as GATE_REASONS, U as sessionFactsSchema, V as prRefSchema, W as ticketFactsSchema, X as parseActorId, Y as errorCodeOf, Z as parseRef$1, _t as COLUMN_IDS, a as requestHashOf, at as DEFAULT_LINK, b as inboundEventSchema, bt as SLACK_BOT_SCOPES, c as tokenRequestStatusSchema, d as buildCatalogSnapshot, dt as configBindings, f as roleCanUseOperation, ft as configSchema, gt as resolveWebOrigin, h as renderHttpProblem, ht as requiredSecretKeys, i as TOKEN_REQUEST_LIMITS, j as sessionTransitionSchema, k as entityRefSchema, l as BOARD_TICK_MS, lt as RESERVED_PROJECT, m as turnHandedSchema, mt as plainHttpAllowed, n as doctorReportSchema, nt as ok, o as tokenRequestResultSchema, p as OPERATIONS, pt as defaultAddressee, q as actorIdSchema, rt as successEnvelopeSchema, s as tokenRequestSchema, st as DEFAULT_SLACK_COMMAND, t as assertNever, ut as boardWideSpurProject, v as SPACE_IDS, vt as DISPATCHER_MODES, w as EVENT_KINDS, x as interactionRefSchema, xt as TASK_HOLDS, y as conversationRefSchema, yt as ITEM_KINDS, z as parseRingMarker } from "./chunk-7XUx0JWq.mjs";
|
|
2
2
|
import { t as apiBaseUrl } from "./chunk-DAMwWWmT.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
package/dist/mcp.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Q as ERRORS, _ as renderMcpError, p as OPERATIONS } from "./chunk-
|
|
2
|
-
import { o as CliError, r as requestOperation } from "./chunk-
|
|
3
|
-
import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-
|
|
1
|
+
import { Q as ERRORS, _ as renderMcpError, p as OPERATIONS } from "./chunk-7XUx0JWq.mjs";
|
|
2
|
+
import { o as CliError, r as requestOperation } from "./chunk-C06XgrL3.mjs";
|
|
3
|
+
import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-Ck64u-eo.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import { readFileSync } from "node:fs";
|
|
6
6
|
import { z } from "zod";
|
|
Binary file
|
|
Binary file
|
|
Binary file
|