@buffcore/admin-shell 0.8.43 → 0.8.45

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.
Files changed (157) hide show
  1. package/dist/components/Markdown.d.ts +9 -3
  2. package/dist/components/Markdown.js +84 -34
  3. package/dist/components/Sheet.d.ts +5 -1
  4. package/dist/components/Sheet.js +8 -2
  5. package/dist/components/TextArea.d.ts +3 -1
  6. package/dist/components/TextArea.js +3 -3
  7. package/dist/components/icons.d.ts +1 -0
  8. package/dist/components/icons.js +1 -0
  9. package/dist/workbench/app/ServedPrototype.d.ts +2 -0
  10. package/dist/workbench/app/ServedPrototype.js +11 -1
  11. package/dist/workbench/app/__snapshots__/places-dom.test.tsx.snap +30 -3
  12. package/dist/workbench/app/actions.d.ts +4 -2
  13. package/dist/workbench/app/actions.js +9 -4
  14. package/dist/workbench/app/brief-short.d.ts +14 -0
  15. package/dist/workbench/app/brief-short.js +103 -0
  16. package/dist/workbench/app/chat-session.d.ts +5 -5
  17. package/dist/workbench/app/chat-session.js +8 -3
  18. package/dist/workbench/app/chat.d.ts +17 -4
  19. package/dist/workbench/app/chat.js +9 -4
  20. package/dist/workbench/app/frame.js +5 -1
  21. package/dist/workbench/app/loop.js +2 -18
  22. package/dist/workbench/app/pages.js +10 -2
  23. package/dist/workbench/app/prototype.js +3 -0
  24. package/dist/workbench/app/test/loop-fixture.d.ts +13 -1
  25. package/dist/workbench/app/useStudio.d.ts +2 -1
  26. package/dist/workbench/studio/frame/AgentPanel.js +24 -1
  27. package/dist/workbench/studio/frame/Composer.js +13 -10
  28. package/dist/workbench/studio/frame/PanelList.js +1 -1
  29. package/dist/workbench/studio/frame/Segmented.d.ts +3 -1
  30. package/dist/workbench/studio/frame/Segmented.js +4 -3
  31. package/dist/workbench/studio/frame/SettingsSheet.js +10 -9
  32. package/dist/workbench/studio/frame/StudioFrame.js +7 -6
  33. package/dist/workbench/studio/frame/StudioRegions.js +4 -1
  34. package/dist/workbench/studio/frame/TurnControls.d.ts +2 -1
  35. package/dist/workbench/studio/frame/TurnControls.js +4 -1
  36. package/dist/workbench/studio/frame/layout.d.ts +2 -0
  37. package/dist/workbench/studio/frame/layout.js +2 -0
  38. package/dist/workbench/studio/frame/panelControls.d.ts +21 -1
  39. package/dist/workbench/studio/frame/scrollbars.d.ts +1 -0
  40. package/dist/workbench/studio/frame/scrollbars.js +12 -0
  41. package/dist/workbench/studio/frame/useTurnDraft.d.ts +22 -2
  42. package/dist/workbench/studio/frame/useTurnDraft.js +48 -16
  43. package/dist/workbench/studio/i18n/frame.en.d.ts +3 -0
  44. package/dist/workbench/studio/i18n/frame.en.js +4 -1
  45. package/dist/workbench/studio/i18n/frame.es.json +4 -1
  46. package/dist/workbench/studio/i18n/index.js +6 -0
  47. package/dist/workbench/studio/i18n/loop.en.d.ts +11 -38
  48. package/dist/workbench/studio/i18n/loop.en.js +11 -38
  49. package/dist/workbench/studio/i18n/loop.es.json +11 -38
  50. package/dist/workbench/studio/i18n/marks.en.d.ts +41 -0
  51. package/dist/workbench/studio/i18n/marks.en.js +42 -0
  52. package/dist/workbench/studio/i18n/marks.es.json +40 -0
  53. package/dist/workbench/studio/i18n/start.en.d.ts +5 -0
  54. package/dist/workbench/studio/i18n/start.en.js +7 -2
  55. package/dist/workbench/studio/i18n/start.es.json +7 -2
  56. package/dist/workbench/studio/i18n/workspace.en.d.ts +45 -0
  57. package/dist/workbench/studio/i18n/workspace.en.js +46 -0
  58. package/dist/workbench/studio/i18n/workspace.es.json +44 -0
  59. package/dist/workbench/studio/loop/BriefDocument.d.ts +9 -6
  60. package/dist/workbench/studio/loop/BriefDocument.js +48 -76
  61. package/dist/workbench/studio/loop/BriefLists.d.ts +11 -0
  62. package/dist/workbench/studio/loop/BriefLists.js +42 -0
  63. package/dist/workbench/studio/loop/BriefPage.d.ts +6 -2
  64. package/dist/workbench/studio/loop/BriefPage.js +32 -4
  65. package/dist/workbench/studio/loop/BriefReading.d.ts +19 -0
  66. package/dist/workbench/studio/loop/BriefReading.js +22 -0
  67. package/dist/workbench/studio/loop/BriefSection.d.ts +22 -0
  68. package/dist/workbench/studio/loop/BriefSection.js +47 -0
  69. package/dist/workbench/studio/loop/BriefWho.d.ts +6 -0
  70. package/dist/workbench/studio/loop/BriefWho.js +56 -0
  71. package/dist/workbench/studio/loop/CanvasBar.d.ts +0 -1
  72. package/dist/workbench/studio/loop/CanvasBar.js +2 -3
  73. package/dist/workbench/studio/loop/ConsoleFrame.d.ts +13 -0
  74. package/dist/workbench/studio/loop/ConsoleFrame.js +29 -0
  75. package/dist/workbench/studio/loop/NotThisCard.d.ts +6 -1
  76. package/dist/workbench/studio/loop/NotThisCard.js +28 -20
  77. package/dist/workbench/studio/loop/ProtoJourneys.d.ts +1 -8
  78. package/dist/workbench/studio/loop/ProtoJourneys.js +0 -14
  79. package/dist/workbench/studio/loop/PrototypeApp.d.ts +12 -1
  80. package/dist/workbench/studio/loop/PrototypeApp.js +30 -13
  81. package/dist/workbench/studio/loop/PrototypeAttempt.d.ts +2 -1
  82. package/dist/workbench/studio/loop/PrototypeAttempt.js +94 -29
  83. package/dist/workbench/studio/loop/PrototypePage.d.ts +4 -2
  84. package/dist/workbench/studio/loop/PrototypePage.js +25 -1
  85. package/dist/workbench/studio/loop/PrototypePreview.d.ts +35 -6
  86. package/dist/workbench/studio/loop/PrototypePreview.js +127 -76
  87. package/dist/workbench/studio/loop/PrototypePreviewSlot.d.ts +13 -0
  88. package/dist/workbench/studio/loop/PrototypePreviewSlot.js +23 -0
  89. package/dist/workbench/studio/loop/PrototypeScenes.d.ts +1 -1
  90. package/dist/workbench/studio/loop/ServedPlanning.js +1 -1
  91. package/dist/workbench/studio/loop/StudioLoop.d.ts +7 -2
  92. package/dist/workbench/studio/loop/StudioLoop.js +4 -10
  93. package/dist/workbench/studio/loop/WorkspaceBar.d.ts +15 -0
  94. package/dist/workbench/studio/loop/WorkspaceBar.js +52 -0
  95. package/dist/workbench/studio/loop/WorkspaceJourneys.d.ts +17 -0
  96. package/dist/workbench/studio/loop/WorkspaceJourneys.js +99 -0
  97. package/dist/workbench/studio/loop/WorkspaceLeft.d.ts +14 -0
  98. package/dist/workbench/studio/loop/WorkspaceLeft.js +42 -0
  99. package/dist/workbench/studio/loop/WorkspaceStage.d.ts +24 -0
  100. package/dist/workbench/studio/loop/WorkspaceStage.js +142 -0
  101. package/dist/workbench/studio/loop/WorkspaceSteps.d.ts +20 -0
  102. package/dist/workbench/studio/loop/WorkspaceSteps.js +96 -0
  103. package/dist/workbench/studio/loop/moments.js +0 -3
  104. package/dist/workbench/studio/loop/prototype-bridge.d.ts +8 -0
  105. package/dist/workbench/studio/loop/prototype-bridge.js +16 -0
  106. package/dist/workbench/studio/loop/prototype-document.d.ts +9 -0
  107. package/dist/workbench/studio/loop/prototype-document.js +90 -2
  108. package/dist/workbench/studio/loop/prototype-part.d.ts +43 -0
  109. package/dist/workbench/studio/loop/prototype-part.js +104 -0
  110. package/dist/workbench/studio/loop/types.d.ts +26 -26
  111. package/dist/workbench/studio/loop/types.js +0 -3
  112. package/dist/workbench/studio/loop/usePrototypeFrame.d.ts +6 -1
  113. package/dist/workbench/studio/loop/usePrototypeFrame.js +4 -0
  114. package/dist/workbench/studio/loop/workspace-journeys.d.ts +22 -0
  115. package/dist/workbench/studio/loop/workspace-journeys.js +63 -0
  116. package/dist/workbench/studio/loop/workspace-state.d.ts +94 -0
  117. package/dist/workbench/studio/loop/workspace-state.js +50 -0
  118. package/dist/workbench/studio/marks/ChangeList.d.ts +7 -0
  119. package/dist/workbench/studio/marks/ChangeList.js +70 -0
  120. package/dist/workbench/studio/marks/MarkHint.d.ts +18 -0
  121. package/dist/workbench/studio/marks/MarkHint.js +58 -0
  122. package/dist/workbench/studio/marks/MarkNumber.d.ts +6 -0
  123. package/dist/workbench/studio/marks/MarkNumber.js +24 -0
  124. package/dist/workbench/studio/marks/MarksLayer.d.ts +15 -0
  125. package/dist/workbench/studio/marks/MarksLayer.js +144 -0
  126. package/dist/workbench/studio/marks/PinNote.d.ts +13 -0
  127. package/dist/workbench/studio/marks/PinNote.js +49 -0
  128. package/dist/workbench/studio/marks/QueuedChanges.d.ts +6 -0
  129. package/dist/workbench/studio/marks/QueuedChanges.js +51 -0
  130. package/dist/workbench/studio/marks/WorkspaceMarks.d.ts +15 -0
  131. package/dist/workbench/studio/marks/WorkspaceMarks.js +67 -0
  132. package/dist/workbench/studio/marks/marks-message.d.ts +13 -0
  133. package/dist/workbench/studio/marks/marks-message.js +93 -0
  134. package/dist/workbench/studio/marks/marks.d.ts +105 -0
  135. package/dist/workbench/studio/marks/marks.js +133 -0
  136. package/dist/workbench/studio/marks/useMarking.d.ts +36 -0
  137. package/dist/workbench/studio/marks/useMarking.js +111 -0
  138. package/dist/workbench/studio/marks/useSendMarks.d.ts +18 -0
  139. package/dist/workbench/studio/marks/useSendMarks.js +80 -0
  140. package/dist/workbench/studio/types.d.ts +2 -0
  141. package/dist/workbench/studio/work/StudioLater.js +0 -1
  142. package/dist/workbench/studio/work/work-test-data.d.ts +6 -0
  143. package/package.json +6 -6
  144. package/dist/workbench/studio/loop/FsPlan.d.ts +0 -7
  145. package/dist/workbench/studio/loop/FsPlan.js +0 -64
  146. package/dist/workbench/studio/loop/FsStage.d.ts +0 -6
  147. package/dist/workbench/studio/loop/FsStage.js +0 -74
  148. package/dist/workbench/studio/loop/FsToolbar.d.ts +0 -6
  149. package/dist/workbench/studio/loop/FsToolbar.js +0 -61
  150. package/dist/workbench/studio/loop/FullScreen.d.ts +0 -5
  151. package/dist/workbench/studio/loop/FullScreen.js +0 -89
  152. package/dist/workbench/studio/loop/PrototypePreviewMenus.d.ts +0 -18
  153. package/dist/workbench/studio/loop/PrototypePreviewMenus.js +0 -75
  154. package/dist/workbench/studio/loop/PrototypePreviewToolbar.d.ts +0 -27
  155. package/dist/workbench/studio/loop/PrototypePreviewToolbar.js +0 -52
  156. package/dist/workbench/studio/loop/fsViews.d.ts +0 -12
  157. package/dist/workbench/studio/loop/fsViews.js +0 -6
