@schlenkr/ragents 0.1.19 → 0.1.20
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/apps/server/src/host-api.json +6 -2
- package/apps/server/src/host-api.ts +3 -2
- package/apps/server/src/host-web.ts +3 -0
- package/apps/server/src/plugin-support/actor-programs/contract.ts +0 -3
- package/apps/server/src/plugin-support/removed-layout.ts +94 -0
- package/apps/server/src/ragents/engine.ts +2 -1
- package/apps/server/src/title-compactor.ts +5 -7
- package/apps/web/dist/assets/highlighted-body-KPVGNVTW-k67VKdbw.js +1 -0
- package/apps/web/dist/assets/main-CVjIz7BS.js +674 -0
- package/apps/web/dist/help/guide-clients.html +22 -42
- package/apps/web/dist/help/guide-clients.md +24 -45
- package/apps/web/dist/help/guide-functions.html +1 -1
- package/apps/web/dist/help/guide-functions.md +1 -1
- package/apps/web/dist/help/guide-getting-started.html +14 -22
- package/apps/web/dist/help/guide-getting-started.md +17 -24
- package/apps/web/dist/help/guide-ideas.html +1 -1
- package/apps/web/dist/help/guide-ideas.md +1 -1
- package/apps/web/dist/help/guide-plugins.html +1 -1
- package/apps/web/dist/help/guide-plugins.md +1 -1
- package/apps/web/dist/help/guide-programs.html +1 -1
- package/apps/web/dist/help/guide-programs.md +1 -1
- package/apps/web/dist/help/index.html +12 -79
- package/apps/web/dist/help/mini-app.css +8 -502
- package/apps/web/dist/host-web.json +28 -23
- package/apps/web/dist/index.html +2 -3
- package/apps/web/dist/run-panel.html +3 -4
- package/apps/web/src/Overview.tsx +4 -143
- package/apps/web/src/PluginChat.tsx +22 -116
- package/apps/web/src/PluginRegistry.tsx +4 -9
- package/apps/web/src/RunPreparationChat.tsx +4 -1
- package/apps/web/src/host-modules.ts +2 -0
- package/apps/web/src/main.tsx +23 -3
- package/apps/web/src/panel/RunLine.tsx +5 -2
- package/apps/web/src/panel/RunsPage.tsx +6 -6
- package/apps/web/src/panel/StartPage.tsx +6 -5
- package/apps/web/src/panel/contract.ts +3 -0
- package/apps/web/src/panel/page-props.ts +2 -0
- package/apps/web/src/run-apps.ts +34 -0
- package/apps/web/src/run-overview.ts +0 -27
- package/apps/web/src/run-panel/PanelContributions.tsx +41 -0
- package/apps/web/src/run-panel/RunPanelApp.tsx +172 -91
- package/apps/web/src/run-panel/RunPanelMenu.tsx +4 -3
- package/apps/web/src/run-panel/RunPanelWorkspace.tsx +8 -2
- package/apps/web/src/run-panel/clipboard.ts +17 -14
- package/apps/web/src/run-panel/host-contract.ts +8 -9
- package/apps/web/src/run-panel/host.ts +5 -31
- package/apps/web/src/run-panel/input-bridge.ts +15 -7
- package/bundles/ragents.activity/ragents-bundle.json +2 -2
- package/bundles/ragents.actor-programs/prompt.hbs +4 -5
- package/bundles/ragents.actor-programs/ragents-bundle.json +4 -14
- package/bundles/ragents.actor-programs/server/index.js +2 -14
- package/bundles/ragents.actor-programs/server/index.js.map +2 -2
- package/bundles/ragents.actor-programs/web/classes.json +1 -1
- package/bundles/ragents.actor-programs/web/index.js +1 -3
- package/bundles/ragents.actor-programs/web/index.js.map +4 -4
- package/bundles/ragents.ask/ragents-bundle.json +2 -2
- package/bundles/ragents.browser/ragents-bundle.json +2 -2
- package/bundles/ragents.documents/ragents-bundle.json +2 -2
- package/bundles/ragents.lsp-fsharp/ragents-bundle.json +2 -2
- package/bundles/ragents.lsp-roslyn/ragents-bundle.json +2 -2
- package/bundles/ragents.lsp-typescript/ragents-bundle.json +2 -2
- package/bundles/ragents.model-relay/ragents-bundle.json +2 -2
- package/bundles/ragents.orchestration/ragents-bundle.json +15 -41
- package/bundles/ragents.orchestration/server/index.js +10 -249
- package/bundles/ragents.orchestration/server/index.js.map +4 -4
- package/bundles/ragents.orchestration/web/chunks/chunk-KU7O6MEX.js +2 -0
- package/bundles/ragents.orchestration/web/chunks/chunk-KU7O6MEX.js.map +7 -0
- package/bundles/ragents.orchestration/web/classes.json +1 -1
- package/bundles/ragents.orchestration/web/exports/web/program-slot.js +1 -1
- package/bundles/ragents.orchestration/web/index.js +10 -18
- package/bundles/ragents.orchestration/web/index.js.map +4 -4
- package/bundles/ragents.overseer/ragents-bundle.json +3 -3
- package/bundles/ragents.overseer/server/index.js +0 -1
- package/bundles/ragents.overseer/server/index.js.map +2 -2
- package/bundles/ragents.processes/ragents-bundle.json +2 -2
- package/bundles/ragents.product/ragents-bundle.json +2 -2
- package/bundles/ragents.profile-distribution/ragents-bundle.json +2 -2
- package/bundles/ragents.reference/ragents-bundle.json +3 -3
- package/bundles/ragents.reference/run-scripts/balcony-wizard/RUN.md +1 -1
- package/bundles/ragents.reference/run-scripts/balcony-wizard/src/server.ts +1 -2
- package/bundles/ragents.reference/run-scripts/balcony-wizard/tests/program.test.ts +6 -7
- package/bundles/ragents.reference/run-scripts/conversation-circle/RUN.md +3 -3
- package/bundles/ragents.reference/run-scripts/conversation-circle/src/server.ts +3 -13
- package/bundles/ragents.reference/run-scripts/conversation-circle/tests/helpers.ts +1 -1
- package/bundles/ragents.reference/run-scripts/conversation-circle/tests/program.test.ts +1 -6
- package/bundles/ragents.reference/run-scripts/learning-afternoon/src/server.ts +1 -15
- package/bundles/ragents.reference/run-scripts/learning-afternoon/tests/program.test.ts +1 -1
- package/bundles/ragents.reference/run-scripts/moderated-round/tests/helpers.ts +1 -1
- package/bundles/ragents.reference/run-scripts/quick-note/RUN.md +1 -1
- package/bundles/ragents.reference/run-scripts/quick-note/src/server.ts +1 -2
- package/bundles/ragents.reference/run-scripts/quick-note/tests/program.test.ts +0 -2
- package/bundles/ragents.reference/run-scripts/run-roster/RUN.md +2 -2
- package/bundles/ragents.reference/run-scripts/run-roster/src/server.ts +1 -2
- package/bundles/ragents.reference/run-scripts/run-roster/tests/program.test.ts +0 -2
- package/bundles/ragents.reference/run-scripts/shared-actor-list/src/server.ts +1 -1
- package/bundles/ragents.reference/run-scripts/shared-actor-list/tests/helpers.ts +1 -1
- package/bundles/ragents.reference/run-scripts/word-game/src/contract.ts +1 -1
- package/bundles/ragents.reference/run-scripts/word-game/src/server.ts +0 -1
- package/bundles/ragents.reference/run-scripts/word-game/tests/program.test.ts +1 -2
- package/bundles/ragents.reference/skills/80-actor-text-analysis/SKILL.md +1 -1
- package/bundles/ragents.reference/skills/90-actor-notes/SKILL.md +1 -1
- package/bundles/ragents.todo/ragents-bundle.json +2 -2
- package/bundles/ragents.transcript/ragents-bundle.json +2 -2
- package/bundles/ragents.watch/ragents-bundle.json +2 -2
- package/bundles/ragents.workspace/ragents-bundle.json +2 -2
- package/package.json +8 -8
- package/packages/agent/dist/core/agent-settings.d.ts +1 -1
- package/packages/ai/dist/types.d.ts +2 -1
- package/packages/ragents/src/runtime/journal.ts +4 -0
- package/plugins/ragents.actor-programs/prompt.hbs +4 -5
- package/plugins/ragents.actor-programs/server/access-projections.ts +1 -1
- package/plugins/ragents.actor-programs/server/index.ts +0 -2
- package/plugins/ragents.actor-programs/server/runtime.ts +2 -10
- package/plugins/ragents.actor-programs/web/ActorViewFrame.tsx +5 -20
- package/plugins/ragents.actor-programs/web/AppsPanel.tsx +3 -79
- package/plugins/ragents.actor-programs/web/EmbeddedApps.tsx +0 -9
- package/plugins/ragents.actor-programs/web/api.ts +0 -20
- package/plugins/ragents.actor-programs/web/context.ts +0 -3
- package/plugins/ragents.actor-programs/web/index.tsx +0 -9
- package/plugins/ragents.orchestration/ragents-plugin.json +1 -2
- package/plugins/ragents.orchestration/server/index.ts +1 -11
- package/plugins/ragents.orchestration/web/ActorChat.tsx +1 -1
- package/plugins/ragents.orchestration/web/ActorChatControls.tsx +1 -1
- package/plugins/ragents.orchestration/web/FlowInspector.tsx +2 -4
- package/plugins/ragents.orchestration/web/InspectionPanel.tsx +21 -0
- package/plugins/ragents.orchestration/web/index.tsx +13 -9
- package/plugins/ragents.orchestration/web/program-slot.ts +0 -3
- package/plugins/ragents.orchestration/web/run-panel/AddresseeControl.tsx +15 -36
- package/plugins/ragents.orchestration/web/run-panel/RunPanel.tsx +76 -451
- package/plugins/ragents.orchestration/web/run-panel/run-panel-actors.ts +0 -27
- package/plugins/ragents.orchestration/web/run-panel/run-panel-state.ts +7 -40
- package/plugins/ragents.overseer/server/coordinator-prompt.ts +0 -1
- package/plugins/ragents.reference/examples.ts +1 -2
- package/plugins/ragents.reference/run-scripts/balcony-wizard/RUN.md +1 -1
- package/plugins/ragents.reference/run-scripts/balcony-wizard/src/server.ts +1 -2
- package/plugins/ragents.reference/run-scripts/balcony-wizard/tests/program.test.ts +6 -7
- package/plugins/ragents.reference/run-scripts/conversation-circle/RUN.md +3 -3
- package/plugins/ragents.reference/run-scripts/conversation-circle/src/server.ts +3 -13
- package/plugins/ragents.reference/run-scripts/conversation-circle/tests/helpers.ts +1 -1
- package/plugins/ragents.reference/run-scripts/conversation-circle/tests/program.test.ts +1 -6
- package/plugins/ragents.reference/run-scripts/learning-afternoon/src/server.ts +1 -15
- package/plugins/ragents.reference/run-scripts/learning-afternoon/tests/program.test.ts +1 -1
- package/plugins/ragents.reference/run-scripts/moderated-round/tests/helpers.ts +1 -1
- package/plugins/ragents.reference/run-scripts/quick-note/RUN.md +1 -1
- package/plugins/ragents.reference/run-scripts/quick-note/src/server.ts +1 -2
- package/plugins/ragents.reference/run-scripts/quick-note/tests/program.test.ts +0 -2
- package/plugins/ragents.reference/run-scripts/run-roster/RUN.md +2 -2
- package/plugins/ragents.reference/run-scripts/run-roster/src/server.ts +1 -2
- package/plugins/ragents.reference/run-scripts/run-roster/tests/program.test.ts +0 -2
- package/plugins/ragents.reference/run-scripts/shared-actor-list/src/server.ts +1 -1
- package/plugins/ragents.reference/run-scripts/shared-actor-list/tests/helpers.ts +1 -1
- package/plugins/ragents.reference/run-scripts/word-game/src/contract.ts +1 -1
- package/plugins/ragents.reference/run-scripts/word-game/src/server.ts +0 -1
- package/plugins/ragents.reference/run-scripts/word-game/tests/program.test.ts +1 -2
- package/plugins/ragents.reference/skills/80-actor-text-analysis/SKILL.md +1 -1
- package/plugins/ragents.reference/skills/90-actor-notes/SKILL.md +1 -1
- package/plugins/ragents.reference/walkthroughs.ts +13 -14
- package/apps/web/dist/assets/highlighted-body-KPVGNVTW-BwD4uYEe.js +0 -1
- package/apps/web/dist/assets/main-KBrc5Q77.js +0 -11
- package/apps/web/dist/assets/mermaid-HWGCJPDP-CSCkaArr.js +0 -608
- package/apps/web/dist/assets/runPanel-BjG5NBKm.js +0 -26
- package/apps/web/src/App.tsx +0 -318
- package/apps/web/src/SessionList.tsx +0 -157
- package/apps/web/src/SurfaceShortcuts.tsx +0 -60
- package/apps/web/src/WorkspacePanel.tsx +0 -309
- package/apps/web/src/run-panel.tsx +0 -52
- package/bundles/ragents.orchestration/server/chunks/chunk-QS3WJ3D7.js +0 -11
- package/bundles/ragents.orchestration/server/chunks/chunk-QS3WJ3D7.js.map +0 -7
- package/bundles/ragents.orchestration/server/exports/server/contract.js +0 -9
- package/bundles/ragents.orchestration/server/exports/server/contract.js.map +0 -7
- package/bundles/ragents.orchestration/surface.hbs +0 -39
- package/bundles/ragents.orchestration/web/chunks/chunk-CFMJD5ZI.js +0 -2
- package/bundles/ragents.orchestration/web/chunks/chunk-CFMJD5ZI.js.map +0 -7
- package/bundles/ragents.orchestration/web/chunks/chunk-HOBLI364.js +0 -2
- package/bundles/ragents.orchestration/web/chunks/chunk-HOBLI364.js.map +0 -7
- package/bundles/ragents.orchestration/web/chunks/chunk-UCIMT2R4.js +0 -2
- package/bundles/ragents.orchestration/web/chunks/chunk-UCIMT2R4.js.map +0 -7
- package/bundles/ragents.orchestration/web/chunks/chunk-XGPPQCZR.js +0 -2
- package/bundles/ragents.orchestration/web/chunks/chunk-XGPPQCZR.js.map +0 -7
- package/bundles/ragents.orchestration/web/exports/web/surface-entities.js +0 -2
- package/bundles/ragents.orchestration/web/exports/web/surface-entities.js.map +0 -7
- package/bundles/ragents.orchestration/web/exports/web/tile-docking.js +0 -2
- package/bundles/ragents.orchestration/web/exports/web/tile-docking.js.map +0 -7
- package/plugins/ragents.actor-programs/web/ExpandIcon.tsx +0 -5
- package/plugins/ragents.actor-programs/web/FullscreenHost.tsx +0 -31
- package/plugins/ragents.orchestration/contract.ts +0 -51
- package/plugins/ragents.orchestration/server/contract.ts +0 -14
- package/plugins/ragents.orchestration/server/surface-tool.ts +0 -198
- package/plugins/ragents.orchestration/surface.hbs +0 -39
- package/plugins/ragents.orchestration/tiled-layout.ts +0 -55
- package/plugins/ragents.orchestration/web/ActorChatPreview.tsx +0 -29
- package/plugins/ragents.orchestration/web/ActorShortcut.tsx +0 -74
- package/plugins/ragents.orchestration/web/ActorSurfaceControls.tsx +0 -130
- package/plugins/ragents.orchestration/web/ActorTile.tsx +0 -23
- package/plugins/ragents.orchestration/web/Center.tsx +0 -133
- package/plugins/ragents.orchestration/web/SurfaceTiles.tsx +0 -47
- package/plugins/ragents.orchestration/web/TiledSurface.tsx +0 -280
- package/plugins/ragents.orchestration/web/actor-header-settings.ts +0 -41
- package/plugins/ragents.orchestration/web/run-panel/RunPanelSettings.tsx +0 -50
- package/plugins/ragents.orchestration/web/run-panel/run-panel-settings.ts +0 -47
- package/plugins/ragents.orchestration/web/run-panel/sheet-status.ts +0 -30
- package/plugins/ragents.orchestration/web/surface-entities.ts +0 -21
- package/plugins/ragents.orchestration/web/surface-view-settings.ts +0 -42
- package/plugins/ragents.orchestration/web/tile-docking.ts +0 -105
- package/plugins/ragents.orchestration/web/tiled-view-settings.ts +0 -74
- /package/apps/web/dist/assets/{mermaid-HWGCJPDP-BPn4aV2r.css → main-BPn4aV2r.css} +0 -0
|
@@ -132,47 +132,26 @@
|
|
|
132
132
|
<button class="nav-menu" type="button" aria-expanded="false" aria-controls="main-navigation"><span data-menu-label>Menu</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></button>
|
|
133
133
|
</header><main class="shell" id="main"><div class="guide-layout"><aside class="guide-sidebar"><nav class="guide-chapters" aria-label="Guide navigation"><a href="guide.html">Overview</a><div class="guide-nav-group"><p>Understand</p><a href="guide-ideas.html">Core ideas</a><a href="guide-runtime.html">Actors and messages</a></div><div class="guide-nav-group"><p>Use</p><a href="guide-getting-started.html">Get started</a><a href="guide-clients.html" aria-current="page">Web and VS Code</a><a href="guide-distributed.html">Distributed work</a></div><div class="guide-nav-group"><p>Build</p><a href="guide-functions.html">Work with TypeScript</a><a href="guide-programs.html">Build mini-apps</a><a href="guide-plugins.html">Plugins and skills</a></div><div class="guide-nav-group"><p>Access</p><a href="guide-access.html">Assign permissions</a></div></nav></aside><details class="guide-mobile-nav"><summary>Guide: Web and VS Code</summary><nav class="guide-chapters" aria-label="Guide navigation"><a href="guide.html">Overview</a><div class="guide-nav-group"><p>Understand</p><a href="guide-ideas.html">Core ideas</a><a href="guide-runtime.html">Actors and messages</a></div><div class="guide-nav-group"><p>Use</p><a href="guide-getting-started.html">Get started</a><a href="guide-clients.html" aria-current="page">Web and VS Code</a><a href="guide-distributed.html">Distributed work</a></div><div class="guide-nav-group"><p>Build</p><a href="guide-functions.html">Work with TypeScript</a><a href="guide-programs.html">Build mini-apps</a><a href="guide-plugins.html">Plugins and skills</a></div><div class="guide-nav-group"><p>Access</p><a href="guide-access.html">Assign permissions</a></div></nav></details><article class="guide-body"><header class="guide-title"><p class="eyebrow"><a href="guide.html">Guide</a></p><h1>Web and VS Code</h1><p>Use the same runs in the browser and in the VS Code extension; automate them through the API and command-line tools.</p></header><details class="guide-page-nav"><summary>On this page</summary><nav aria-label="On this page"><a href="#run-panel-and-vs-code-extension">Run panel and VS Code extension</a><a href="#control-ragents-as-an-agent">Control RAgents as an agent</a><a href="#drive-runs-from-external-clients">Drive runs from external clients</a></nav></details><h2 id="run-panel-and-vs-code-extension">Run panel and VS Code extension</h2>
|
|
134
134
|
<p>The run panel is also available in the browser. <code>http://localhost:4710/run-panel.html?run=<id></code>
|
|
135
|
-
shows
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
height, open tab, and tab-area height, is stored per run in the browser.</p>
|
|
135
|
+
shows chat with an addressee selector, mini-app tabs, and the inspection bar on the right.
|
|
136
|
+
Without <code>run</code>, it shows the shared Start page.
|
|
137
|
+
<code>run-panel.html?layout=app&run=<id>&element=<app-id></code> shows one mini-app without the tab bar.
|
|
138
|
+
The selected app and addressee are stored per run in the browser.</p>
|
|
140
139
|
<p>With write rights, the menu at the top right of an open run offers "Run script": it lists the run
|
|
141
140
|
scripts you may start, each with its description, and greyed out with the reason when it cannot
|
|
142
141
|
join this run, because its <code>RUN.md</code> does not set <code>embeddable: true</code> or because it fixes a start
|
|
143
142
|
option to a value the run does not have. A click starts it inside the run without a start value;
|
|
144
|
-
the primary actor stays, a repeated start reuses the script, its main view
|
|
145
|
-
tiles, and its output and summary appear in the chat as <code>@handle: ...</code>. If the start is refused,
|
|
143
|
+
the primary actor stays, a repeated start reuses the script, its main view becomes available as an app, and its output and summary appear in the chat as <code>@handle: ...</code>. If the start is refused,
|
|
146
144
|
the menu shows why. The same menu works in the VS Code run panel.</p>
|
|
147
|
-
<p>The
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
(speech bubble), "Chat below" (a sheet over the app), and "Chat right" (beside the app).
|
|
158
|
-
"Chat right" is the default. While the panel is narrower than the
|
|
159
|
-
configured width, that option is disabled and the chat stays below. "Chat only" gives the chat the
|
|
160
|
-
entire panel: the mini-app
|
|
161
|
-
recedes, nothing slides in or out, and an open sheet closes cleanly. Switching back rebuilds the
|
|
162
|
-
mini-app, so unsaved input in it is lost. The choice is stored per run and survives a restart.
|
|
163
|
-
The extension can also open a mini-app as an editor tab in the center, which works well with
|
|
164
|
-
"Chat only" in the run panel.</p>
|
|
165
|
-
<p>In "Chat below", the handle controls the expanded chat height. Dragging up makes it taller;
|
|
166
|
-
dragging down makes it shorter. The chosen height is stored per run. The collapsed chat shows the
|
|
167
|
-
handle, status, and complete input, including multiple input lines. An open question sits
|
|
168
|
-
completely above the input there as well: the collapsed chat grows by its height, up to half of
|
|
169
|
-
the panel, and the status line reads "Waiting for input". Hovering or
|
|
170
|
-
writing opens the chat to the chosen height (90 percent of the panel by default). Dragging leaves
|
|
171
|
-
the chat open at its new height. Clicking the handle opens or closes it. With
|
|
172
|
-
keyboard focus on the handle, up and down change the height, Home and End select its limits, and
|
|
173
|
-
Escape cancels an active drag.</p>
|
|
174
|
-
<p>The collapsed chat keeps its rounded border, background, and shadow. The compact handle row
|
|
175
|
-
shows keyboard focus on the small grip itself.</p>
|
|
145
|
+
<p>The inspection rail on the right contains files, documents, functions, executions, and
|
|
146
|
+
language-server diagnostics according to the run and your permissions. Clicking an icon opens
|
|
147
|
+
a panel over the current view. The same icon, Escape, X, or the backdrop closes it. The open
|
|
148
|
+
inspection tab is stored per run. Visited persistent panels keep their state while closed.</p>
|
|
149
|
+
<p>In the browser panel, select Chat or a mini-app in the tab row. Only that view is visible;
|
|
150
|
+
visited apps keep their local input when you switch away. A new app appears without taking focus,
|
|
151
|
+
and an unavailable selected app returns you to Chat. In VS Code, click an app entry to open or
|
|
152
|
+
focus its single editor tab; moving that tab between editor groups does not create a second one.
|
|
153
|
+
The panel stays on chat. Questions and news stay in the chat, and unsent drafts stay with their
|
|
154
|
+
addressee when you switch actors.</p>
|
|
176
155
|
<p>The chip at the left of the chat input names the addressee, the actor your messages go to.
|
|
177
156
|
Clicking it opens the addressee list as a tree of who created whom, like the agent tree of a
|
|
178
157
|
coding assistant: the coordinator at the top, below it the agents and TypeScript actors it
|
|
@@ -185,9 +164,8 @@ with their shared handle prefix, their number, and a count per state; click it t
|
|
|
185
164
|
it. A group that contains the current addressee opens by itself. With more than twelve actors a
|
|
186
165
|
search field appears above the tree; it matches every word against handle, display name, and
|
|
187
166
|
description and keeps the creators of each hit visible. Clicking an entry makes it the addressee
|
|
188
|
-
and closes the list.
|
|
189
|
-
|
|
190
|
-
actors had descriptions, the description falls back to the first assignment or the display name.</p>
|
|
167
|
+
and closes the list. All actors permitted by your access rights are available, including stopped
|
|
168
|
+
actors. TypeScript actors require inspection rights.</p>
|
|
191
169
|
<p>The extension lives under <code>apps/vscode</code>. It works with all configured <strong>servers at the same
|
|
192
170
|
time</strong>; there is no single active connection. A server in the <code>ragents.connections</code> setting is
|
|
193
171
|
either a server (<code>name</code> and <code>url</code>; it connects automatically when activated and its card asks
|
|
@@ -308,8 +286,8 @@ confirmation; to stop a single actor for good, use "Stop" on its actor
|
|
|
308
286
|
been stopped, the input is replaced by <code>@handle stopped: <reason></code> and, with permission to operate
|
|
309
287
|
and inspect the run, "Restart". Restarting the former primary actor makes it the
|
|
310
288
|
primary actor again, and the run chat continues.</p>
|
|
311
|
-
<p>
|
|
312
|
-
|
|
289
|
+
<p>Click a mini-app in the run panel to open or focus its editor tab. Move and close that tab with
|
|
290
|
+
VS Code; opening it again reuses its current group or creates one editor after it was closed. Text artifacts and the journal open as read-only documents, while other artifacts
|
|
313
291
|
open in the browser. <code>RAgents: New run</code> uses a Quick Pick grouped by server and template.
|
|
314
292
|
The first entry for each server is its default, marked "Default", or the free task without
|
|
315
293
|
a template. The commands <code>RAgents: Disconnect</code>, <code>RAgents: Connect</code>, and
|
|
@@ -317,7 +295,9 @@ a template. The commands <code>RAgents: Disconnect</code>, <code>RAgents: Connec
|
|
|
317
295
|
<p>When the run chat or a hosted mini-app input has focus, VS Code shortcuts such as Cmd/Ctrl+P
|
|
318
296
|
and Cmd/Ctrl+Shift+P still work using your keybindings, including key chords. This also applies
|
|
319
297
|
to nested hosted mini-app frames. Text entry, selection, undo, and clipboard actions remain in
|
|
320
|
-
the input field.
|
|
298
|
+
the input field. After pasting, focus stays in that input, including in nested mini-apps and
|
|
299
|
+
when the clipboard is empty. You can continue typing or undo without clicking the input again.
|
|
300
|
+
Dictation tools that paste their result, such as HEX, use the same input path.
|
|
321
301
|
Keys already handled by the chat or mini-app are not also executed as VS Code commands.
|
|
322
302
|
In a regular browser, native keyboard and clipboard behavior remains in use.</p>
|
|
323
303
|
<p>To make RAgents smaller or larger independently of VS Code's window zoom, set <code>ragents.zoom</code>
|
|
@@ -5,52 +5,29 @@ Use the same runs in the browser and in the VS Code extension; automate them thr
|
|
|
5
5
|
## Run panel and VS Code extension
|
|
6
6
|
|
|
7
7
|
The run panel is also available in the browser. `http://localhost:4710/run-panel.html?run=<id>`
|
|
8
|
-
shows
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
height, open tab, and tab-area height, is stored per run in the browser.
|
|
8
|
+
shows chat with an addressee selector, mini-app tabs, and the inspection bar on the right.
|
|
9
|
+
Without `run`, it shows the shared Start page.
|
|
10
|
+
`run-panel.html?layout=app&run=<id>&element=<app-id>` shows one mini-app without the tab bar.
|
|
11
|
+
The selected app and addressee are stored per run in the browser.
|
|
13
12
|
|
|
14
13
|
With write rights, the menu at the top right of an open run offers "Run script": it lists the run
|
|
15
14
|
scripts you may start, each with its description, and greyed out with the reason when it cannot
|
|
16
15
|
join this run, because its `RUN.md` does not set `embeddable: true` or because it fixes a start
|
|
17
16
|
option to a value the run does not have. A click starts it inside the run without a start value;
|
|
18
|
-
the primary actor stays, a repeated start reuses the script, its main view
|
|
19
|
-
tiles, and its output and summary appear in the chat as `@handle: ...`. If the start is refused,
|
|
17
|
+
the primary actor stays, a repeated start reuses the script, its main view becomes available as an app, and its output and summary appear in the chat as `@handle: ...`. If the start is refused,
|
|
20
18
|
the menu shows why. The same menu works in the VS Code run panel.
|
|
21
19
|
|
|
22
|
-
The
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
(speech bubble), "Chat below" (a sheet over the app), and "Chat right" (beside the app).
|
|
34
|
-
"Chat right" is the default. While the panel is narrower than the
|
|
35
|
-
configured width, that option is disabled and the chat stays below. "Chat only" gives the chat the
|
|
36
|
-
entire panel: the mini-app
|
|
37
|
-
recedes, nothing slides in or out, and an open sheet closes cleanly. Switching back rebuilds the
|
|
38
|
-
mini-app, so unsaved input in it is lost. The choice is stored per run and survives a restart.
|
|
39
|
-
The extension can also open a mini-app as an editor tab in the center, which works well with
|
|
40
|
-
"Chat only" in the run panel.
|
|
41
|
-
|
|
42
|
-
In "Chat below", the handle controls the expanded chat height. Dragging up makes it taller;
|
|
43
|
-
dragging down makes it shorter. The chosen height is stored per run. The collapsed chat shows the
|
|
44
|
-
handle, status, and complete input, including multiple input lines. An open question sits
|
|
45
|
-
completely above the input there as well: the collapsed chat grows by its height, up to half of
|
|
46
|
-
the panel, and the status line reads "Waiting for input". Hovering or
|
|
47
|
-
writing opens the chat to the chosen height (90 percent of the panel by default). Dragging leaves
|
|
48
|
-
the chat open at its new height. Clicking the handle opens or closes it. With
|
|
49
|
-
keyboard focus on the handle, up and down change the height, Home and End select its limits, and
|
|
50
|
-
Escape cancels an active drag.
|
|
51
|
-
|
|
52
|
-
The collapsed chat keeps its rounded border, background, and shadow. The compact handle row
|
|
53
|
-
shows keyboard focus on the small grip itself.
|
|
20
|
+
The inspection rail on the right contains files, documents, functions, executions, and
|
|
21
|
+
language-server diagnostics according to the run and your permissions. Clicking an icon opens
|
|
22
|
+
a panel over the current view. The same icon, Escape, X, or the backdrop closes it. The open
|
|
23
|
+
inspection tab is stored per run. Visited persistent panels keep their state while closed.
|
|
24
|
+
|
|
25
|
+
In the browser panel, select Chat or a mini-app in the tab row. Only that view is visible;
|
|
26
|
+
visited apps keep their local input when you switch away. A new app appears without taking focus,
|
|
27
|
+
and an unavailable selected app returns you to Chat. In VS Code, click an app entry to open or
|
|
28
|
+
focus its single editor tab; moving that tab between editor groups does not create a second one.
|
|
29
|
+
The panel stays on chat. Questions and news stay in the chat, and unsent drafts stay with their
|
|
30
|
+
addressee when you switch actors.
|
|
54
31
|
|
|
55
32
|
The chip at the left of the chat input names the addressee, the actor your messages go to.
|
|
56
33
|
Clicking it opens the addressee list as a tree of who created whom, like the agent tree of a
|
|
@@ -64,9 +41,9 @@ with their shared handle prefix, their number, and a count per state; click it t
|
|
|
64
41
|
it. A group that contains the current addressee opens by itself. With more than twelve actors a
|
|
65
42
|
search field appears above the tree; it matches every word against handle, display name, and
|
|
66
43
|
description and keeps the creators of each hit visible. Clicking an entry makes it the addressee
|
|
67
|
-
and closes the list.
|
|
68
|
-
|
|
69
|
-
|
|
44
|
+
and closes the list. All actors permitted by your access rights are available, including stopped
|
|
45
|
+
actors. TypeScript actors require inspection rights.
|
|
46
|
+
|
|
70
47
|
|
|
71
48
|
The extension lives under `apps/vscode`. It works with all configured **servers at the same
|
|
72
49
|
time**; there is no single active connection. A server in the `ragents.connections` setting is
|
|
@@ -200,8 +177,8 @@ been stopped, the input is replaced by `@handle stopped: <reason>` and, with per
|
|
|
200
177
|
and inspect the run, "Restart". Restarting the former primary actor makes it the
|
|
201
178
|
primary actor again, and the run chat continues.
|
|
202
179
|
|
|
203
|
-
|
|
204
|
-
|
|
180
|
+
Click a mini-app in the run panel to open or focus its editor tab. Move and close that tab with
|
|
181
|
+
VS Code; opening it again reuses its current group or creates one editor after it was closed. Text artifacts and the journal open as read-only documents, while other artifacts
|
|
205
182
|
open in the browser. `RAgents: New run` uses a Quick Pick grouped by server and template.
|
|
206
183
|
The first entry for each server is its default, marked "Default", or the free task without
|
|
207
184
|
a template. The commands `RAgents: Disconnect`, `RAgents: Connect`, and
|
|
@@ -210,7 +187,9 @@ a template. The commands `RAgents: Disconnect`, `RAgents: Connect`, and
|
|
|
210
187
|
When the run chat or a hosted mini-app input has focus, VS Code shortcuts such as Cmd/Ctrl+P
|
|
211
188
|
and Cmd/Ctrl+Shift+P still work using your keybindings, including key chords. This also applies
|
|
212
189
|
to nested hosted mini-app frames. Text entry, selection, undo, and clipboard actions remain in
|
|
213
|
-
the input field.
|
|
190
|
+
the input field. After pasting, focus stays in that input, including in nested mini-apps and
|
|
191
|
+
when the clipboard is empty. You can continue typing or undo without clicking the input again.
|
|
192
|
+
Dictation tools that paste their result, such as HEX, use the same input path.
|
|
214
193
|
Keys already handled by the chat or mini-app are not also executed as VS Code commands.
|
|
215
194
|
In a regular browser, native keyboard and clipboard behavior remains in use.
|
|
216
195
|
|
|
@@ -163,7 +163,7 @@ permissions; plain LLMs with <code>tools: []</code> do not receive it.</p>
|
|
|
163
163
|
<code>label</code> for people. <code>description</code> briefly explains its purpose and appears in the automatic
|
|
164
164
|
overview. An optional <code>longDescription</code> adds detailed rules, prerequisites, and examples. Input
|
|
165
165
|
and result types come from schemas; descriptions do not replace those contracts. Local recursive
|
|
166
|
-
schema references create named TypeScript aliases, keeping nested contracts
|
|
166
|
+
schema references create named TypeScript aliases, keeping nested recursive contracts
|
|
167
167
|
fully typed in snippets, actor programs, and the public run API. Resolution includes local
|
|
168
168
|
<code>$defs</code> references; external references are not loaded.</p>
|
|
169
169
|
<p>Without selected names, <code>typescript_api</code> returns the compact catalog. <code>query</code> searches names and
|
|
@@ -43,7 +43,7 @@ A function registered with `defineRunFunction` has a technical `name` for calls
|
|
|
43
43
|
`label` for people. `description` briefly explains its purpose and appears in the automatic
|
|
44
44
|
overview. An optional `longDescription` adds detailed rules, prerequisites, and examples. Input
|
|
45
45
|
and result types come from schemas; descriptions do not replace those contracts. Local recursive
|
|
46
|
-
schema references create named TypeScript aliases, keeping nested contracts
|
|
46
|
+
schema references create named TypeScript aliases, keeping nested recursive contracts
|
|
47
47
|
fully typed in snippets, actor programs, and the public run API. Resolution includes local
|
|
48
48
|
`$defs` references; external references are not loaded.
|
|
49
49
|
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
<a class="nav-github" href="https://github.com/SchlenkR/RAgents" aria-label="GitHub"><svg class="gh-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M12 2a10 10 0 0 0-3.2 19.5c.5.1.7-.2.7-.5v-1.7c-2.8.6-3.4-1.3-3.4-1.3-.5-1.2-1.1-1.5-1.1-1.5-.9-.6.1-.6.1-.6 1 .1 1.5 1 1.5 1 .9 1.6 2.4 1.1 3 .9.1-.7.4-1.1.6-1.4-2.2-.3-4.6-1.1-4.6-5 0-1.1.4-2 1-2.7-.1-.3-.4-1.3.1-2.7 0 0 .8-.3 2.8 1a9.6 9.6 0 0 1 5 0c1.9-1.3 2.8-1 2.8-1 .5 1.4.2 2.4.1 2.7.6.7 1 1.6 1 2.7 0 3.9-2.4 4.7-4.6 5 .4.3.7.9.7 1.9V21c0 .3.2.6.7.5A10 10 0 0 0 12 2Z"/></svg><span class="gh-label">GitHub</span></a>
|
|
131
131
|
</nav>
|
|
132
132
|
<button class="nav-menu" type="button" aria-expanded="false" aria-controls="main-navigation"><span data-menu-label>Menu</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></button>
|
|
133
|
-
</header><main class="shell" id="main"><div class="guide-layout"><aside class="guide-sidebar"><nav class="guide-chapters" aria-label="Guide navigation"><a href="guide.html">Overview</a><div class="guide-nav-group"><p>Understand</p><a href="guide-ideas.html">Core ideas</a><a href="guide-runtime.html">Actors and messages</a></div><div class="guide-nav-group"><p>Use</p><a href="guide-getting-started.html" aria-current="page">Get started</a><a href="guide-clients.html">Web and VS Code</a><a href="guide-distributed.html">Distributed work</a></div><div class="guide-nav-group"><p>Build</p><a href="guide-functions.html">Work with TypeScript</a><a href="guide-programs.html">Build mini-apps</a><a href="guide-plugins.html">Plugins and skills</a></div><div class="guide-nav-group"><p>Access</p><a href="guide-access.html">Assign permissions</a></div></nav></aside><details class="guide-mobile-nav"><summary>Guide: Get started</summary><nav class="guide-chapters" aria-label="Guide navigation"><a href="guide.html">Overview</a><div class="guide-nav-group"><p>Understand</p><a href="guide-ideas.html">Core ideas</a><a href="guide-runtime.html">Actors and messages</a></div><div class="guide-nav-group"><p>Use</p><a href="guide-getting-started.html" aria-current="page">Get started</a><a href="guide-clients.html">Web and VS Code</a><a href="guide-distributed.html">Distributed work</a></div><div class="guide-nav-group"><p>Build</p><a href="guide-functions.html">Work with TypeScript</a><a href="guide-programs.html">Build mini-apps</a><a href="guide-plugins.html">Plugins and skills</a></div><div class="guide-nav-group"><p>Access</p><a href="guide-access.html">Assign permissions</a></div></nav></details><article class="guide-body"><header class="guide-title"><p class="eyebrow"><a href="guide.html">Guide</a></p><h1>Get started</h1><p>Install RAgents, start a profile, and create your first run.</p></header><details class="guide-page-nav"><summary>On this page</summary><nav aria-label="On this page"><a href="#install-locally">Install locally</a><a href="#configure-model-access-and-start">Configure model access and start</a><a href="#build-after-changes">Build after changes</a><a href="#create-your-first-run">Create your first run</a><a href="#use-
|
|
133
|
+
</header><main class="shell" id="main"><div class="guide-layout"><aside class="guide-sidebar"><nav class="guide-chapters" aria-label="Guide navigation"><a href="guide.html">Overview</a><div class="guide-nav-group"><p>Understand</p><a href="guide-ideas.html">Core ideas</a><a href="guide-runtime.html">Actors and messages</a></div><div class="guide-nav-group"><p>Use</p><a href="guide-getting-started.html" aria-current="page">Get started</a><a href="guide-clients.html">Web and VS Code</a><a href="guide-distributed.html">Distributed work</a></div><div class="guide-nav-group"><p>Build</p><a href="guide-functions.html">Work with TypeScript</a><a href="guide-programs.html">Build mini-apps</a><a href="guide-plugins.html">Plugins and skills</a></div><div class="guide-nav-group"><p>Access</p><a href="guide-access.html">Assign permissions</a></div></nav></aside><details class="guide-mobile-nav"><summary>Guide: Get started</summary><nav class="guide-chapters" aria-label="Guide navigation"><a href="guide.html">Overview</a><div class="guide-nav-group"><p>Understand</p><a href="guide-ideas.html">Core ideas</a><a href="guide-runtime.html">Actors and messages</a></div><div class="guide-nav-group"><p>Use</p><a href="guide-getting-started.html" aria-current="page">Get started</a><a href="guide-clients.html">Web and VS Code</a><a href="guide-distributed.html">Distributed work</a></div><div class="guide-nav-group"><p>Build</p><a href="guide-functions.html">Work with TypeScript</a><a href="guide-programs.html">Build mini-apps</a><a href="guide-plugins.html">Plugins and skills</a></div><div class="guide-nav-group"><p>Access</p><a href="guide-access.html">Assign permissions</a></div></nav></details><article class="guide-body"><header class="guide-title"><p class="eyebrow"><a href="guide.html">Guide</a></p><h1>Get started</h1><p>Install RAgents, start a profile, and create your first run.</p></header><details class="guide-page-nav"><summary>On this page</summary><nav aria-label="On this page"><a href="#install-locally">Install locally</a><a href="#configure-model-access-and-start">Configure model access and start</a><a href="#build-after-changes">Build after changes</a><a href="#create-your-first-run">Create your first run</a><a href="#use-chat-and-mini-apps">Use chat and mini-apps</a></nav></details><h2 id="install-locally">Install locally</h2>
|
|
134
134
|
<p>The application is built from the repository with Node.js and pnpm. Run these commands from
|
|
135
135
|
the repository root:</p>
|
|
136
136
|
<pre><code class="language-sh">pnpm install
|
|
@@ -208,8 +208,7 @@ bundles or an outdated interface and names <code>pnpm build:plugins</code> or <c
|
|
|
208
208
|
Settings opens the included help. For separate static hosting, <code>pnpm generate:homepage</code> creates
|
|
209
209
|
the same website under <code>docs/homepage/dist</code>.</p>
|
|
210
210
|
<h2 id="create-your-first-run">Create your first run</h2>
|
|
211
|
-
<p>
|
|
212
|
-
shows the same tiles as the start page in VS Code: "New chat" or the server's default
|
|
211
|
+
<p>Start shows recent runs and the same templates in the browser and VS Code: "New chat" or the server's default
|
|
213
212
|
template first, then skill templates with a prepared task and script templates with programmed
|
|
214
213
|
setups. "New chat" opens an empty run whose task you write in its chat; a template starts with one
|
|
215
214
|
click. Some templates collect values in a setup dialog first ("Set up"); a skill template then
|
|
@@ -217,27 +216,20 @@ continues in the preparation chat. There you can discuss the task, give a clear
|
|
|
217
216
|
"Start", or choose "Create run". Merely confirming a detail does not start
|
|
218
217
|
anything. In the browser a new run always works on the server; only VS Code and <code>ragents run</code>
|
|
219
218
|
bind a run to a workstation.</p>
|
|
219
|
+
<p>While a template starts, the panel shows its progress in the chat area and reserves the
|
|
220
|
+
bottom status bar, keeping the notice in place when the run connects.</p>
|
|
220
221
|
<p>Inside the run, the coordinator processes the task. Additional agents and mini-apps appear on
|
|
221
222
|
the surface when the workflow creates them. The global coordinator in the header has its own
|
|
222
223
|
conversation and can oversee several runs. The journal and "Executions" tab make events and
|
|
223
224
|
TypeScript calls traceable.</p>
|
|
224
|
-
<h2 id="use-
|
|
225
|
-
<p>
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
X and drag handle are hidden. Dividers for adjusting size ratios remain available.</p>
|
|
235
|
-
<p>Drag a divider to the desired ratio; releasing it saves the value. Escape cancels the active
|
|
236
|
-
resize. With keyboard focus on a divider, arrow keys change its size while Home and End set the
|
|
237
|
-
allowed limits. When space is tight, the "Visible tile" selector displays one item at a time
|
|
238
|
-
without discarding the layout. You can also ask the coordinator: "App on the left, chat on the
|
|
239
|
-
right, 50:50" or "One tile on top, two below at a 2:1 ratio." Until a layout is specified, the
|
|
240
|
-
surface arranges visible participants itself. Your changes remain saved until the program
|
|
241
|
-
changes its layout. A new program layout is applied automatically so added tiles appear at
|
|
242
|
-
once. "Apply program layout" in the status bar can reset your own layout earlier.</p>
|
|
225
|
+
<h2 id="use-chat-and-mini-apps">Use chat and mini-apps</h2>
|
|
226
|
+
<p>Activated visible mini-apps become available automatically, including those from an embedded setup.
|
|
227
|
+
Programs cannot arrange the host interface. Runs saved with removed layout functions or placements
|
|
228
|
+
are locked with an explanation; their original files are kept. Start a new run with updated programs.</p>
|
|
229
|
+
<p>Browser runs have tabs: Chat, then each available mini-app. Only one view is visible. Chat
|
|
230
|
+
and visited apps keep their input when you switch tabs. New apps appear without interrupting
|
|
231
|
+
your current view. If a selected app becomes unavailable, the panel returns to Chat.</p>
|
|
232
|
+
<p>In VS Code, clicking an app opens or focuses its editor tab. VS Code controls where that tab
|
|
233
|
+
appears. Questions and news stay in chat. The selector below the input chooses the addressee;
|
|
234
|
+
the run coordinator is selected by default.</p>
|
|
243
235
|
<p class="guide-source">Source: <a href="https://github.com/SchlenkR/RAgents/blob/main/docs/operations.md">docs/operations.md</a>, <a href="https://github.com/SchlenkR/RAgents/blob/main/docs/usage.md">docs/usage.md</a>. <a href="guide-getting-started.md">This chapter as Markdown</a>.</p><p><a href="guide-clients.html">Use Web and VS Code</a></p><nav class="guide-next" aria-label="Continue reading"><a href="guide-runtime.html">Previous: Actors and messages</a><a href="guide-clients.html">Next: Web and VS Code</a></nav></article></div></main><footer class="shell"><p>Generated from public documentation. Rebuild with <code>pnpm generate:homepage</code>. Verify with <code>pnpm check:homepage</code>.</p><nav aria-label="More pages"><a href="index.html">Homepage</a><a href="guide.html">Guide</a></nav></footer></body></html>
|
|
@@ -98,8 +98,7 @@ the same website under `docs/homepage/dist`.
|
|
|
98
98
|
|
|
99
99
|
## Create your first run
|
|
100
100
|
|
|
101
|
-
|
|
102
|
-
shows the same tiles as the start page in VS Code: "New chat" or the server's default
|
|
101
|
+
Start shows recent runs and the same templates in the browser and VS Code: "New chat" or the server's default
|
|
103
102
|
template first, then skill templates with a prepared task and script templates with programmed
|
|
104
103
|
setups. "New chat" opens an empty run whose task you write in its chat; a template starts with one
|
|
105
104
|
click. Some templates collect values in a setup dialog first ("Set up"); a skill template then
|
|
@@ -108,30 +107,24 @@ continues in the preparation chat. There you can discuss the task, give a clear
|
|
|
108
107
|
anything. In the browser a new run always works on the server; only VS Code and `ragents run`
|
|
109
108
|
bind a run to a workstation.
|
|
110
109
|
|
|
110
|
+
While a template starts, the panel shows its progress in the chat area and reserves the
|
|
111
|
+
bottom status bar, keeping the notice in place when the run connects.
|
|
112
|
+
|
|
111
113
|
Inside the run, the coordinator processes the task. Additional agents and mini-apps appear on
|
|
112
114
|
the surface when the workflow creates them. The global coordinator in the header has its own
|
|
113
115
|
conversation and can oversee several runs. The journal and "Executions" tab make events and
|
|
114
116
|
TypeScript calls traceable.
|
|
115
117
|
|
|
116
|
-
## Use
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
Drag a divider to the desired ratio; releasing it saves the value. Escape cancels the active
|
|
131
|
-
resize. With keyboard focus on a divider, arrow keys change its size while Home and End set the
|
|
132
|
-
allowed limits. When space is tight, the "Visible tile" selector displays one item at a time
|
|
133
|
-
without discarding the layout. You can also ask the coordinator: "App on the left, chat on the
|
|
134
|
-
right, 50:50" or "One tile on top, two below at a 2:1 ratio." Until a layout is specified, the
|
|
135
|
-
surface arranges visible participants itself. Your changes remain saved until the program
|
|
136
|
-
changes its layout. A new program layout is applied automatically so added tiles appear at
|
|
137
|
-
once. "Apply program layout" in the status bar can reset your own layout earlier.
|
|
118
|
+
## Use chat and mini-apps
|
|
119
|
+
|
|
120
|
+
Activated visible mini-apps become available automatically, including those from an embedded setup.
|
|
121
|
+
Programs cannot arrange the host interface. Runs saved with removed layout functions or placements
|
|
122
|
+
are locked with an explanation; their original files are kept. Start a new run with updated programs.
|
|
123
|
+
|
|
124
|
+
Browser runs have tabs: Chat, then each available mini-app. Only one view is visible. Chat
|
|
125
|
+
and visited apps keep their input when you switch tabs. New apps appear without interrupting
|
|
126
|
+
your current view. If a selected app becomes unavailable, the panel returns to Chat.
|
|
127
|
+
|
|
128
|
+
In VS Code, clicking an app opens or focuses its editor tab. VS Code controls where that tab
|
|
129
|
+
appears. Questions and news stay in chat. The selector below the input chooses the addressee;
|
|
130
|
+
the run coordinator is selected by default.
|
|
@@ -166,7 +166,7 @@ program again so it can assign the next actor.</p>
|
|
|
166
166
|
the journal does not execute the recorded work again. The
|
|
167
167
|
<a href="guide-runtime.html">runtime guide</a> explains how the pieces fit together.</p>
|
|
168
168
|
<h2 id="mini-apps-make-the-work-interactive">Mini-apps make the work interactive</h2>
|
|
169
|
-
<p>An actor can have a small interface: a mini-app
|
|
169
|
+
<p>An actor can have a small interface: a mini-app in the shared panel. It displays the actor's data
|
|
170
170
|
and calls its functions. In the word game, this interface contains the start button, progress,
|
|
171
171
|
and word list. On the collection board, both an AI assistant and a person can add entries to
|
|
172
172
|
the same list.</p>
|
|
@@ -51,7 +51,7 @@ the journal does not execute the recorded work again. The
|
|
|
51
51
|
|
|
52
52
|
## Mini-apps make the work interactive
|
|
53
53
|
|
|
54
|
-
An actor can have a small interface: a mini-app
|
|
54
|
+
An actor can have a small interface: a mini-app in the shared panel. It displays the actor's data
|
|
55
55
|
and calls its functions. In the word game, this interface contains the start button, progress,
|
|
56
56
|
and word list. On the collection board, both an AI assistant and a person can add entries to
|
|
57
57
|
the same list.
|
|
@@ -270,7 +270,7 @@ function and the owning web-plugin contribution opens it in the correct area. Ke
|
|
|
270
270
|
state separate from unsent input. Unchanged polling responses must not overwrite drafts, and old
|
|
271
271
|
responses must not replace newer state. Keep loading and errors visible during actions, and retain
|
|
272
272
|
the last valid result after a failed request. Polling must neither overlap nor continue forever
|
|
273
|
-
in hidden areas. Test Enter, buttons, focus, narrow
|
|
273
|
+
in hidden areas. Test Enter, buttons, focus, narrow views, and dialogs inside the real host
|
|
274
274
|
iframe; a render test alone does not prove native interactions work there.</p>
|
|
275
275
|
<h3 id="8-choose-evidence-for-what-it-proves">8. Choose evidence for what it proves</h3>
|
|
276
276
|
<p>Contract tests verify inputs, state transitions, and errors. Integration tests verify real
|
|
@@ -120,7 +120,7 @@ function and the owning web-plugin contribution opens it in the correct area. Ke
|
|
|
120
120
|
state separate from unsent input. Unchanged polling responses must not overwrite drafts, and old
|
|
121
121
|
responses must not replace newer state. Keep loading and errors visible during actions, and retain
|
|
122
122
|
the last valid result after a failed request. Polling must neither overlap nor continue forever
|
|
123
|
-
in hidden areas. Test Enter, buttons, focus, narrow
|
|
123
|
+
in hidden areas. Test Enter, buttons, focus, narrow views, and dialogs inside the real host
|
|
124
124
|
iframe; a render test alone does not prove native interactions work there.
|
|
125
125
|
|
|
126
126
|
### 8. Choose evidence for what it proves
|
|
@@ -161,7 +161,7 @@ include local modules, while fixed local dependencies come from the host install
|
|
|
161
161
|
<p><code>package.json</code> contains <code>name</code>, <code>private: true</code>, <code>type: "module"</code>, and <code>ragents</code> metadata with a
|
|
162
162
|
title, optional description, optional backend, and optional named views. Each view has an ID and
|
|
163
163
|
client entry point; its title and stylesheet are optional. A view declares no size; the host sizes
|
|
164
|
-
its
|
|
164
|
+
its tab. At least one backend or view must exist. The host supplies HTML with a <code>root</code> element
|
|
165
165
|
for each view. The authoritative schemas are in
|
|
166
166
|
<code>apps/server/src/plugin-support/actor-programs/app-project.ts</code>; a violation names each path and
|
|
167
167
|
its reason, for example <code>views.0 has unknown field width</code>.</p>
|
|
@@ -40,7 +40,7 @@ include local modules, while fixed local dependencies come from the host install
|
|
|
40
40
|
`package.json` contains `name`, `private: true`, `type: "module"`, and `ragents` metadata with a
|
|
41
41
|
title, optional description, optional backend, and optional named views. Each view has an ID and
|
|
42
42
|
client entry point; its title and stylesheet are optional. A view declares no size; the host sizes
|
|
43
|
-
its
|
|
43
|
+
its tab. At least one backend or view must exist. The host supplies HTML with a `root` element
|
|
44
44
|
for each view. The authoritative schemas are in
|
|
45
45
|
`apps/server/src/plugin-support/actor-programs/app-project.ts`; a violation names each path and
|
|
46
46
|
its reason, for example `views.0 has unknown field width`.
|