@productbrain/mcp 0.0.1-beta.14636 → 0.0.1-beta.14643
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.
|
@@ -270,6 +270,7 @@ var KEY_RESULT_BODY_HELP = `For a key result, open with what counts toward it; a
|
|
|
270
270
|
var ENTRY_BODY_HELP = `The detail, in Markdown. ${KEY_RESULT_BODY_HELP}`;
|
|
271
271
|
var SOURCE_EXCERPT_MAX_CHARS = 4e3;
|
|
272
272
|
var READING_SOURCE_MAX_CHARS = 500;
|
|
273
|
+
var READING_TEXT_MAX_CHARS = 2e3;
|
|
273
274
|
var LABEL_DESCRIPTION_MAX_CHARS = 2e3;
|
|
274
275
|
var REASON_MAX_LENGTH = 200;
|
|
275
276
|
var REASON_LENGTH_FIX = `Keep the reason to one line of at most ${REASON_MAX_LENGTH} characters.`;
|
|
@@ -4033,12 +4034,12 @@ var outcomeSchema = z17.object({
|
|
|
4033
4034
|
value: z17.number().finite().optional().describe("'record': the measured value; or leave it out and give count and total."),
|
|
4034
4035
|
count: z17.number().finite().optional().describe("'record': The number counted"),
|
|
4035
4036
|
total: z17.number().finite().optional().describe("'record': Out of how many"),
|
|
4036
|
-
valueText: z17.string().max(
|
|
4037
|
+
valueText: z17.string().max(READING_TEXT_MAX_CHARS).optional().describe("'record': verbatim as-reported form when the source was not clean, e.g. '~62%'. Display only."),
|
|
4037
4038
|
asOf: z17.string().max(64).optional().describe("'record': when the world was in this state, as a parseable date (default: now). Back-dating a backfill is legitimate \u2014 it shows up as asOf earlier than recordedAt."),
|
|
4038
4039
|
kind: z17.enum(READING_KINDS).optional().describe("'record': measurement | estimate | correction (default: measurement)."),
|
|
4039
4040
|
correctsReadingId: z17.string().max(200).optional().describe("'record': required with kind='correction' \u2014 the reading id this replaces. Refused if that row is already superseded."),
|
|
4040
4041
|
recordedByRoleId: z17.string().max(200).optional().describe("'record': the accountable role (default: the entry's reporterRoleId, then its owning role)."),
|
|
4041
|
-
note: z17.string().max(
|
|
4042
|
+
note: z17.string().max(READING_TEXT_MAX_CHARS).optional().describe("'record': free-text note recorded with the reading."),
|
|
4042
4043
|
source: z17.string().max(READING_SOURCE_MAX_CHARS).optional().describe("'record': Where the number comes from (required for a KPI)")
|
|
4043
4044
|
});
|
|
4044
4045
|
var recordVariant = z17.object({
|
|
@@ -4047,12 +4048,12 @@ var recordVariant = z17.object({
|
|
|
4047
4048
|
value: z17.number().finite().optional(),
|
|
4048
4049
|
count: z17.number().finite().optional(),
|
|
4049
4050
|
total: z17.number().finite().optional(),
|
|
4050
|
-
valueText: z17.string().max(
|
|
4051
|
+
valueText: z17.string().max(READING_TEXT_MAX_CHARS).optional(),
|
|
4051
4052
|
asOf: z17.string().max(64).optional(),
|
|
4052
4053
|
kind: z17.enum(READING_KINDS).optional(),
|
|
4053
4054
|
correctsReadingId: z17.string().max(200).optional(),
|
|
4054
4055
|
recordedByRoleId: z17.string().max(200).optional(),
|
|
4055
|
-
note: z17.string().max(
|
|
4056
|
+
note: z17.string().max(READING_TEXT_MAX_CHARS).optional(),
|
|
4056
4057
|
source: z17.string().max(READING_SOURCE_MAX_CHARS).optional()
|
|
4057
4058
|
});
|
|
4058
4059
|
var outcomeActionUnion = z17.discriminatedUnion("action", [recordVariant]);
|
|
@@ -12453,4 +12454,4 @@ export {
|
|
|
12453
12454
|
SERVER_VERSION,
|
|
12454
12455
|
createProductBrainServer
|
|
12455
12456
|
};
|
|
12456
|
-
//# sourceMappingURL=chunk-
|
|
12457
|
+
//# sourceMappingURL=chunk-MEC3CRRL.js.map
|