@@ -16,6 +16,15 @@ const heading = {
16
16
  padding: 'var(--space-2) var(--space-3) var(--space-1)',
17
17
  fontWeight: 'var(--weight-bold)',
18
18
  };
19
+ const note = {
20
+ ...captionText,
21
+ fontWeight: 'var(--weight-regular)',
22
+ margin: 0,
23
+ padding: '0 var(--space-3)',
24
+ display: 'flex',
25
+ gap: 'var(--space-2)',
26
+ alignItems: 'center',
27
+ };
19
28
  function Section({ title, children }) {
20
29
  return (_jsxs("section", { "aria-label": title, style: { display: 'grid', gap: 'var(--space-1)' }, children: [_jsx("h3", { style: heading, children: title }), children] }));
21
30
  }
@@ -29,13 +38,5 @@ export function SettingsSheet({ level, product, places, page, onClose, onLevel,
29
38
  const name = t(`studio.frame.level.${level}`);
30
39
  const never = useContext(LevelChoiceContext)?.neverAsk;
31
40
  const computer = places ? COMPUTER.filter(({ id }) => places.includes(id)) : COMPUTER;
32
- return (_jsx(Sheet, { title: t('studio.frame.settings'), onClose: onClose, children: _jsxs("div", { style: { display: 'grid', gap: 'var(--space-4)' }, children: [_jsxs(Section, { title: t('studio.level.choices'), children: [_jsxs(Row, { onClick: onLevel, children: [_jsx(Icon, { name: "sliders-horizontal", size: "var(--icon-md)" }), _jsx("span", { style: { flex: 1 }, children: never ? t('studio.level.neverAsk.chip', { level: name }) : name }), _jsx(Icon, { name: "chevron-right", size: "var(--icon-sm)" })] }), _jsxs("p", { style: {
33
- ...captionText,
34
- fontWeight: 'var(--weight-regular)',
35
- margin: 0,
36
- padding: '0 var(--space-3)',
37
- display: 'flex',
38
- gap: 'var(--space-2)',
39
- alignItems: 'center',
40
- }, children: [_jsx(Icon, { name: "shield-check", size: "var(--icon-sm)" }), _jsx("span", { children: t('studio.frame.settings.person') })] })] }), computer.length > 0 && (_jsx(Section, { title: machine.name, children: computer.map(({ id, icon }) => (_jsxs(Row, { on: page === id, onClick: onGo && (() => onGo(id)), children: [_jsx(Icon, { name: icon, size: "var(--icon-md)" }), _jsx("span", { style: { flex: 1 }, children: t(`studio.frame.page.${id}`) })] }, id))) })), onHelp && (_jsxs(Row, { onClick: onHelp, children: [_jsx(Icon, { name: "circle-help", size: "var(--icon-md)" }), _jsx("span", { style: { flex: 1 }, children: t('studio.frame.help') })] }))] }) }));
41
+ return (_jsx(Sheet, { title: t('studio.frame.settings'), onClose: onClose, children: _jsxs("div", { style: { display: 'grid', gap: 'var(--space-4)' }, children: [_jsxs(Section, { title: t('studio.level.choices'), children: [_jsxs(Row, { onClick: onLevel, children: [_jsx(Icon, { name: "sliders-horizontal", size: "var(--icon-md)" }), _jsx("span", { style: { flex: 1 }, children: never ? t('studio.level.neverAsk.chip', { level: name }) : name }), _jsx(Icon, { name: "chevron-right", size: "var(--icon-sm)" })] }), _jsxs("p", { style: note, children: [_jsx(Icon, { name: "shield-check", size: "var(--icon-sm)" }), _jsx("span", { children: t('studio.frame.settings.person') })] }), product.hostLaunched && (_jsxs("p", { style: note, children: [_jsx(Icon, { name: "lock", size: "var(--icon-sm)" }), _jsx("span", { children: t('studio.frame.settings.host') })] }))] }), computer.length > 0 && (_jsx(Section, { title: machine.name, children: computer.map(({ id, icon }) => (_jsxs(Row, { on: page === id, onClick: onGo && (() => onGo(id)), children: [_jsx(Icon, { name: icon, size: "var(--icon-md)" }), _jsx("span", { style: { flex: 1 }, children: t(`studio.frame.page.${id}`) })] }, id))) })), onHelp && (_jsxs(Row, { onClick: onHelp, children: [_jsx(Icon, { name: "circle-help", size: "var(--icon-md)" }), _jsx("span", { style: { flex: 1 }, children: t('studio.frame.help') })] }))] }) }));
41
42
  }
@@ -6,12 +6,13 @@ import { useEffect, useState } from 'react';
6
6
  import { StudioLook } from '../../../components/look.js';
7
7
  import { usePlaces } from '../../app/places.js';
8
8
  import { AgentPanel } from './AgentPanel.js';
9
- import { PrototypeFrameNarrow, useLayout } from './layout.js';
9
+ import { PrototypeFrameNarrow, StudioPaneContext, useLayout } from './layout.js';
10
10
  import { useMachine } from './machine.js';
11
11
  import { HostPage, Place } from './Place.js';
12
12
  import { AppUrl } from './RealApp.js';
13
13
  import { StudioRail } from './StudioRail.js';
14
14
  import { StudioRegions } from './StudioRegions.js';
15
+ import { STUDIO_SCROLLBARS } from './scrollbars.js';
15
16
  import { TopBar } from './TopBar.js';
16
17
  const WIDE = { narrow: false };
17
18
  const NARROW = { narrow: true };
@@ -22,9 +23,9 @@ export function StudioFrame(props) {
22
23
  if (host?.parts?.screen?.length)
23
24
  return _jsx(Place, { id: "screen" });
24
25
  if (props.cover) {
25
- return (_jsx("div", { ref: ref, style: { height: '100%', background: 'var(--surface-canvas)' }, children: children }));
26
+ return (_jsxs("div", { ref: ref, "data-studio-frame": true, style: { height: '100%', background: 'var(--surface-canvas)' }, children: [_jsx("style", { children: STUDIO_SCROLLBARS }), children] }));
26
27
  }
27
- return (_jsx("div", { ref: ref, "data-layout": layout, "data-prototype-layout": props.page === 'prototype' ? '' : undefined, "data-prototype-layout-known": props.page === 'prototype' && known ? '' : undefined, style: {
28
+ return (_jsxs("div", { ref: ref, "data-studio-frame": true, "data-layout": layout, "data-prototype-layout": props.page === 'prototype' ? '' : undefined, "data-prototype-layout-known": props.page === 'prototype' && known ? '' : undefined, style: {
28
29
  height: '100%',
29
30
  maxHeight: props.page === 'prototype' ? '100dvh' : undefined,
30
31
  minHeight: props.page === 'prototype' ? 0 : undefined,
@@ -33,7 +34,7 @@ export function StudioFrame(props) {
33
34
  gridTemplateRows: 'auto minmax(0, 1fr)',
34
35
  background: 'var(--surface-canvas)',
35
36
  color: 'var(--text-body)',
36
- }, children: _jsxs(StudioLook, { value: layout === 'narrow' ? NARROW : WIDE, children: [_jsx(FrameTop, { props: props, layout: layout }), _jsx(Body, { props: props, layout: layout, children: children })] }) }));
37
+ }, children: [_jsx("style", { children: STUDIO_SCROLLBARS }), _jsxs(StudioLook, { value: layout === 'narrow' ? NARROW : WIDE, children: [_jsx(FrameTop, { props: props, layout: layout }), _jsx(Body, { props: props, layout: layout, children: children })] })] }));
37
38
  }
38
39
  function FrameTop({ props, layout }) {
39
40
  const host = usePlaces();
@@ -63,7 +64,7 @@ function Body({ props, layout, children, }) {
63
64
  const panel = props.reviewer
64
65
  ? undefined
65
66
  : (visible) => props.panelPreview != null ? (visible ? (props.panelPreview) : null) : (_jsx(AgentPanel, { simple: prototype, hidden: !visible, focusComposer: visible, agent: props.agent, where: machine.short, onSend: props.onSend, onAttach: props.onAttach, onRemoveAttachment: props.onRemoveAttachment }));
66
- const page = (_jsx(PageColumn, { contained: prototype, children: _jsx(PrototypeFrameNarrow, { value: prototype ? narrow : undefined, children: children }) }));
67
+ const page = (_jsx(PageColumn, { contained: prototype, children: _jsx(StudioPaneContext.Provider, { value: setPane, children: _jsx(PrototypeFrameNarrow, { value: prototype ? narrow : undefined, children: children }) }) }));
67
68
  return (_jsx(StudioRegions, { layout: layout, pane: pane, onPane: setPane, page: page, rail: rail, panel: panel, panelOpen: open, contained: prototype }));
68
69
  }
69
70
  function PageColumn({ children, contained }) {
@@ -83,5 +84,5 @@ function TopStrip({ children }) {
83
84
  return (_jsxs("div", { children: [children, _jsx(Place, { id: "top.below" })] }));
84
85
  }
85
86
  function frameRail(props, layout, go) {
86
- return (_jsx(StudioRail, { level: props.level, rail: props.reviewer ? { form: 'places' } : props.rail, places: props.reviewer ? ['prototype'] : props.places, reviewer: props.reviewer, page: props.page, product: props.product, collapsed: layout === 'mid', block: layout === 'narrow', onGo: go }));
87
+ return (_jsx(StudioRail, { level: props.level, rail: props.reviewer ? { form: 'places' } : props.rail, places: props.reviewer ? ['prototype'] : props.places, reviewer: props.reviewer, page: props.page, product: props.product, collapsed: layout === 'mid' || (layout === 'wide' && props.page === 'prototype'), block: layout === 'narrow', onGo: go }));
87
88
  }
@@ -71,7 +71,10 @@ export class StudioRegions extends Component {
71
71
  minInlineSize: 0,
72
72
  overflow: contained || narrow ? 'hidden' : undefined,
73
73
  gridTemplateRows: narrow ? 'auto minmax(0, 1fr)' : 'minmax(0, 1fr)',
74
- gridTemplateColumns: narrow ? undefined : columns(layout === 'mid', showPanel),
74
+ // The Prototype (a contained page) folds the rail to its icons, to give the device room.
75
+ gridTemplateColumns: narrow
76
+ ? undefined
77
+ : columns(layout === 'mid' || contained, showPanel),
75
78
  }, children: [narrow && _jsx(RegionTabs, { pane: pane, onPane: onPane, agent: !!panel }), _jsx(PaneSlot, { id: "loop", narrow: narrow, visible: showRail, children: showRail && rail }), _jsx(PaneSlot, { id: "page", narrow: narrow, visible: !narrow || pane === 'page', children: page }), _jsx(PaneSlot, { id: "agent", narrow: narrow, visible: showPanel, children: panel?.(showPanel) })] }));
76
79
  }
