@flyingrobots/bijou-mcp 7.2.0 → 8.0.0-rc.1
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/dist/tools/docs-catalog/authoring-part01.d.ts +3 -0
- package/dist/tools/docs-catalog/authoring-part01.d.ts.map +1 -0
- package/dist/tools/docs-catalog/authoring-part01.js +141 -0
- package/dist/tools/docs-catalog/authoring-part01.js.map +1 -0
- package/dist/tools/docs-catalog/authoring-part02.d.ts +3 -0
- package/dist/tools/docs-catalog/authoring-part02.d.ts.map +1 -0
- package/dist/tools/docs-catalog/authoring-part02.js +135 -0
- package/dist/tools/docs-catalog/authoring-part02.js.map +1 -0
- package/dist/tools/docs-catalog/authoring.d.ts +1 -1
- package/dist/tools/docs-catalog/authoring.d.ts.map +1 -1
- package/dist/tools/docs-catalog/authoring.js +4 -233
- package/dist/tools/docs-catalog/authoring.js.map +1 -1
- package/dist/tools/docs-catalog/motion-authoring.d.ts +3 -0
- package/dist/tools/docs-catalog/motion-authoring.d.ts.map +1 -0
- package/dist/tools/docs-catalog/motion-authoring.js +50 -0
- package/dist/tools/docs-catalog/motion-authoring.js.map +1 -0
- package/dist/tools/docs-catalog/motion-feedback.d.ts +3 -0
- package/dist/tools/docs-catalog/motion-feedback.d.ts.map +1 -0
- package/dist/tools/docs-catalog/motion-feedback.js +47 -0
- package/dist/tools/docs-catalog/motion-feedback.js.map +1 -0
- package/dist/tools/docs-catalog/motion-visualization.d.ts +3 -0
- package/dist/tools/docs-catalog/motion-visualization.d.ts.map +1 -0
- package/dist/tools/docs-catalog/motion-visualization.js +105 -0
- package/dist/tools/docs-catalog/motion-visualization.js.map +1 -0
- package/dist/tools/docs-catalog/motion.d.ts +1 -1
- package/dist/tools/docs-catalog/motion.d.ts.map +1 -1
- package/dist/tools/docs-catalog/motion.js +6 -171
- package/dist/tools/docs-catalog/motion.js.map +1 -1
- package/dist/tools/docs-catalog/structure-part01.d.ts +3 -0
- package/dist/tools/docs-catalog/structure-part01.d.ts.map +1 -0
- package/dist/tools/docs-catalog/structure-part01.js +135 -0
- package/dist/tools/docs-catalog/structure-part01.js.map +1 -0
- package/dist/tools/docs-catalog/structure-part02.d.ts +3 -0
- package/dist/tools/docs-catalog/structure-part02.d.ts.map +1 -0
- package/dist/tools/docs-catalog/structure-part02.js +103 -0
- package/dist/tools/docs-catalog/structure-part02.js.map +1 -0
- package/dist/tools/docs-catalog/structure.d.ts +1 -1
- package/dist/tools/docs-catalog/structure.d.ts.map +1 -1
- package/dist/tools/docs-catalog/structure.js +4 -229
- package/dist/tools/docs-catalog/structure.js.map +1 -1
- package/dist/tools/docs-catalog/workflow-part01.d.ts +3 -0
- package/dist/tools/docs-catalog/workflow-part01.d.ts.map +1 -0
- package/dist/tools/docs-catalog/workflow-part01.js +124 -0
- package/dist/tools/docs-catalog/workflow-part01.js.map +1 -0
- package/dist/tools/docs-catalog/workflow-part02.d.ts +3 -0
- package/dist/tools/docs-catalog/workflow-part02.d.ts.map +1 -0
- package/dist/tools/docs-catalog/workflow-part02.js +115 -0
- package/dist/tools/docs-catalog/workflow-part02.js.map +1 -0
- package/dist/tools/docs-catalog/workflow.d.ts +1 -1
- package/dist/tools/docs-catalog/workflow.d.ts.map +1 -1
- package/dist/tools/docs-catalog/workflow.js +4 -233
- package/dist/tools/docs-catalog/workflow.js.map +1 -1
- package/dist/tools/docs.d.ts +1 -2
- package/dist/tools/docs.d.ts.map +1 -1
- package/dist/tools/docs.js +1 -289
- package/dist/tools/docs.js.map +1 -1
- package/dist/tools/docs.part01.d.ts +23 -0
- package/dist/tools/docs.part01.d.ts.map +1 -0
- package/dist/tools/docs.part01.js +65 -0
- package/dist/tools/docs.part01.js.map +1 -0
- package/dist/tools/docs.part02.d.ts +5 -0
- package/dist/tools/docs.part02.d.ts.map +1 -0
- package/dist/tools/docs.part02.js +106 -0
- package/dist/tools/docs.part02.js.map +1 -0
- package/dist/tools/docs.part04.d.ts +3 -0
- package/dist/tools/docs.part04.d.ts.map +1 -0
- package/dist/tools/docs.part04.js +126 -0
- package/dist/tools/docs.part04.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authoring-part01.d.ts","sourceRoot":"","sources":["../../../src/tools/docs-catalog/authoring-part01.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,eAAO,MAAM,8BAA8B,EAAE,SAAS,oBAAoB,EA8IzE,CAAC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
export const AUTHORING_DOCS_CATALOG_PART_01 = [
|
|
2
|
+
{
|
|
3
|
+
toolName: "bijou_hyperlink",
|
|
4
|
+
family: "hyperlink()",
|
|
5
|
+
category: "Utility",
|
|
6
|
+
summary: "Terminal hyperlink with explicit plain-text fallback behavior.",
|
|
7
|
+
aliases: ["hyperlink", "link", "url", "osc 8"],
|
|
8
|
+
useWhen: [
|
|
9
|
+
"The destination matters and should stay explicit.",
|
|
10
|
+
"A plain-text fallback still needs to make sense when OSC 8 is unavailable.",
|
|
11
|
+
],
|
|
12
|
+
avoidWhen: [
|
|
13
|
+
"You are just styling text without a destination.",
|
|
14
|
+
"The raw URL alone is clearer than link text.",
|
|
15
|
+
],
|
|
16
|
+
related: ["kbd()", "markdown()", "box()"],
|
|
17
|
+
exampleArgs: {
|
|
18
|
+
text: "Bijou docs",
|
|
19
|
+
url: "https://github.com/flyingrobots/bijou",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
toolName: "bijou_skeleton",
|
|
24
|
+
family: "skeleton()",
|
|
25
|
+
category: "Utility",
|
|
26
|
+
summary: "Placeholder loading surface for still-unavailable content.",
|
|
27
|
+
aliases: ["skeleton", "placeholder", "loading", "shimmer"],
|
|
28
|
+
useWhen: [
|
|
29
|
+
"Content is loading and the future shape matters.",
|
|
30
|
+
"You need a compact visual placeholder rather than a spinner alone.",
|
|
31
|
+
],
|
|
32
|
+
avoidWhen: [
|
|
33
|
+
"The state is determinate enough for a progress bar or stepper.",
|
|
34
|
+
"The load is instantaneous and placeholder chrome adds noise.",
|
|
35
|
+
],
|
|
36
|
+
related: ["progressBar()", "badge()", "alert()"],
|
|
37
|
+
exampleArgs: {
|
|
38
|
+
width: 24,
|
|
39
|
+
lines: 2,
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
toolName: "bijou_markdown",
|
|
44
|
+
family: "markdown()",
|
|
45
|
+
category: "Narrative and Content",
|
|
46
|
+
summary: "Mode-aware terminal markdown renderer for headings, lists, code blocks, links, and quotes.",
|
|
47
|
+
aliases: ["markdown", "md", "rich text", "docs prose"],
|
|
48
|
+
useWhen: [
|
|
49
|
+
"Source text already exists as markdown and should stay authored that way.",
|
|
50
|
+
"You need headings, lists, quotes, and inline emphasis without rebuilding the prose by hand.",
|
|
51
|
+
],
|
|
52
|
+
avoidWhen: [
|
|
53
|
+
"The content is structured data that should be table-, tree-, or graph-shaped.",
|
|
54
|
+
"You need one focused callout rather than a narrative document block.",
|
|
55
|
+
],
|
|
56
|
+
related: ["hyperlink()", "box()", "guidedFlow()"],
|
|
57
|
+
exampleArgs: {
|
|
58
|
+
source: "# Release\n\n- Build\n- Test\n- Deploy",
|
|
59
|
+
width: 32,
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
toolName: "bijou_guided_flow",
|
|
64
|
+
family: "guidedFlow()",
|
|
65
|
+
category: "Narrative and Content",
|
|
66
|
+
summary: "Structured explainability block for posture, steps, sections, and next action.",
|
|
67
|
+
aliases: ["guided flow", "runbook", "operator guide", "playbook"],
|
|
68
|
+
useWhen: [
|
|
69
|
+
"Readers need a guided operational story instead of an undifferentiated text dump.",
|
|
70
|
+
"You want summary, steps, supporting sections, and a next action inside one coherent block.",
|
|
71
|
+
],
|
|
72
|
+
avoidWhen: [
|
|
73
|
+
"A lightweight list, table, or alert would explain the state more directly.",
|
|
74
|
+
"The content is free-form markdown rather than a guided operational flow.",
|
|
75
|
+
],
|
|
76
|
+
related: ["explainability()", "markdown()", "stepper()"],
|
|
77
|
+
exampleArgs: {
|
|
78
|
+
title: "Release canary",
|
|
79
|
+
label: "Flow",
|
|
80
|
+
summary: "Roll canaries to 25% before global promote.",
|
|
81
|
+
steps: [
|
|
82
|
+
{ title: "Build", status: "complete" },
|
|
83
|
+
{
|
|
84
|
+
title: "Canary",
|
|
85
|
+
status: "current",
|
|
86
|
+
detail: "Watch error budget for 15 minutes.",
|
|
87
|
+
},
|
|
88
|
+
{ title: "Promote", status: "pending" },
|
|
89
|
+
],
|
|
90
|
+
nextAction: "Hold at 25% until latency stays green.",
|
|
91
|
+
width: 48,
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
toolName: "bijou_preference_list",
|
|
96
|
+
family: "preferenceListSurface()",
|
|
97
|
+
category: "Forms and Settings",
|
|
98
|
+
summary: "Structured settings list with toggles, actions, descriptions, and selected-row state.",
|
|
99
|
+
aliases: [
|
|
100
|
+
"preference list",
|
|
101
|
+
"settings list",
|
|
102
|
+
"preferences",
|
|
103
|
+
"settings panel",
|
|
104
|
+
],
|
|
105
|
+
useWhen: [
|
|
106
|
+
"Settings need sectioned rows, values, and secondary descriptions.",
|
|
107
|
+
"A shell or page needs a settings surface rather than an ad hoc list of toggles.",
|
|
108
|
+
],
|
|
109
|
+
avoidWhen: [
|
|
110
|
+
"You only need one or two status pills or buttons.",
|
|
111
|
+
"The content is narrative guidance rather than configurable rows.",
|
|
112
|
+
],
|
|
113
|
+
related: ["tabs()", "box()", "guidedFlow()"],
|
|
114
|
+
exampleArgs: {
|
|
115
|
+
sections: [
|
|
116
|
+
{
|
|
117
|
+
id: "shell",
|
|
118
|
+
title: "Shell",
|
|
119
|
+
rows: [
|
|
120
|
+
{
|
|
121
|
+
id: "theme",
|
|
122
|
+
label: "Theme",
|
|
123
|
+
valueLabel: "Verdant Plum",
|
|
124
|
+
kind: "choice",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: "perf",
|
|
128
|
+
label: "Perf HUD",
|
|
129
|
+
checked: true,
|
|
130
|
+
kind: "toggle",
|
|
131
|
+
description: "Show development perf overlay.",
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
width: 42,
|
|
137
|
+
selectedRowId: "perf",
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
];
|
|
141
|
+
//# sourceMappingURL=authoring-part01.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authoring-part01.js","sourceRoot":"","sources":["../../../src/tools/docs-catalog/authoring-part01.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,8BAA8B,GAAoC;IAC7E;QACE,QAAQ,EAAE,iBAAiB;QAC3B,MAAM,EAAE,aAAa;QACrB,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,gEAAgE;QACzE,OAAO,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC;QAC9C,OAAO,EAAE;YACP,mDAAmD;YACnD,4EAA4E;SAC7E;QACD,SAAS,EAAE;YACT,kDAAkD;YAClD,8CAA8C;SAC/C;QACD,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC;QACzC,WAAW,EAAE;YACX,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,uCAAuC;SAC7C;KACF;IACD;QACE,QAAQ,EAAE,gBAAgB;QAC1B,MAAM,EAAE,YAAY;QACpB,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,4DAA4D;QACrE,OAAO,EAAE,CAAC,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,CAAC;QAC1D,OAAO,EAAE;YACP,kDAAkD;YAClD,oEAAoE;SACrE;QACD,SAAS,EAAE;YACT,gEAAgE;YAChE,8DAA8D;SAC/D;QACD,OAAO,E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AAU,EAAE,wCAAwC;YACpD,KAAK,EAAE,EAAE;SACV;KACF;IACD;QACE,QAAQ,EAAE,uBAAuB;QACjC,MAAM,EAAE,yBAAyB;QACjC,QAAQ,EAAE,oBAAoB;QAC9B,OAAO,EACL,uFAAuF;QACzF,OAAO,EAAE;YACP,iBAAiB;YACjB,eAAe;YACf,aAAa;YACb,gBAAgB;SACjB;QACD,OAAO,EAAE;YACP,mEAAmE;YACnE,iFAAiF;SAClF;QACD,SAAS,EAAE;YACT,mDAAmD;YACnD,kEAAkE;SACnE;QACD,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,cAAc,CAAC;QAC5C,WAAW,EAAE;YACX,QAAQ,EAAE;gBACR;oBACE,EAAE,EAAE,OAAO;oBACX,KAAK,EAAE,OAAO;oBACd,IAAI,EAAE;wBACJ;4BACE,EAAE,EAAE,OAAO;4BACX,KAAK,EAAE,OAAO;4BACd,UAAU,EAAE,cAAc;4BAC1B,IAAI,EAAE,QAAQ;yBACf;wBACD;4BACE,EAAE,EAAE,MAAM;4BACV,KAAK,EAAE,UAAU;4BACjB,OAAO,EAAE,IAAI;4BACb,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,gCAAgC;yBAC9C;qBACF;iBACF;aACF;YACD,KAAK,EAAE,EAAE;YACT,aAAa,EAAE,MAAM;SACtB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authoring-part02.d.ts","sourceRoot":"","sources":["../../../src/tools/docs-catalog/authoring-part02.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,eAAO,MAAM,8BAA8B,EAAE,SAAS,oBAAoB,EAyIzE,CAAC"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
export const AUTHORING_DOCS_CATALOG_PART_02 = [
|
|
2
|
+
{
|
|
3
|
+
toolName: "bijou_text_entry",
|
|
4
|
+
family: "input() / textarea()",
|
|
5
|
+
category: "Forms and Settings",
|
|
6
|
+
summary: "Short-form and multiline text-entry prompts for collecting authored input rather than choosing from a fixed set.",
|
|
7
|
+
aliases: [
|
|
8
|
+
"text entry",
|
|
9
|
+
"input",
|
|
10
|
+
"textarea",
|
|
11
|
+
"text field",
|
|
12
|
+
"free-form text",
|
|
13
|
+
],
|
|
14
|
+
useWhen: [
|
|
15
|
+
"The user needs to enter original text rather than choose a predefined value.",
|
|
16
|
+
"The difference between short-form and multiline entry matters to the task.",
|
|
17
|
+
],
|
|
18
|
+
avoidWhen: [
|
|
19
|
+
"The result is really a choice from a stable option set.",
|
|
20
|
+
"A static content block or note would be more honest than an editable prompt.",
|
|
21
|
+
],
|
|
22
|
+
related: ["select() / filter()", "group() / wizard()", "note()"],
|
|
23
|
+
exampleArgs: {
|
|
24
|
+
inputTitle: "Cluster name",
|
|
25
|
+
inputDefault: "prod-us-west-2",
|
|
26
|
+
textareaTitle: "Rollback notes",
|
|
27
|
+
textareaValue: "Drain traffic\nPromote stable build",
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
toolName: "bijou_single_choice",
|
|
32
|
+
family: "select() / filter()",
|
|
33
|
+
category: "Forms and Settings",
|
|
34
|
+
summary: "Single-choice prompt family for visible-list selection and searchable narrowing.",
|
|
35
|
+
aliases: ["single choice", "select", "filter", "dropdown", "combo box"],
|
|
36
|
+
useWhen: [
|
|
37
|
+
"The user is choosing one durable value from a known option set.",
|
|
38
|
+
"Search/narrowing helps, but the end result is still one selected value.",
|
|
39
|
+
],
|
|
40
|
+
avoidWhen: [
|
|
41
|
+
"The user is building a set rather than making one choice.",
|
|
42
|
+
"The interaction is command dispatch rather than stored selection state.",
|
|
43
|
+
],
|
|
44
|
+
related: ["multiselect()", "input() / textarea()", "group() / wizard()"],
|
|
45
|
+
exampleArgs: {
|
|
46
|
+
title: "Release channel",
|
|
47
|
+
options: ["stable", "canary", "nightly"],
|
|
48
|
+
selected: "canary",
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
toolName: "bijou_multiple_choice",
|
|
53
|
+
family: "multiselect()",
|
|
54
|
+
category: "Forms and Settings",
|
|
55
|
+
summary: "Checkbox-style set builder for choosing several durable values.",
|
|
56
|
+
aliases: ["multiple choice", "multiselect", "checkboxes", "set selection"],
|
|
57
|
+
useWhen: [
|
|
58
|
+
"The user is building a set of selected values.",
|
|
59
|
+
"The options read like members of one coherent collection.",
|
|
60
|
+
],
|
|
61
|
+
avoidWhen: [
|
|
62
|
+
"Only one choice is valid.",
|
|
63
|
+
"The rows are commands or actions instead of lasting state.",
|
|
64
|
+
],
|
|
65
|
+
related: ["select() / filter()", "confirm()", "group() / wizard()"],
|
|
66
|
+
exampleArgs: {
|
|
67
|
+
title: "Deploy targets",
|
|
68
|
+
options: ["api", "web", "worker"],
|
|
69
|
+
selected: ["web", "worker"],
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
toolName: "bijou_binary_decision",
|
|
74
|
+
family: "confirm()",
|
|
75
|
+
category: "Forms and Settings",
|
|
76
|
+
summary: "Explicit yes-or-no confirmation prompt for genuinely binary decisions.",
|
|
77
|
+
aliases: ["binary decision", "confirm", "yes no", "confirmation"],
|
|
78
|
+
useWhen: [
|
|
79
|
+
"The choice is honestly binary and the consequence of yes versus no matters.",
|
|
80
|
+
"A simple confirmation is clearer than a larger staged form.",
|
|
81
|
+
],
|
|
82
|
+
avoidWhen: [
|
|
83
|
+
"The user really has multiple options or tradeoffs to compare.",
|
|
84
|
+
"The prompt needs rich evidence or explanation instead of a binary gate.",
|
|
85
|
+
],
|
|
86
|
+
related: ["alert()", "multiselect()", "group() / wizard()"],
|
|
87
|
+
exampleArgs: {
|
|
88
|
+
title: "Continue deployment",
|
|
89
|
+
defaultValue: true,
|
|
90
|
+
answer: "y",
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
toolName: "bijou_multi_field_forms",
|
|
95
|
+
family: "group() / wizard()",
|
|
96
|
+
category: "Forms and Settings",
|
|
97
|
+
summary: "Grouped and staged form orchestration for related inputs, progress, and branching flow.",
|
|
98
|
+
aliases: [
|
|
99
|
+
"group",
|
|
100
|
+
"wizard",
|
|
101
|
+
"multi-step form",
|
|
102
|
+
"staged form",
|
|
103
|
+
"grouped form",
|
|
104
|
+
],
|
|
105
|
+
useWhen: [
|
|
106
|
+
"Several related inputs belong together under one goal or workflow.",
|
|
107
|
+
"Progress, grouping, or branching matters more than one isolated prompt.",
|
|
108
|
+
],
|
|
109
|
+
avoidWhen: [
|
|
110
|
+
"The task only needs one simple field.",
|
|
111
|
+
"The fields are unrelated and should not be bundled into one flow.",
|
|
112
|
+
],
|
|
113
|
+
related: [
|
|
114
|
+
"input() / textarea()",
|
|
115
|
+
"select() / filter()",
|
|
116
|
+
"confirm()",
|
|
117
|
+
"stepper()",
|
|
118
|
+
],
|
|
119
|
+
exampleArgs: {
|
|
120
|
+
stepLabel: "Step 2 of 3",
|
|
121
|
+
stepTitle: "Approval",
|
|
122
|
+
fields: [
|
|
123
|
+
"Cluster name? [prod-us-west-2]",
|
|
124
|
+
"Release channel?",
|
|
125
|
+
"1. stable",
|
|
126
|
+
"2. canary",
|
|
127
|
+
"3. nightly",
|
|
128
|
+
"> 2",
|
|
129
|
+
"Continue deployment? [Y/n]",
|
|
130
|
+
"> y",
|
|
131
|
+
],
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
];
|
|
135
|
+
//# sourceMappingURL=authoring-part02.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authoring-part02.js","sourceRoot":"","sources":["../../../src/tools/docs-catalog/authoring-part02.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,8BAA8B,GAAoC;IAC7E;QACE,QAAQ,EAAE,kBAAkB;QAC5B,MAAM,EAAE,sBAAsB;QAC9B,QAAQ,EAAE,oBAAoB;QAC9B,OAAO,EACL,kH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KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring.d.ts","sourceRoot":"","sources":["../../../src/tools/docs-catalog/authoring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"authoring.d.ts","sourceRoot":"","sources":["../../../src/tools/docs-catalog/authoring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAIvD,eAAO,MAAM,sBAAsB,EAAE,SAAS,oBAAoB,EAGjE,CAAC"}
|
|
@@ -1,236 +1,7 @@
|
|
|
1
|
+
import { AUTHORING_DOCS_CATALOG_PART_01 } from "./authoring-part01.js";
|
|
2
|
+
import { AUTHORING_DOCS_CATALOG_PART_02 } from "./authoring-part02.js";
|
|
1
3
|
export const AUTHORING_DOCS_CATALOG = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
family: 'hyperlink()',
|
|
5
|
-
category: 'Utility',
|
|
6
|
-
summary: 'Terminal hyperlink with explicit plain-text fallback behavior.',
|
|
7
|
-
aliases: ['hyperlink', 'link', 'url', 'osc 8'],
|
|
8
|
-
useWhen: [
|
|
9
|
-
'The destination matters and should stay explicit.',
|
|
10
|
-
'A plain-text fallback still needs to make sense when OSC 8 is unavailable.',
|
|
11
|
-
],
|
|
12
|
-
avoidWhen: [
|
|
13
|
-
'You are just styling text without a destination.',
|
|
14
|
-
'The raw URL alone is clearer than link text.',
|
|
15
|
-
],
|
|
16
|
-
related: ['kbd()', 'markdown()', 'box()'],
|
|
17
|
-
exampleArgs: {
|
|
18
|
-
text: 'Bijou docs',
|
|
19
|
-
url: 'https://github.com/flyingrobots/bijou',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
toolName: 'bijou_skeleton',
|
|
24
|
-
family: 'skeleton()',
|
|
25
|
-
category: 'Utility',
|
|
26
|
-
summary: 'Placeholder loading surface for still-unavailable content.',
|
|
27
|
-
aliases: ['skeleton', 'placeholder', 'loading', 'shimmer'],
|
|
28
|
-
useWhen: [
|
|
29
|
-
'Content is loading and the future shape matters.',
|
|
30
|
-
'You need a compact visual placeholder rather than a spinner alone.',
|
|
31
|
-
],
|
|
32
|
-
avoidWhen: [
|
|
33
|
-
'The state is determinate enough for a progress bar or stepper.',
|
|
34
|
-
'The load is instantaneous and placeholder chrome adds noise.',
|
|
35
|
-
],
|
|
36
|
-
related: ['progressBar()', 'badge()', 'alert()'],
|
|
37
|
-
exampleArgs: {
|
|
38
|
-
width: 24,
|
|
39
|
-
lines: 2,
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
toolName: 'bijou_markdown',
|
|
44
|
-
family: 'markdown()',
|
|
45
|
-
category: 'Narrative and Content',
|
|
46
|
-
summary: 'Mode-aware terminal markdown renderer for headings, lists, code blocks, links, and quotes.',
|
|
47
|
-
aliases: ['markdown', 'md', 'rich text', 'docs prose'],
|
|
48
|
-
useWhen: [
|
|
49
|
-
'Source text already exists as markdown and should stay authored that way.',
|
|
50
|
-
'You need headings, lists, quotes, and inline emphasis without rebuilding the prose by hand.',
|
|
51
|
-
],
|
|
52
|
-
avoidWhen: [
|
|
53
|
-
'The content is structured data that should be table-, tree-, or graph-shaped.',
|
|
54
|
-
'You need one focused callout rather than a narrative document block.',
|
|
55
|
-
],
|
|
56
|
-
related: ['hyperlink()', 'box()', 'guidedFlow()'],
|
|
57
|
-
exampleArgs: {
|
|
58
|
-
source: '# Release\n\n- Build\n- Test\n- Deploy',
|
|
59
|
-
width: 32,
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
toolName: 'bijou_guided_flow',
|
|
64
|
-
family: 'guidedFlow()',
|
|
65
|
-
category: 'Narrative and Content',
|
|
66
|
-
summary: 'Structured explainability block for posture, steps, sections, and next action.',
|
|
67
|
-
aliases: ['guided flow', 'runbook', 'operator guide', 'playbook'],
|
|
68
|
-
useWhen: [
|
|
69
|
-
'Readers need a guided operational story instead of an undifferentiated text dump.',
|
|
70
|
-
'You want summary, steps, supporting sections, and a next action inside one coherent block.',
|
|
71
|
-
],
|
|
72
|
-
avoidWhen: [
|
|
73
|
-
'A lightweight list, table, or alert would explain the state more directly.',
|
|
74
|
-
'The content is free-form markdown rather than a guided operational flow.',
|
|
75
|
-
],
|
|
76
|
-
related: ['explainability()', 'markdown()', 'stepper()'],
|
|
77
|
-
exampleArgs: {
|
|
78
|
-
title: 'Release canary',
|
|
79
|
-
label: 'Flow',
|
|
80
|
-
summary: 'Roll canaries to 25% before global promote.',
|
|
81
|
-
steps: [
|
|
82
|
-
{ title: 'Build', status: 'complete' },
|
|
83
|
-
{ title: 'Canary', status: 'current', detail: 'Watch error budget for 15 minutes.' },
|
|
84
|
-
{ title: 'Promote', status: 'pending' },
|
|
85
|
-
],
|
|
86
|
-
nextAction: 'Hold at 25% until latency stays green.',
|
|
87
|
-
width: 48,
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
toolName: 'bijou_preference_list',
|
|
92
|
-
family: 'preferenceListSurface()',
|
|
93
|
-
category: 'Forms and Settings',
|
|
94
|
-
summary: 'Structured settings list with toggles, actions, descriptions, and selected-row state.',
|
|
95
|
-
aliases: ['preference list', 'settings list', 'preferences', 'settings panel'],
|
|
96
|
-
useWhen: [
|
|
97
|
-
'Settings need sectioned rows, values, and secondary descriptions.',
|
|
98
|
-
'A shell or page needs a settings surface rather than an ad hoc list of toggles.',
|
|
99
|
-
],
|
|
100
|
-
avoidWhen: [
|
|
101
|
-
'You only need one or two status pills or buttons.',
|
|
102
|
-
'The content is narrative guidance rather than configurable rows.',
|
|
103
|
-
],
|
|
104
|
-
related: ['tabs()', 'box()', 'guidedFlow()'],
|
|
105
|
-
exampleArgs: {
|
|
106
|
-
sections: [
|
|
107
|
-
{
|
|
108
|
-
id: 'shell',
|
|
109
|
-
title: 'Shell',
|
|
110
|
-
rows: [
|
|
111
|
-
{ id: 'theme', label: 'Theme', valueLabel: 'Verdant Plum', kind: 'choice' },
|
|
112
|
-
{ id: 'perf', label: 'Perf HUD', checked: true, kind: 'toggle', description: 'Show development perf overlay.' },
|
|
113
|
-
],
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
width: 42,
|
|
117
|
-
selectedRowId: 'perf',
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
toolName: 'bijou_text_entry',
|
|
122
|
-
family: 'input() / textarea()',
|
|
123
|
-
category: 'Forms and Settings',
|
|
124
|
-
summary: 'Short-form and multiline text-entry prompts for collecting authored input rather than choosing from a fixed set.',
|
|
125
|
-
aliases: ['text entry', 'input', 'textarea', 'text field', 'free-form text'],
|
|
126
|
-
useWhen: [
|
|
127
|
-
'The user needs to enter original text rather than choose a predefined value.',
|
|
128
|
-
'The difference between short-form and multiline entry matters to the task.',
|
|
129
|
-
],
|
|
130
|
-
avoidWhen: [
|
|
131
|
-
'The result is really a choice from a stable option set.',
|
|
132
|
-
'A static content block or note would be more honest than an editable prompt.',
|
|
133
|
-
],
|
|
134
|
-
related: ['select() / filter()', 'group() / wizard()', 'note()'],
|
|
135
|
-
exampleArgs: {
|
|
136
|
-
inputTitle: 'Cluster name',
|
|
137
|
-
inputDefault: 'prod-us-west-2',
|
|
138
|
-
textareaTitle: 'Rollback notes',
|
|
139
|
-
textareaValue: 'Drain traffic\nPromote stable build',
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
toolName: 'bijou_single_choice',
|
|
144
|
-
family: 'select() / filter()',
|
|
145
|
-
category: 'Forms and Settings',
|
|
146
|
-
summary: 'Single-choice prompt family for visible-list selection and searchable narrowing.',
|
|
147
|
-
aliases: ['single choice', 'select', 'filter', 'dropdown', 'combo box'],
|
|
148
|
-
useWhen: [
|
|
149
|
-
'The user is choosing one durable value from a known option set.',
|
|
150
|
-
'Search/narrowing helps, but the end result is still one selected value.',
|
|
151
|
-
],
|
|
152
|
-
avoidWhen: [
|
|
153
|
-
'The user is building a set rather than making one choice.',
|
|
154
|
-
'The interaction is command dispatch rather than stored selection state.',
|
|
155
|
-
],
|
|
156
|
-
related: ['multiselect()', 'input() / textarea()', 'group() / wizard()'],
|
|
157
|
-
exampleArgs: {
|
|
158
|
-
title: 'Release channel',
|
|
159
|
-
options: ['stable', 'canary', 'nightly'],
|
|
160
|
-
selected: 'canary',
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
toolName: 'bijou_multiple_choice',
|
|
165
|
-
family: 'multiselect()',
|
|
166
|
-
category: 'Forms and Settings',
|
|
167
|
-
summary: 'Checkbox-style set builder for choosing several durable values.',
|
|
168
|
-
aliases: ['multiple choice', 'multiselect', 'checkboxes', 'set selection'],
|
|
169
|
-
useWhen: [
|
|
170
|
-
'The user is building a set of selected values.',
|
|
171
|
-
'The options read like members of one coherent collection.',
|
|
172
|
-
],
|
|
173
|
-
avoidWhen: [
|
|
174
|
-
'Only one choice is valid.',
|
|
175
|
-
'The rows are commands or actions instead of lasting state.',
|
|
176
|
-
],
|
|
177
|
-
related: ['select() / filter()', 'confirm()', 'group() / wizard()'],
|
|
178
|
-
exampleArgs: {
|
|
179
|
-
title: 'Deploy targets',
|
|
180
|
-
options: ['api', 'web', 'worker'],
|
|
181
|
-
selected: ['web', 'worker'],
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
toolName: 'bijou_binary_decision',
|
|
186
|
-
family: 'confirm()',
|
|
187
|
-
category: 'Forms and Settings',
|
|
188
|
-
summary: 'Explicit yes-or-no confirmation prompt for genuinely binary decisions.',
|
|
189
|
-
aliases: ['binary decision', 'confirm', 'yes no', 'confirmation'],
|
|
190
|
-
useWhen: [
|
|
191
|
-
'The choice is honestly binary and the consequence of yes versus no matters.',
|
|
192
|
-
'A simple confirmation is clearer than a larger staged form.',
|
|
193
|
-
],
|
|
194
|
-
avoidWhen: [
|
|
195
|
-
'The user really has multiple options or tradeoffs to compare.',
|
|
196
|
-
'The prompt needs rich evidence or explanation instead of a binary gate.',
|
|
197
|
-
],
|
|
198
|
-
related: ['alert()', 'multiselect()', 'group() / wizard()'],
|
|
199
|
-
exampleArgs: {
|
|
200
|
-
title: 'Continue deployment',
|
|
201
|
-
defaultValue: true,
|
|
202
|
-
answer: 'y',
|
|
203
|
-
},
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
toolName: 'bijou_multi_field_forms',
|
|
207
|
-
family: 'group() / wizard()',
|
|
208
|
-
category: 'Forms and Settings',
|
|
209
|
-
summary: 'Grouped and staged form orchestration for related inputs, progress, and branching flow.',
|
|
210
|
-
aliases: ['group', 'wizard', 'multi-step form', 'staged form', 'grouped form'],
|
|
211
|
-
useWhen: [
|
|
212
|
-
'Several related inputs belong together under one goal or workflow.',
|
|
213
|
-
'Progress, grouping, or branching matters more than one isolated prompt.',
|
|
214
|
-
],
|
|
215
|
-
avoidWhen: [
|
|
216
|
-
'The task only needs one simple field.',
|
|
217
|
-
'The fields are unrelated and should not be bundled into one flow.',
|
|
218
|
-
],
|
|
219
|
-
related: ['input() / textarea()', 'select() / filter()', 'confirm()', 'stepper()'],
|
|
220
|
-
exampleArgs: {
|
|
221
|
-
stepLabel: 'Step 2 of 3',
|
|
222
|
-
stepTitle: 'Approval',
|
|
223
|
-
fields: [
|
|
224
|
-
'Cluster name? [prod-us-west-2]',
|
|
225
|
-
'Release channel?',
|
|
226
|
-
'1. stable',
|
|
227
|
-
'2. canary',
|
|
228
|
-
'3. nightly',
|
|
229
|
-
'> 2',
|
|
230
|
-
'Continue deployment? [Y/n]',
|
|
231
|
-
'> y',
|
|
232
|
-
],
|
|
233
|
-
},
|
|
234
|
-
},
|
|
4
|
+
...AUTHORING_DOCS_CATALOG_PART_01,
|
|
5
|
+
...AUTHORING_DOCS_CATALOG_PART_02,
|
|
235
6
|
];
|
|
236
7
|
//# sourceMappingURL=authoring.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring.js","sourceRoot":"","sources":["../../../src/tools/docs-catalog/authoring.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"authoring.js","sourceRoot":"","sources":["../../../src/tools/docs-catalog/authoring.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,8BAA8B,EAAE,MAAM,uBAAuB,CAAC;AAEvE,MAAM,CAAC,MAAM,sBAAsB,GAAoC;IACrE,GAAG,8BAA8B;IACjC,GAAG,8BAA8B;CAClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion-authoring.d.ts","sourceRoot":"","sources":["../../../src/tools/docs-catalog/motion-authoring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,eAAO,MAAM,qBAAqB,EAAE,SAAS,oBAAoB,EAkDhE,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export const MOTION_AUTHORING_DOCS = [
|
|
2
|
+
{
|
|
3
|
+
toolName: "bijou_branding",
|
|
4
|
+
family: "loadRandomLogo() / gradientText()",
|
|
5
|
+
category: "Narrative and Content",
|
|
6
|
+
summary: "Expressive branding helpers for deliberate splash, celebratory, and docs-opening moments.",
|
|
7
|
+
aliases: ["branding", "logo", "gradient text", "splash", "hero"],
|
|
8
|
+
useWhen: [
|
|
9
|
+
"The interface needs a deliberate branded or celebratory moment.",
|
|
10
|
+
"Expressive emphasis helps open or orient the experience without carrying critical state.",
|
|
11
|
+
],
|
|
12
|
+
avoidWhen: [
|
|
13
|
+
"Routine app chrome or task-critical labels need maximum scanability.",
|
|
14
|
+
"Decoration would compete with the actual work or hide meaning behind color.",
|
|
15
|
+
],
|
|
16
|
+
related: ["markdown()", "box()", "renderByMode()"],
|
|
17
|
+
exampleArgs: {
|
|
18
|
+
logo: "BIJOU",
|
|
19
|
+
headline: "Release ready",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
toolName: "bijou_mode_aware_authoring",
|
|
24
|
+
family: "renderByMode()",
|
|
25
|
+
category: "Utility",
|
|
26
|
+
summary: "Authoring helper for building one semantic primitive that lowers honestly across output modes.",
|
|
27
|
+
aliases: [
|
|
28
|
+
"renderByMode",
|
|
29
|
+
"mode-aware primitive",
|
|
30
|
+
"custom primitive",
|
|
31
|
+
"lowering",
|
|
32
|
+
],
|
|
33
|
+
useWhen: [
|
|
34
|
+
"An app needs a domain-specific primitive that does not belong in the shared component catalog.",
|
|
35
|
+
"The same semantic thing must lower honestly across interactive, pipe, and accessible modes.",
|
|
36
|
+
],
|
|
37
|
+
avoidWhen: [
|
|
38
|
+
"An existing Bijou family already matches the job.",
|
|
39
|
+
"Mode branching would only chase cosmetics instead of preserving meaning.",
|
|
40
|
+
],
|
|
41
|
+
related: ["note()", "badge()", "markdown()"],
|
|
42
|
+
exampleArgs: {
|
|
43
|
+
semanticThing: "build health",
|
|
44
|
+
interactive: "[build][healthy]",
|
|
45
|
+
pipe: "build health: healthy",
|
|
46
|
+
accessible: "Build health is healthy.",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
//# sourceMappingURL=motion-authoring.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion-authoring.js","sourceRoot":"","sources":["../../../src/tools/docs-catalog/motion-authoring.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAoC;IACpE;QACE,QAAQ,EAAE,gBAAgB;QAC1B,MAAM,EAAE,mCAAmC;QAC3C,QAAQ,EAAE,uBAAuB;QACjC,OAAO,EACL,2FAA2F;QAC7F,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAC;QAChE,OAAO,EAAE;YACP,iEAAiE;YACjE,0FAA0F;SAC3F;QACD,SAAS,EAAE;YACT,sEAAsE;YACtE,6EAA6E;SAC9E;QACD,OAAO,EAAE,CAAC,YAAY,EAAE,OAAO,EAAE,gBAAgB,CAAC;QAClD,WAAW,EAAE;YACX,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,eAAe;SAC1B;KACF;IACD;QACE,QAAQ,EAAE,4BAA4B;QACtC,MAAM,EAAE,gBAAgB;QACxB,QAAQ,EAAE,SAAS;QACnB,OAAO,EACL,gGAAgG;QAClG,OAAO,EAAE;YACP,cAAc;YACd,sBAAsB;YACtB,kBAAkB;YAClB,UAAU;SACX;QACD,OAAO,EAAE;YACP,gGAAgG;YAChG,6FAA6F;SAC9F;QACD,SAAS,EAAE;YACT,mDAAmD;YACnD,0EAA0E;SAC3E;QACD,OAAO,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,YAAY,CAAC;QAC5C,WAAW,EAAE;YACX,aAAa,EAAE,cAAc;YAC7B,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,uBAAuB;YAC7B,UAAU,EAAE,0BAA0B;SACvC;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion-feedback.d.ts","sourceRoot":"","sources":["../../../src/tools/docs-catalog/motion-feedback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,eAAO,MAAM,oBAAoB,EAAE,SAAS,oBAAoB,EA+C/D,CAAC"}
|