77
80
  }
@@ -24,6 +24,7 @@ export declare function Unready({ agent, turn }: {
24
24
  agent: string;
25
25
  turn: TurnControls;
26
26
  }): import("react").JSX.Element;
27
- export declare function QueuedLine({ composer }: {
27
+ export declare function QueuedLine({ composer, agent, }: {
28
28
  composer: NonNullable<TurnControls['composer']>;
29
+ agent: string;
29
30
  }): import("react").JSX.Element;
@@ -4,6 +4,7 @@ import { Banner } from '../../../components/Banner.js';
4
4
  import { Button } from '../../../components/Button.js';
5
5
  import { Icon } from '../../../components/Icon.js';
6
6
  import { bodyText, monoText } from '../../../components/styles.js';
7
+ import { QueuedChanges } from '../marks/QueuedChanges.js';
7
8
  import { turnTime } from './panelLines.js';
8
9
  export function WorkingBar({ turn }) {
9
10
  const t = useT();
@@ -42,8 +43,10 @@ export function Unready({ agent, turn }) {
42
43
  const t = useT();
43
44
  return (_jsxs(Banner, { tone: "attention", title: t('studio.frame.turn.agentNotReady', { agent }), children: [_jsx("p", { style: { margin: 0 }, children: t('studio.frame.turn.agentNotReadyWhy') }), _jsx(Button, { variant: "secondary", size: "sm", onClick: turn.onAgents, children: t('studio.frame.page.agents') })] }));
44
45
  }
45
- export function QueuedLine({ composer }) {
46
+ export function QueuedLine({ composer, agent, }) {
46
47
  const t = useT();
48
+ if (composer.card)
49
+ return _jsx(QueuedChanges, { card: composer.card, agent: agent, onUnqueue: composer.onUnqueue });
47
50
  return (_jsxs("li", { style: { display: 'grid', gap: 'var(--space-1)', justifyItems: 'end' }, children: [_jsx("p", { style: {
48
51
  ...bodyText,
49
52
  margin: 0,
@@ -12,6 +12,8 @@ export declare function useLayout(forced?: FrameLayout, viewportFallback?: boole
12
12
  known: boolean;
13
13
  };
14
14
  export declare const PrototypeFrameNarrow: import("react").Context<boolean | undefined>;
15
+ /** Shows one of the frame's panes on a phone-wide studio (the agent's, for the page's Changes). */
16
+ export declare const StudioPaneContext: import("react").Context<((pane: 'page' | 'agent') => void) | undefined>;
15
17
  export declare function usePrototypeNarrow(): boolean;
16
18
  /**
17
19
  * The mode a scene page was asked to draw in: its "mode" query (read before anything is drawn, so a
@@ -26,6 +26,8 @@ export function useLayout(forced, viewportFallback = false) {
26
26
  return { ref, layout: known ?? (viewportFallback && phone ? 'narrow' : 'wide'), known: !!known };
27
27
  }
28
28
  export const PrototypeFrameNarrow = createContext(undefined);
29
+ /** Shows one of the frame's panes on a phone-wide studio (the agent's, for the page's Changes). */
30
+ export const StudioPaneContext = createContext(undefined);
29
31
  export function usePrototypeNarrow() {
30
32
  const viewport = useNarrow(NARROW_BELOW);
31
33
  return useContext(PrototypeFrameNarrow) ?? viewport;
@@ -1,4 +1,5 @@
1
- import type { Chat } from '@buffcore/contracts/workbench';
1
+ import type { Attachment, Chat } from '@buffcore/contracts/workbench';
2
+ import type { Mark } from '../marks/marks.ts';
2
3
  import type { StudioAgentPanel } from '../types.ts';
3
4
  import type { PanelMessage } from './panelLines.ts';
4
5
  /** Turn facts and callbacks are supplied by the served container, or by a scene. */
@@ -52,8 +53,27 @@ export interface TurnControls {
52
53
  onUnqueue?: () => void;
53
54
  context?: string;
54
55
  focus?: number;
56
+ /** The card of a message of marks while it waits for the turn to end. */
57
+ card?: MarksCard;
58
+ /** Sends one message of marks now, or queues it as one card while a turn runs. */
59
+ onMarks?: (message: MarksMessage) => void;
55
60
  };
56
61
  }
62
+ /** What the queued card of a message of marks shows. */
63
+ export interface MarksCard {
64
+ change: string;
65
+ version: string;
66
+ marks: readonly Mark[];
67
+ pictures: number;
68
+ }
69
+ /** One message for every mark: its words, a picture of each marked screen, and its card. */
70
+ export interface MarksMessage {
71
+ text: string;
72
+ attachments: readonly Attachment[];
73
+ card: MarksCard;
74
+ /** Called once it went: the sheet is cleared. */
75
+ sent: () => void;
76
+ }
57
77
  export type AskAnswer = 'once' | 'always' | 'deny';
58
78
  export type Asking = NonNullable<Chat['asking']>;
59
79
  /** A card the person answered: it folds to one line while the turn goes on. */
@@ -0,0 +1 @@
1
+ export declare const STUDIO_SCROLLBARS = "\n[data-studio-frame],[data-studio-frame] *{scrollbar-width:thin;scrollbar-color:color-mix(in srgb, var(--border-strong) 65%, var(--text-subtle)) transparent}\n[data-studio-frame] ::-webkit-scrollbar,[data-studio-frame]::-webkit-scrollbar{width:var(--space-2);height:var(--space-2)}\n[data-studio-frame] ::-webkit-scrollbar-track,[data-studio-frame]::-webkit-scrollbar-track{background:transparent}\n[data-studio-frame] ::-webkit-scrollbar-thumb,[data-studio-frame]::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--border-strong) 65%, var(--text-subtle));border-radius:var(--radius-chip)}\n[data-studio-frame] ::-webkit-scrollbar-thumb:hover{background:var(--text-subtle)}\n[data-studio-frame] ::-webkit-scrollbar-corner{background:transparent}\n";
@@ -0,0 +1,12 @@
1
+ // The studio's scroll bars: thin, in the theme's colors, light and dark, in every panel that
2
+ // scrolls inside the frame. Tokens only, so a host's theme colors them too. The thumb is the strong
3
+ // border taken a third of the way toward the subtle text: easy to find, still quiet.
4
+ const THUMB = 'color-mix(in srgb, var(--border-strong) 65%, var(--text-subtle))';
5
+ export const STUDIO_SCROLLBARS = `
6
+ [data-studio-frame],[data-studio-frame] *{scrollbar-width:thin;scrollbar-color:${THUMB} transparent}
7
+ [data-studio-frame] ::-webkit-scrollbar,[data-studio-frame]::-webkit-scrollbar{width:var(--space-2);height:var(--space-2)}
8
+ [data-studio-frame] ::-webkit-scrollbar-track,[data-studio-frame]::-webkit-scrollbar-track{background:transparent}
9
+ [data-studio-frame] ::-webkit-scrollbar-thumb,[data-studio-frame]::-webkit-scrollbar-thumb{background:${THUMB};border-radius:var(--radius-chip)}
10
+ [data-studio-frame] ::-webkit-scrollbar-thumb:hover{background:var(--text-subtle)}
11
+ [data-studio-frame] ::-webkit-scrollbar-corner{background:transparent}
12
+ `;
@@ -1,3 +1,19 @@
1
+ import type { Attachment } from '@buffcore/contracts/workbench';
2
+ import type { MarksCard, MarksMessage } from './panelControls.ts';
3
+ type Draft = {
4
+ value: string;
5
+ queued?: boolean;
6
+ queueTurn?: string;
7
+ context?: string;
8
+ answerKey?: string;
9
+ focus?: number;
10
+ /** A message of marks: its pictures, its card while it waits, what to do once it went. */
11
+ attachments?: readonly Attachment[];
12
+ card?: MarksCard;
13
+ sent?: () => void;
14
+ /** What was in the box before a message of marks took the queue: it comes back after. */
15
+ typed?: string;
16
+ };
1
17
  type Status = 'running' | 'idle' | 'failed';
2
18
  interface Options {
3
19
  owner?: object;
@@ -8,7 +24,7 @@ interface Options {
8
24
  unsent?: string;
9
25
  }
10
26
  /** A chat's draft lives for this studio session, including a container remount. */
11
- export declare function useTurnDraft(key: string, status: Status, send: (text: string) => Promise<boolean>, options?: Options): {
27
+ export declare function useTurnDraft(key: string, status: Status, send: (text: string, attachments?: readonly Attachment[]) => Promise<boolean>, options?: Options): {
12
28
  composer: {
13
29
  value: string;
14
30
  onChange: (text: string) => void;
@@ -17,9 +33,13 @@ export declare function useTurnDraft(key: string, status: Status, send: (text: s
17
33
  onUnqueue?: () => void;
18
34
  context?: string;
19
35
  focus?: number;
36
+ card?: MarksCard;
37
+ onMarks: (message: MarksMessage) => void;
20
38
  };
21
- send: (text: string) => Promise<boolean>;
39
+ send: (text: string, given?: Draft) => Promise<boolean>;
22
40
  answer: (context: string, key?: string) => void;
23
41
  focus: () => void;
24
42
  };
43
+ /** The words of a failed send, then a blank line and what the person typed while it was sending. */
44
+ export declare function withTyped(failed: string, typed: string): string;
25
45
  export {};
@@ -16,29 +16,48 @@ export function useTurnDraft(key, status, send, options = {}) {
16
16
  active.current = cell;
17
17
  return () => {
18
18
  active.current = undefined;
19
- cell.draft = { ...cell.draft, queued: false };
19
+ cell.draft = unqueued(cell.draft);
20
20
  };
21
21
  }, [cell]);
22
- const submit = async (text) => {
22
+ const submit = async (text, given) => {
23
23
  if (active.current !== cell || pending.current || status === 'running')
24
24
  return false;
25
25
  pending.current = true;
26
- const draft = current();
26
+ const draft = given ?? current();
27
+ // The words move into the chat at once (shown as sending), so the box clears now. A refused
28
+ // or interrupted send never loses them: they come back first, then anything typed meanwhile.
29
+ // A message of marks leaves the box the words that were in it before the marks took over.
30
+ update({ value: draft.card ? (draft.typed ?? '') : '' });
31
+ let ok = false;
27
32
  try {
28
- const ok = await send(draft.context ? `${draft.context}\n\n${text}` : text);
29
- if (active.current !== cell)
30
- return false;
31
- if (ok &&
32
- current().value === draft.value &&
33
- current().answerKey === draft.answerKey &&
34
- current().context === draft.context)
35
- update({ value: '' });
36
- return ok;
33
+ const words = draft.context ? `${draft.context}\n\n${text}` : text;
34
+ ok = await (draft.attachments ? send(words, draft.attachments) : send(words));
35
+ if (ok)
36
+ draft.sent?.();
37
+ return ok && active.current === cell;
37
38
  }
38
39
  finally {
39
40
  pending.current = false;
41
+ // A message of marks that did not go: its marks are still listed, the box kept its words.
42
+ if (!ok && !draft.card)
43
+ update({ ...draft, queued: false, value: withTyped(draft.value, current().value) });
40
44
  }
41
45
  };
46
+ /** One message of marks: sent now, or, while a turn runs, queued as one card. */
47
+ const marks = (message) => {
48
+ const base = unqueued(current());
49
+ const next = {
50
+ ...base,
51
+ ...message,
52
+ value: message.text,
53
+ typed: base.value,
54
+ context: undefined,
55
+ };
56
+ if (status === 'running')
57
+ return update({ ...next, queued: true, queueTurn: options.turn });
58
+ // Sent from the draft it makes: a send that cannot start leaves the box as it was.
59
+ void submit(message.text, next);
60
+ };
42
61
  useQueue(status, options, current, update, submit);
43
62
  useEffect(() => {
44
63
  if (!options.unsent || !options.turn || cell.restored === options.turn || status === 'running')
@@ -47,7 +66,7 @@ export function useTurnDraft(key, status, send, options = {}) {
47
66
  if (!current().value)
48
67
  update({ ...current(), value: options.unsent });
49
68
  });
50
- const composer = composerFor(current, update, status, options.turn);
69
+ const composer = { ...composerFor(current, update, status, options.turn), onMarks: marks };
51
70
  const answer = (context, key) => update({
52
71
  ...current(),
53
72
  ...(key === undefined
@@ -66,17 +85,30 @@ export function useTurnDraft(key, status, send, options = {}) {
66
85
  const focus = () => update({ ...current(), focus: (current().focus ?? 0) + 1 });
67
86
  return { composer, send: submit, answer, focus };
68
87
  }
88
+ /** The words of a failed send, then a blank line and what the person typed while it was sending. */
89
+ export function withTyped(failed, typed) {
90
+ return typed ? `${failed}\n\n${typed}` : failed;
91
+ }
69
92
  function useQueue(status, options, current, update, submit) {
70
93
  useEffect(() => {
71
94
  const draft = current();
72
95
  const sameTurn = draft.queueTurn === options.turn;
73
96
  if (!draft.queued || (status === 'running' && sameTurn))
74
97
  return;
75
- update({ ...draft, queued: false });
76
- if (sameTurn && status === 'idle' && options.succeeded)
98
+ const goes = sameTurn && status === 'idle' && options.succeeded;
99
+ // A queued message goes whole (a message of marks keeps its pictures); else it is let go.
100
+ update(goes ? { ...draft, queued: false } : unqueued(draft));
101
+ if (goes)
77
102
  void submit(draft.value.trim());
78
103
  });
79
104
  }
105
+ /** Out of the queue; a message of marks gives the box back what was in it (the marks stay listed). */
106
+ function unqueued(draft) {
107
+ if (!draft.card)
108
+ return { ...draft, queued: false };
109
+ const { card: _card, attachments: _attachments, sent: _sent, typed, ...rest } = draft;
110
+ return { ...rest, value: typed ?? '', queued: false };
111
+ }
80
112
  function draftCell(owner, key, fallback) {
81
113
  let drafts = studios.get(owner);
82
114
  if (!drafts) {
@@ -100,6 +132,6 @@ function composerFor(current, update, status, turn) {
100
132
  if (status === 'running' && current().value.trim())
101
133
  update({ ...current(), queued: true, queueTurn: turn });
102
134
  },
103
- onUnqueue: () => update({ ...current(), queued: false }),
135
+ onUnqueue: () => update(unqueued(current())),
104
136
  };
105
137
  }
@@ -80,6 +80,7 @@ declare const _default: {
80
80
  'studio.frame.agent.defaultLine': string;
81
81
  'studio.frame.settings': string;
82
82
  'studio.frame.settings.person': string;
83
+ 'studio.frame.settings.host': string;
83
84
  'studio.frame.panel.title': string;
84
85
  'studio.frame.panel.where': string;
85
86
  'studio.frame.panel.earlier': string;
@@ -216,6 +217,8 @@ declare const _default: {
216
217
  'studio.frame.limit.kind.push': string;
217
218
  'studio.frame.limit.kind.publish': string;
218
219
  'studio.frame.limit.kind.release': string;
220
+ 'studio.frame.limit.kind.approval': string;
221
+ 'studio.frame.limit.kind.commit': string;
219
222
  'studio.frame.limit.next': string;
220
223
  'studio.frame.limit.copy': string;
221
224
  'studio.frame.limit.copied': string;
@@ -83,6 +83,7 @@ export default {
83
83
  'studio.frame.agent.defaultLine': 'Default agent',
84
84
  'studio.frame.settings': 'Settings',
85
85
  'studio.frame.settings.person': 'Some decisions always wait for a person. The level lists them.',
86
+ 'studio.frame.settings.host': 'Your host starts the agents and applies their limits.',
86
87
  // The agent's panel
87
88
  'studio.frame.panel.title': 'Your agent',
88
89
  'studio.frame.panel.where': 'Default agent · on {where}',
@@ -222,10 +223,12 @@ export default {
222
223
  'studio.frame.limit.kind.push': 'Pushing with git',
223
224
  'studio.frame.limit.kind.publish': 'Publishing a package',
224
225
  'studio.frame.limit.kind.release': 'Publishing a release',
226
+ 'studio.frame.limit.kind.approval': 'Writing an approval record',
227
+ 'studio.frame.limit.kind.commit': 'Committing from a design step on Autopilot',
225
228
  'studio.frame.limit.next': 'Only a person does this. Nothing was run: copy the command and run it in your own terminal when you’re ready.',
226
229
  'studio.frame.limit.copy': 'Copy the command',
227
230
  'studio.frame.limit.copied': 'Command copied.',
228
231
  'studio.frame.limit.copyFailed': 'Couldn’t copy. Select the command and copy it.',
229
232
  'studio.frame.limit.long': 'This command was shortened in the chat, so it can’t be copied whole from here.',
230
- 'studio.frame.limit.list': 'Never allowed at any level: folders of sign-ins or keys, production settings, deploys, git push, publishing a package or a release.',
233
+ 'studio.frame.limit.list': 'Never allowed at any level: folders of sign-ins or keys, production settings, deploys, git push, publishing a package or a release, writing an approval record. On Autopilot, a design step makes no commit.',
231
234
  };
@@ -81,6 +81,7 @@
81
81
  "studio.frame.agent.defaultLine": "Agente por defecto",
82
82
  "studio.frame.settings": "Ajustes",
83
83
  "studio.frame.settings.person": "Algunas decisiones siempre esperan a una persona. El nivel dice cuáles.",
84
+ "studio.frame.settings.host": "Tu anfitrión inicia los agentes y aplica sus límites.",
84
85
  "studio.frame.agent.working": "Trabajando",
85
86
  "studio.frame.panel.title": "Tu agente",
86
87
  "studio.frame.panel.where": "Agente por defecto · en {where}",
@@ -212,10 +213,12 @@
212
213
  "studio.frame.limit.kind.push": "Hacer push con git",
213
214
  "studio.frame.limit.kind.publish": "Publicar un paquete",
214
215
  "studio.frame.limit.kind.release": "Publicar una versión",
216
+ "studio.frame.limit.kind.approval": "Escribir un registro de aprobación",
217
+ "studio.frame.limit.kind.commit": "Hacer un commit desde un paso de diseño en Piloto automático",
215
218
  "studio.frame.limit.next": "Solo una persona hace esto. No se ejecutó nada: copia el comando y ejecútalo en tu propia terminal cuando quieras.",
216
219
  "studio.frame.limit.copy": "Copiar el comando",
217
220
  "studio.frame.limit.copied": "Comando copiado.",
218
221
  "studio.frame.limit.copyFailed": "No se pudo copiar. Selecciona el comando y cópialo.",
219
222
  "studio.frame.limit.long": "Este comando se acortó en el chat, así que no se puede copiar entero desde aquí.",
220
- "studio.frame.limit.list": "Nunca se permite en ningún nivel: carpetas de accesos o claves, ajustes de producción, despliegues, git push, publicar un paquete o una versión."
223
+ "studio.frame.limit.list": "Nunca se permite en ningún nivel: carpetas de accesos o claves, ajustes de producción, despliegues, git push, publicar un paquete o una versión, escribir un registro de aprobación. En Piloto automático, un paso de diseño no hace commits."
221
224
  }
@@ -16,6 +16,8 @@ import levelsEn from './levels.en.js';
16
16
  import levelsEs from './levels.es.json' with { type: 'json' };
17
17
  import loopEn from './loop.en.js';
18
18
  import loopEs from './loop.es.json' with { type: 'json' };
19
+ import marksEn from './marks.en.js';
20
+ import marksEs from './marks.es.json' with { type: 'json' };
19
21
  import prototypeEn from './prototype.en.js';
20
22
  import prototypeEs from './prototype.es.json' with { type: 'json' };
21
23
  import questionsEn from './questions.en.js';
@@ -34,6 +36,8 @@ import structureEn from './structure.en.js';
34
36
  import structureEs from './structure.es.js';
35
37
  import workEn from './work.en.js';
36
38
  import workEs from './work.es.json' with { type: 'json' };
39
+ import workspaceEn from './workspace.en.js';
40
+ import workspaceEs from './workspace.es.json' with { type: 'json' };
37
41
  const merged = mergeCatalogs([
38
42
  workbenchApprovalCopy,
39
43
  { en: structureEn, es: structureEs },
@@ -48,9 +52,11 @@ const merged = mergeCatalogs([
48
52
  { en: freshEn, es: freshEs },
49
53
  { en: levelsEn, es: levelsEs },
50
54
  { en: loopEn, es: loopEs },
55
+ { en: marksEn, es: marksEs },
51
56
  { en: startEn, es: startEs },
52
57
  { en: laterEn, es: laterEs },
53
58
  { en: snapshotEn, es: snapshotEs },
54
59
  { en: workEn, es: workEs },
60
+ { en: workspaceEn, es: workspaceEs },
55
61
  ]);
56
62
  export const studioCatalog = { ...merged, en: merged.en ?? frameEn };
@@ -209,9 +209,18 @@ declare const _default: {
209
209
  'studio.loop.brief.earns': string;
210
210
  'studio.loop.brief.must': string;
211
211
  'studio.loop.brief.later': string;
212
- 'studio.loop.brief.firstMust': string;
213
212
  'studio.loop.brief.readAll': string;
214
- 'studio.loop.brief.foldAll': string;
213
+ 'studio.loop.brief.alsoIn': string;
214
+ 'studio.loop.brief.readMore': string;
215
+ 'studio.loop.brief.readMoreAbout': string;
216
+ 'studio.loop.brief.who.role': string;
217
+ 'studio.loop.brief.who.where': string;
218
+ 'studio.loop.brief.who.know': string;
219
+ 'studio.loop.brief.more': string;
220
+ 'studio.loop.brief.readAllOf': string;
221
+ 'studio.loop.brief.read.where': string;
222
+ 'studio.loop.brief.read.ask': string;
223
+ 'studio.loop.brief.read.about': string;
215
224
  'studio.loop.brief.questions': string;
216
225
  'studio.loop.brief.onAuto': string;
217
226
  'studio.loop.brief.onGuide': string;
@@ -291,7 +300,6 @@ declare const _default: {
291
300
  'studio.loop.proto.device.mobile': string;
292
301
  'studio.loop.proto.device.tablet': string;
293
302
  'studio.loop.proto.device.desktop': string;
294
- 'studio.loop.proto.fullScreen': string;
295
303
  'studio.loop.proto.data': string;
296
304
  'studio.loop.proto.data.full': string;
297
305
  'studio.loop.proto.data.empty': string;
@@ -338,41 +346,6 @@ declare const _default: {
338
346
  'studio.loop.lane.phase.building': string;
339
347
  'studio.loop.lane.phase.checks': string;
340
348
  'studio.loop.lane.changes': string;
341
- 'studio.loop.fs.label': string;
342
- 'studio.loop.fs.exit': string;
343
- 'studio.loop.fs.view': string;
344
- 'studio.loop.fs.play': string;
345
- 'studio.loop.fs.overview': string;
346
- 'studio.loop.fs.app': string;
347
- 'studio.loop.fs.tools': string;
348
- 'studio.loop.fs.tool.interact': string;
349
- 'studio.loop.fs.tool.select': string;
350
- 'studio.loop.fs.tool.comment': string;
351
- 'studio.loop.fs.tool.draw': string;
352
- 'studio.loop.fs.tool.area': string;
353
- 'studio.loop.fs.zoom': string;
354
- 'studio.loop.fs.fit': string;
355
- 'studio.loop.fs.planButton': string;
356
- 'studio.loop.fs.left': string;
357
- 'studio.loop.fs.screens': string;
358
- 'studio.loop.fs.sampleData': string;
359
- 'studio.loop.fs.otherScreens': string;
360
- 'studio.loop.fs.plan': string;
361
- 'studio.loop.fs.base': string;
362
- 'studio.loop.fs.startsFrom': string;
363
- 'studio.loop.fs.removeMark': string;
364
- 'studio.loop.fs.markNote': string;
365
- 'studio.loop.fs.kind': string;
366
- 'studio.loop.fs.kind.change': string;
367
- 'studio.loop.fs.kind.add': string;
368
- 'studio.loop.fs.kind.remove': string;
369
- 'studio.loop.fs.words': string;
370
- 'studio.loop.fs.planIt': string;
371
- 'studio.loop.fs.draftPlan': string;
372
- 'studio.loop.fs.touches': string;
373
- 'studio.loop.fs.sealPrototype': string;
374
- 'studio.loop.fs.draftNow': string;
375
- 'studio.loop.fs.addToPlan': string;
376
349
  'studio.loop.proto.recordVersion': string;
377
350
  'studio.loop.proto.recordHelp': string;
378
351
  'studio.loop.proto.sendComment': string;
@@ -215,9 +215,18 @@ export default {
215
215
  'studio.loop.brief.earns': 'How it earns',
216
216
  'studio.loop.brief.must': 'Must have',
217
217
  'studio.loop.brief.later': 'Not now',
218
- 'studio.loop.brief.firstMust': '{count, plural, =0 {{first}} one {{first}, and 1 more} other {{first}, and # more}}',
219
218
  'studio.loop.brief.readAll': 'Read the whole brief',
220
- 'studio.loop.brief.foldAll': 'Fold the brief',
219
+ 'studio.loop.brief.alsoIn': 'Also in the brief: {sections}',
220
+ 'studio.loop.brief.readMore': 'Read more',
221
+ 'studio.loop.brief.readMoreAbout': 'Read more: {section}',
222
+ 'studio.loop.brief.who.role': 'Role',
223
+ 'studio.loop.brief.who.where': 'Where',
224
+ 'studio.loop.brief.who.know': 'What we know',
225
+ 'studio.loop.brief.more': '{count, number} more',
226
+ 'studio.loop.brief.readAllOf': 'Read all {count, number}',
227
+ 'studio.loop.brief.read.where': 'plan/brief.md › {section}',
228
+ 'studio.loop.brief.read.ask': 'Ask for a change',
229
+ 'studio.loop.brief.read.about': 'The brief, {section}',
221
230
  'studio.loop.brief.questions': 'Questions from {agent}',
222
231
  'studio.loop.brief.onAuto': 'On Autopilot, the agent takes every choice and shows what it chose; change any of them. Release, money, data and plan approvals still wait for a person.',
223
232
  'studio.loop.brief.onGuide': 'The agent proposes each step and waits for a person’s OK. Each choice has Choose for me when you’d rather it picked.',
@@ -301,7 +310,6 @@ export default {
301
310
  'studio.loop.proto.device.mobile': 'Mobile',
302
311
  'studio.loop.proto.device.tablet': 'Tablet',
303
312
  'studio.loop.proto.device.desktop': 'Desktop',
304
- 'studio.loop.proto.fullScreen': 'Full screen',
305
313
  'studio.loop.proto.data': 'Sample data',
306
314
  'studio.loop.proto.data.full': 'Full',
307
315
  'studio.loop.proto.data.empty': 'Empty',
@@ -350,41 +358,6 @@ export default {
350
358
  'studio.loop.lane.phase.checks': 'Checks',
351
359
  'studio.loop.lane.changes': 'Changes: {screens}. Every other screen is Main’s.',
352
360
  // The prototype in full screen
353
- 'studio.loop.fs.label': 'Prototype, full screen',
354
- 'studio.loop.fs.exit': 'Exit',
355
- 'studio.loop.fs.view': 'View',
356
- 'studio.loop.fs.play': 'Play',
357
- 'studio.loop.fs.overview': 'Overview',
358
- 'studio.loop.fs.app': 'App',
359
- 'studio.loop.fs.tools': 'Tools',
360
- 'studio.loop.fs.tool.interact': 'Interact',
361
- 'studio.loop.fs.tool.select': 'Select',
362
- 'studio.loop.fs.tool.comment': 'Comment',
363
- 'studio.loop.fs.tool.draw': 'Draw',
364
- 'studio.loop.fs.tool.area': 'Area',
365
- 'studio.loop.fs.zoom': 'Zoom',
366
- 'studio.loop.fs.fit': 'Fit',
367
- 'studio.loop.fs.planButton': 'Plan a change',
368
- 'studio.loop.fs.left': 'Journeys and screens',
369
- 'studio.loop.fs.screens': 'Screens',
370
- 'studio.loop.fs.sampleData': 'Sample data',
371
- 'studio.loop.fs.otherScreens': 'Other screens',
372
- 'studio.loop.fs.plan': 'Plan a change',
373
- 'studio.loop.fs.base': '{change} v2, approved',
374
- 'studio.loop.fs.startsFrom': 'Starts from {base}. That version stays as it is.',
375
- 'studio.loop.fs.removeMark': 'Remove mark {n}',
376
- 'studio.loop.fs.markNote': 'Note for mark {n}',
377
- 'studio.loop.fs.kind': 'Kind of change',
378
- 'studio.loop.fs.kind.change': 'Change',
379
- 'studio.loop.fs.kind.add': 'Add',
380
- 'studio.loop.fs.kind.remove': 'Remove',
381
- 'studio.loop.fs.words': 'In your words: what, and why',
382
- 'studio.loop.fs.planIt': 'Plan it with the agent',
383
- 'studio.loop.fs.draftPlan': '· draft plan',
384
- 'studio.loop.fs.touches': 'Touches',
385
- 'studio.loop.fs.sealPrototype': '{level, select, auto {Prototype: Autopilot can approve this} unknown {Prototype: approval is recorded here} other {Prototype: you approve}}',
386
- 'studio.loop.fs.draftNow': 'Draft it now',
387
- 'studio.loop.fs.addToPlan': 'Add to the plan',
388
361
  'studio.loop.proto.recordVersion': 'Record version',
389
362
  'studio.loop.proto.recordHelp': 'Send this comment to the design agent. Use Save this step, take a snapshot, then record a version.',
390
363
  'studio.loop.proto.sendComment': 'Send comment',