@unieai/rabi-web-app 0.0.0-stage → 0.2.2-rc.5

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 DeepSeek
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,8 @@
1
- # Temporary Holding Version
1
+ # @unieai/rabi-web-app
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The rabi browser-surface bundle: the web patch layer over rabi-base plus the runtime glue plugin (frontend dist serving, bash runtime variables, URL line)
4
+
5
+ Part of Rabi, the agent harness UnieAI Code runs on. Installed as a dependency of `@unieai/rabi`;
6
+ not meant to be used on its own.
7
+
8
+ See LICENSE for the license and copyright of this package.
@@ -0,0 +1,620 @@
1
+ # The rabi-web-app bundle patch: the browser surface over the rabi-base layer.
2
+ # Applied after rabi-base's insert; rows here override base rows by id, with
3
+ # the profile's own cordis.patch.yml and any --patch overlays still to come.
4
+ #
5
+ # A patch replaces the targeted row's whole `config`, so each row below
6
+ # restates every key it owns.
7
+ #
8
+ # The web-startup plugin injects `cmdlineArgs` and provides `webStartup` as an
9
+ # ordinary Cordis service. Rows configured from flags inject that service, so
10
+ # Loader resolves their expressions only after it exists. The web-runtime row
11
+ # validates the advertised public URL; Connection reads invocation authorities
12
+ # directly from `webStartup`.
13
+ # `rabi --profile web --help` provides no `webStartup`, so no server binds.
14
+
15
+ # ── surface-specific values the base deliberately omits ─────────────────────
16
+
17
+ - id: system-prompt
18
+ config:
19
+ personaPrefix: >-
20
+ You are a coding agent powered by the {{model}} model.
21
+
22
+ # Full-text session search is opt-in (the base row's `openAt: never`). This
23
+ # restatement keeps the Web values on one ephemeral in-memory index; a
24
+ # deployment enabling content search overrides `openAt` to `first-search` in a
25
+ # later patch layer, which defers the node:sqlite import and in-memory handle
26
+ # to the first search so startup stays quiet.
27
+ - id: session-query-sqlite
28
+ config:
29
+ path: ':memory:'
30
+ openAt: never
31
+
32
+ # ── web-only host rows, the transport layer, and the browser roster ─────────
33
+
34
+ # `rabi.client` rows are the browser roster the modules node half scans into
35
+ # window.__RABI_BOOT__; the modules row is simultaneously a host row.
36
+ - insert:
37
+ - id: desktop-product-telemetry
38
+ name: '@unieai/rabi-host-product-telemetry-otel'
39
+ disabled: !!js "ctx.get('profileContext')?.name !== 'desktop'"
40
+ config:
41
+ scheduledDelayMillis: 30000
42
+ timeoutMillis: 15000
43
+ exportTimeoutMillis: 20000
44
+ shutdownTimeoutMillis: 2000
45
+ serviceName: rabi-harness-desktop
46
+ serviceVersion: !!js process.env.RABI_CLIENT_VERSION
47
+ endpoint: !!js process.env.RABI_PRODUCT_ANALYTICS_OTLP_URL
48
+
49
+ - id: product-analytics
50
+ name: '@unieai/rabi-client-product-analytics'
51
+ disabled: !!js "ctx.get('profileContext')?.name !== 'desktop'"
52
+ config:
53
+ enabled: true
54
+ appVersion: !!js process.env.RABI_CLIENT_VERSION
55
+
56
+ # Host-owned authorization sampled at Agent creation. The Plugins page
57
+ # edits this settings namespace independently of the selected preset.
58
+ - id: subagent-model-selection-settings
59
+ name: '@unieai/rabi-tool-subagent/model-selection-settings'
60
+
61
+ - id: message-feedback
62
+ name: '@unieai/rabi-message-feedback'
63
+ config:
64
+ maxNoteBytes: 8192
65
+
66
+ # Browser Session export: `/export` command plus the shared download dialog.
67
+ - id: session-log-download
68
+ name: '@unieai/rabi-session-log-export'
69
+
70
+ # Session-menu application choices over Host resolution on macOS, Windows,
71
+ # and Linux. An empty catalog hides the action. The Host routes and browser
72
+ # controls also serve the file-tree directory opener.
73
+ - id: open-in-app
74
+ name: '@unieai/rabi-host-open-in-app'
75
+ config:
76
+ probeTimeoutMs: 10000
77
+ iconTimeoutMs: 10000
78
+ launchWatchMs: 1000
79
+
80
+ - id: ui-file-actions
81
+ name: '@unieai/rabi-client-ui-file-actions'
82
+ - id: ui-context-menu
83
+ name: '@unieai/rabi-client-ui-context-menu'
84
+ - id: ui-open-in-app
85
+ name: '@unieai/rabi-client-ui-open-in-app'
86
+
87
+ - id: workspace
88
+ name: '@unieai/rabi-workspace'
89
+
90
+ - id: session-reference
91
+ name: '@unieai/rabi-session-reference'
92
+
93
+ - id: file-reference-local
94
+ name: '@unieai/rabi-file-reference-local'
95
+
96
+ # Whole-log turn/step counts for the chat stats strip (the sessionStats
97
+ # projection key); the projection registry itself is a base-layer row.
98
+ - id: session-stats
99
+ name: '@unieai/rabi-session-stats'
100
+
101
+ # Whole-log turn outline for the chat turn rail (the turnOutline
102
+ # projection key): every turn stays navigable before its events page in.
103
+ - id: session-turn-outline
104
+ name: '@unieai/rabi-session-turn-outline'
105
+
106
+ # Resolve bind host, SSH launch, and display once at boot, then mount the
107
+ # matching dual-face directory picker. Mount -native or -browse directly in
108
+ # an overlay to pin the interaction.
109
+ - id: directory-picker
110
+ name: '@unieai/rabi-host-directory-picker-auto'
111
+
112
+ # Read-only projection of current Loader entries for trusted client RPCs.
113
+ - id: plugin-inventory
114
+ name: '@unieai/rabi-host-plugin-inventory'
115
+
116
+ # Session commands, cold reads, and live control over Typert Remote.
117
+ - id: session-controller
118
+ name: '@unieai/rabi-api-session-controller'
119
+
120
+ # One background job's observation record streamed over Typert Remote;
121
+ # the roster rides the session control stream above.
122
+ - id: job-controller
123
+ name: '@unieai/rabi-api-job-controller'
124
+ # Workspace file service: bounded read, directory listing, and the
125
+ # agent-write change feed inside the session workspace root.
126
+ - id: terminal-controller
127
+ name: '@unieai/rabi-api-terminal-controller'
128
+ - id: workspace-files
129
+ name: '@unieai/rabi-api-workspace-files'
130
+
131
+ # The Schedule service owns the task store and delivers each due occurrence
132
+ # as a follow-up to the task's target Session. The clock reading and the four
133
+ # reminder tools belong to the `standard`, `cordis`, and `ptc` presets,
134
+ # which declare them in their own scope.
135
+ - id: schedule
136
+ name: '@unieai/rabi-schedule'
137
+
138
+ # Configuration-surface reads and writes over Typert Remote. Each method
139
+ # reports an actionable error when its settings-domain provider is absent.
140
+ - id: ui-settings-account
141
+ name: '@unieai/rabi-client-ui-settings-account'
142
+
143
+ - id: ui-account-notifications
144
+ name: '@unieai/rabi-client-ui-account-notifications'
145
+
146
+ - id: settings-controller
147
+ name: '@unieai/rabi-api-settings-controller'
148
+
149
+ # One shared MCP server fleet: Settings-configured servers plus servers
150
+ # that installed plugins register, with status and recovery over Remote.
151
+ # Credential templates and OAuth grants resolve through the credentials
152
+ # provider, so the manager starts after it.
153
+ - id: mcp-manager
154
+ name: '@unieai/rabi-mcp-manager'
155
+ inject: [credentials]
156
+
157
+ # Workspace commands and reconnect-safe projection over Typert Remote.
158
+ - id: workspace-controller
159
+ name: '@unieai/rabi-api-workspace-controller'
160
+
161
+ - id: cordis-host-runner
162
+ name: '@unieai/rabi-cordis-host-runner'
163
+
164
+ # The Host inspect providers are process-global: the registry rejects a
165
+ # duplicate id, so they register here once and every preset's `tool-cordis`
166
+ # row reads them.
167
+ - id: cordis-inspect-providers
168
+ name: '@unieai/rabi-tool-cordis/host'
169
+
170
+ # Ordinary provider for the parsed Web flags. Its plugin-level injection
171
+ # waits for cmdlineArgs; no launcher metadata or special row kind is needed.
172
+ - id: web-startup
173
+ name: '@unieai/rabi-web-app/startup'
174
+
175
+ # ── layer 2: transport/service ──────────────────────────────────────────────
176
+
177
+ # Plain route-registration carrier; host and port come from the app's
178
+ # webStartup provider, with these deployment fallbacks. The dist is served
179
+ # by the web-runtime row below through the fallback seat. Routing and
180
+ # browser-facing asset paths do not depend on the advertised URL, which the
181
+ # web-runtime row owns; Connection reads trust authorities from webStartup.
182
+ # This row rejects wildcard binds.
183
+ - id: webserver
184
+ name: '@unieai/rabi-host-webserver'
185
+ inject: [webStartup]
186
+ config:
187
+ host: !!js ctx.webStartup.host ?? '127.0.0.1'
188
+ port: !!js ctx.webStartup.port ?? 3080
189
+ tls: !!js ctx.webStartup.tls
190
+ compression: gzip
191
+ compressionLevel: 1
192
+ compressionThresholdBytes: 1024
193
+
194
+ # Web glue owned by this bundle: resolves the built frontend dist (an
195
+ # assembly fact of rabi-web-app, never user config), mounts the
196
+ # frontend-static fallback owner, registers the bash runtime variable,
197
+ # prints the URL line, and opens the canonical URL after the full Loader
198
+ # tree settles and the required-entry audit passes. Invocation-only values
199
+ # come from the webStartup provider; the advertised application URL is
200
+ # this row's `publicUrl`, otherwise the bind-address URL.
201
+ - id: web-runtime
202
+ name: '@unieai/rabi-web-app'
203
+ inject: [webStartup]
204
+ config:
205
+ openBrowser: !!js ctx.webStartup.openBrowser
206
+ printUrl: true
207
+ publicUrl: !!js ctx.webStartup.publicUrl
208
+ surfaceContext: true
209
+
210
+ # Model context for an agent that inspects or extends the harness serving
211
+ # this GUI: value-free prompt sections plus the current checkout and GUI
212
+ # URL as optional runtime context. A complete agent-preset persona replaces
213
+ # the sections, and a persona that suppresses optional runtime context
214
+ # also drops the two value lines.
215
+ - id: harness-dev-context
216
+ name: '@unieai/rabi-harness-dev-context'
217
+
218
+ # The client-plugin reload chain, always mounted: it is idle until a
219
+ # rebuild watcher (pnpm run dev:web) actually rewrites client bundles. It
220
+ # is a row rather than a child of web-runtime because its node half is a
221
+ # client-side package, which a host-side bundle cannot import.
222
+ - id: client-hmr
223
+ name: '@unieai/rabi-client-hmr'
224
+
225
+ # ── browser plugin roster (rabi.client rows; node halves are layer-2 hosts) ──
226
+
227
+ # Dual-face: the node half scans this tree, composes window.__RABI_BOOT__,
228
+ # and serves /plugins/<id>/client.js; the browser half is the module table
229
+ # the shell kernel constructs before cordis exists (adopted as a plugin
230
+ # entry by the kernel, never fetched).
231
+ - id: modules
232
+ name: '@unieai/rabi-client-modules'
233
+
234
+ # Owns both ends of the web transport: node half binds the gateway to the
235
+ # webserver under /api; browser half is the fetch/SSE client. Every API
236
+ # request and upgrade passes the loopback, listener-bind, or trustedHosts
237
+ # policy; an advertised public URL contributes nothing to it.
238
+ - id: connection
239
+ name: '@unieai/rabi-client-connection'
240
+ inject: [webStartup]
241
+ config:
242
+ # Keep invocation authorities (each --trusted-host value) when adding
243
+ # deployment values, for example: ['app.internal', ...ctx.webStartup.trustedHosts].
244
+ # The listener's bind IP is accepted separately from this list.
245
+ trustedHosts: !!js ctx.webStartup.trustedHosts
246
+
247
+ # Raw Blob and ReadableStream uploads run independently of Connection's
248
+ # RPC and generation service.
249
+ - id: file-upload
250
+ name: '@unieai/rabi-client-file-upload'
251
+
252
+ - id: api-remotes
253
+ name: '@unieai/rabi-api-remotes'
254
+
255
+ - id: cordis-client-runner
256
+ name: '@unieai/rabi-cordis-client-runner'
257
+
258
+ - id: ui-theme
259
+ name: '@unieai/rabi-client-ui-theme'
260
+
261
+ - id: locale
262
+ name: '@unieai/rabi-client-locale'
263
+
264
+ - id: shortcuts
265
+ name: '@unieai/rabi-client-shortcuts'
266
+
267
+ - id: ui-shortcuts
268
+ name: '@unieai/rabi-client-ui-shortcuts'
269
+
270
+ - id: ui-layout
271
+ name: '@unieai/rabi-client-ui-layout'
272
+
273
+ - id: ui-renderer
274
+ name: '@unieai/rabi-client-ui-renderer'
275
+
276
+ - id: ui-session
277
+ name: '@unieai/rabi-client-ui-session'
278
+
279
+ # Unified resource model: protocol providers behind the useResource hook.
280
+ - id: resources
281
+ name: '@unieai/rabi-client-resources'
282
+
283
+ - id: ui-sidebar
284
+ name: '@unieai/rabi-client-ui-sidebar'
285
+
286
+ # The right Sidebar: one docking surface per session over ui-dockkit.
287
+ - id: ui-sidebar-right
288
+ name: '@unieai/rabi-client-ui-sidebar-right'
289
+
290
+
291
+ - id: office-kit
292
+ name: '@unieai/rabi-office-kit'
293
+ config:
294
+ outputDirectory: !!js rabiHomePath('office-kit', 'outputs')
295
+
296
+ # Every profile uses the packaged Office skills. Desktop supplies their Python
297
+ # environment through the primary runtime named by RABI_PRIMARY_RUNTIME and
298
+ # selects `workspace-dependencies`. A Desktop profile launched without a
299
+ # nonempty value disables workspace-dependencies and, like the other
300
+ # profiles, selects `user` to direct the model to the user's Python.
301
+ - id: workspace-dependencies
302
+ name: '@unieai/rabi-tool-workspace-dependencies'
303
+ disabled: !!js "ctx.get('profileContext')?.name !== 'desktop' || !process.env.RABI_PRIMARY_RUNTIME"
304
+ config:
305
+ source: !!js process.env.RABI_PRIMARY_RUNTIME
306
+ root: !!js rabiHomePath('rabi-runtimes', 'rabi-primary-runtime')
307
+
308
+ - id: skill-office
309
+ name: '@unieai/rabi-skill-office'
310
+ config:
311
+ pythonEnvironment: !!js "ctx.get('profileContext')?.name === 'desktop' && process.env.RABI_PRIMARY_RUNTIME ? 'workspace-dependencies' : 'user'"
312
+
313
+ # The right Sidebar's document tab: bounded file reads with selectable
314
+ # Markdown, code, HTML, PDF, Office, and plain-text renderers.
315
+ - id: ui-sidebar-documentpreview
316
+ name: '@unieai/rabi-client-ui-sidebar-documentpreview'
317
+
318
+ # Web profiles opt in; Desktop retains sandboxed HTTP(S) Browser tabs.
319
+ - id: ui-sidebar-browser
320
+ name: '@unieai/rabi-client-ui-sidebar-browser'
321
+ disabled: !!js "ctx.get('profileContext')?.name !== 'desktop'"
322
+
323
+ - id: ui-sidebar-terminal
324
+ name: '@unieai/rabi-client-ui-sidebar-terminal'
325
+ # The right Sidebar's workspace file tree tab type.
326
+ - id: ui-sidebar-files
327
+ name: '@unieai/rabi-client-ui-sidebar-files'
328
+
329
+ - id: ui-settings
330
+ name: '@unieai/rabi-client-ui-settings'
331
+
332
+ - id: ui-settings-general
333
+ name: '@unieai/rabi-client-ui-settings-general'
334
+
335
+ - id: ui-settings-models
336
+ name: '@unieai/rabi-client-ui-settings-models'
337
+
338
+ # Plugin management: the sidebar Plugins page installs, enables, disables,
339
+ # and removes the profile's bundles through the `pluginManager` Remote.
340
+ # Without a profile-backed Host it reports itself unavailable.
341
+ - id: ui-plugin-manager
342
+ name: '@unieai/rabi-client-ui-plugin-manager'
343
+
344
+ # Read-only Plugin list tab in the Settings Plugins section; the built-in
345
+ # bundles the sidebar page leaves out are inspected here.
346
+ - id: ui-settings-plugin-inventory
347
+ name: '@unieai/rabi-client-ui-settings-plugin-inventory'
348
+
349
+ - id: ui-conversation
350
+ name: '@unieai/rabi-client-ui-conversation'
351
+
352
+ - id: ui-approval
353
+ name: '@unieai/rabi-client-ui-approval'
354
+
355
+ - id: message-quotes
356
+ name: '@unieai/rabi-message-quotes'
357
+
358
+ - id: ui-chat
359
+ name: '@unieai/rabi-client-ui-chat'
360
+
361
+ # Official occupants for the sidebar brand slots and the home whale frame layer.
362
+ - id: ui-brand-official
363
+ name: '@unieai/rabi-client-ui-brand-official'
364
+
365
+ - id: ui-attachment
366
+ name: '@unieai/rabi-client-ui-attachment'
367
+
368
+ - id: ui-file-drag
369
+ name: '@unieai/rabi-client-ui-file-drag'
370
+
371
+ # Tool call tree, generic fallback, and keyed business Tool views.
372
+ - id: ui-tool
373
+ name: '@unieai/rabi-client-ui-tool'
374
+
375
+ - id: ui-cordis
376
+ name: '@unieai/rabi-client-ui-cordis'
377
+
378
+ - id: deliverable-file-references
379
+ name: '@unieai/rabi-deliverable-file-references'
380
+
381
+ # Turn tail: the changed-files card and delivery cards under each closing
382
+ # assistant message. Remove this entry to turn the surface off; the tail
383
+ # hole renders empty.
384
+ - id: ui-deliverables
385
+ name: '@unieai/rabi-client-ui-deliverables'
386
+
387
+ # Records each top-level turn's changed files from git working-tree
388
+ # snapshots; the changed-files card above renders its events.
389
+ - id: workspace-changes
390
+ name: '@unieai/rabi-workspace-changes'
391
+
392
+
393
+ - id: ui-workspace
394
+ name: '@unieai/rabi-client-ui-workspace'
395
+
396
+ # Durable workflow lifecycle as an independent Chat node after the
397
+ # existing generic workflow tool row.
398
+ - id: ui-workflow-run
399
+ name: '@unieai/rabi-client-ui-workflow-run'
400
+
401
+ # Input triggers: the '/' | '@' pipeline (ui-input-trigger), the command surface over
402
+ # it (ui-commands), and the reference sources (ui-skill / ui-reference).
403
+ - id: ui-input-trigger
404
+ name: '@unieai/rabi-client-ui-input-trigger'
405
+
406
+ - id: ui-commands
407
+ name: '@unieai/rabi-client-ui-commands'
408
+
409
+ - id: ui-skill
410
+ name: '@unieai/rabi-client-ui-skill'
411
+
412
+ - id: ui-agent-team
413
+ name: '@unieai/rabi-client-ui-agent-team'
414
+
415
+ - id: ui-subagent
416
+ name: '@unieai/rabi-client-ui-subagent'
417
+
418
+ - id: ui-reference
419
+ name: '@unieai/rabi-client-ui-reference'
420
+
421
+ # Display masking for recognized credentials in sent user text; remove
422
+ # this entry to draw credentials as written.
423
+ - id: ui-secret-mask
424
+ name: '@unieai/rabi-client-ui-secret-mask'
425
+
426
+ # Background jobs: the session-header roster with on-demand streaming
427
+ # record panels over the session job-output service.
428
+ - id: ui-jobs
429
+ name: '@unieai/rabi-client-ui-jobs'
430
+
431
+ # Task management and Session reminder catalog over the Host Schedule
432
+ # service mounted above.
433
+ - id: ui-schedule
434
+ name: '@unieai/rabi-client-ui-schedule'
435
+
436
+ # Goal surface: GoalBar in the input dock over the goal session projection.
437
+ - id: ui-goal
438
+ name: '@unieai/rabi-client-ui-goal'
439
+
440
+ # The feedback surface: Like/Dislike in the assistant-message action
441
+ # strip, the feedback dialog behind Dislike and /feedback with its
442
+ # acknowledgement toast, over the messageFeedback and sessionFeedback Remotes.
443
+ - id: ui-message-feedback
444
+ name: '@unieai/rabi-client-ui-message-feedback'
445
+
446
+ # Model selection: the /model popupSelect + composer seat over session.models.
447
+ - id: ui-model-selection
448
+ name: '@unieai/rabi-client-ui-model-selection'
449
+
450
+ - id: ui-permission
451
+ name: '@unieai/rabi-client-ui-permission-presets'
452
+
453
+ # The agent-preset row in General settings: the default preset for
454
+ # sessions created later. Absent a roster it renders nothing.
455
+ - id: ui-agent-preset
456
+ name: '@unieai/rabi-client-ui-agent-preset'
457
+
458
+ # Region-local More menus: pin or unpin plugin launchers and start a
459
+ # plugin draft.
460
+ - id: entry-customization
461
+ name: '@unieai/rabi-client-ui-entry-customization'
462
+
463
+ - id: ui-settings-session-log
464
+ name: '@unieai/rabi-client-ui-settings-session-log'
465
+
466
+ # The Built-in plugins settings section: the navigation entry and the tab
467
+ # row the inventory tab registers into. The official configuration pages
468
+ # are the companion rows below.
469
+ - id: ui-settings-plugins
470
+ name: '@unieai/rabi-client-ui-settings-plugins'
471
+
472
+ # The official settings pages: one companion package per host-plane
473
+ # namespace, each registering its page into the Plugins page while the
474
+ # Host serves the namespace.
475
+ - id: ui-settings-shell
476
+ name: '@unieai/rabi-client-ui-settings-shell'
477
+
478
+ - id: ui-settings-agent-loop
479
+ name: '@unieai/rabi-client-ui-settings-agent-loop'
480
+
481
+ - id: ui-settings-subagent
482
+ name: '@unieai/rabi-client-ui-settings-subagent'
483
+
484
+ - id: ui-settings-web-search
485
+ name: '@unieai/rabi-client-ui-settings-web-search'
486
+
487
+ # Plan control: the composer plan seat over the plan projection + /plan channel.
488
+ - id: ui-plan
489
+ name: '@unieai/rabi-client-ui-plan'
490
+
491
+ - id: ui-user-questions
492
+ name: '@unieai/rabi-client-ui-user-questions'
493
+
494
+ - id: ui-trajectory
495
+ name: '@unieai/rabi-client-ui-trajectory'
496
+
497
+ # ── the agent plane moves behind agent presets ─────────────────────────────
498
+ #
499
+ # Every row below composes what ONE agent contributes to the host registries:
500
+ # its tools, its prompt sections, its delegation backends. The base keeps them
501
+ # for the TUI, which is single-session and composes its agent process-wide; the
502
+ # Web surface disables them here and lets each session mount a preset instead.
503
+ #
504
+ # Disabling rather than deleting is deliberate: the base is shared, and a row
505
+ # absent from a surface overlay would silently reappear the day someone reorders
506
+ # the composition.
507
+
508
+ # `shell-env` STAYS in the host plane: `apps/cli/src/web.ts` injects it to
509
+ # publish `RABI_WEB_URL`/`RABI_WEB_MODE`, and a host row that injects a service is
510
+ # the criterion for host-plane ownership — injection resolves before any session
511
+ # exists, so there is no agent to key by. Behind a preset realm those variables
512
+ # would never reach the model's shell at all.
513
+
514
+ - id: tool-plugin-manager
515
+ disabled: true
516
+
517
+ - id: tool-bash
518
+ disabled: true
519
+
520
+ - id: tool-pwsh
521
+ disabled: true
522
+
523
+ # The background-job REGISTRY stays on the host plane; only the model-facing
524
+ # `job_*` controls move. Its producers — `tool-bash` here and `tool-terminal`
525
+ # elsewhere — are preset rows that resolve it
526
+ # with `ctx.get`, and an entry-local realm around the registry is invisible to
527
+ # every sibling row outside that realm, so `run_in_background` answered
528
+ # "background jobs unavailable" while the controls sat in the catalog. That is
529
+ # the `goals` criterion read from inside the preset: a Service a row outside its
530
+ # realm READS belongs to the plane both can see. The registry is keyed by owning
531
+ # agent, so one host instance serves every session exactly as before presets.
532
+
533
+ - id: tool-jobs
534
+ disabled: true
535
+
536
+ - id: tool-fs
537
+ disabled: true
538
+
539
+ - id: tool-fs-search
540
+ disabled: true
541
+
542
+ # The `skill` REGISTRY stays in the host plane. It is host+per-scope layered
543
+ # (the tools-registry shape): deployment-level providers — repository plugins,
544
+ # a host skill-filesystem row — register into its global layer, while a preset's
545
+ # `skill-filesystem` registers into that preset's layer, and each agent reads the
546
+ # merged catalog its scope chain selects. Only the per-agent rows move behind
547
+ # presets: the base host `skill-filesystem` row is disabled here (presets own local
548
+ # discovery), and `tool-skill` is what a preset mounts to give its agent the
549
+ # catalog and loader at all.
550
+
551
+ - id: skill-filesystem
552
+ disabled: true
553
+
554
+ - id: tool-skill
555
+ disabled: true
556
+
557
+ # The goal service and session driver stay on the host plane, where Gateway
558
+ # remotes resolve them. Presets own the human command and model-facing tool.
559
+
560
+ - id: command-goal
561
+ disabled: true
562
+
563
+ - id: tool-goal
564
+ disabled: true
565
+
566
+ - id: plan-mode
567
+ disabled: true
568
+
569
+ # The token METER stays on the host plane; only the compaction backend that
570
+ # reads it moves. It owns the context-meter projection units, and that table is
571
+ # process-wide, so preset ownership would make the meter a function of which
572
+ # presets happen to be mounted rather than a per-session fact. Same criterion as
573
+ # `tasks` and `goals`; the reasoning has one home in
574
+ # `.agents/notes/implemented/architecture/2026-08-10-host-plane-ownership-after-presets.md`.
575
+
576
+ - id: compaction-basic
577
+ disabled: true
578
+
579
+ - id: command-compact
580
+ disabled: true
581
+
582
+ - id: tool-result-pruner
583
+ disabled: true
584
+
585
+ # The subagent registry and its backends belong in the host composition: browser
586
+ # prompt and interrupt requests share its runtime, and provider names are unique
587
+ # within the registry. Presets select the delegation tools visible to each Agent.
588
+
589
+ - id: tool-subagent-control
590
+ disabled: true
591
+
592
+ - id: tool-subagent
593
+ disabled: true
594
+
595
+ - id: tool-subagent-fork
596
+ disabled: true
597
+
598
+ - id: workflow-ptc
599
+ disabled: true
600
+
601
+ - id: tool-workflow
602
+ disabled: true
603
+
604
+ - id: agent-instructions
605
+ disabled: true
606
+
607
+ - id: tool-todo
608
+ disabled: true
609
+
610
+ - id: tool-web
611
+ disabled: true
612
+
613
+ # The preset selection registry. The shipped preset declarations follow as
614
+ # separate patch files under `presets/`, listed after this file in
615
+ # `package.json` `rabi.bundle.patch`.
616
+ - insert:
617
+ - id: agent-preset-registry
618
+ name: '@unieai/rabi-agent-preset-registry'
619
+ config:
620
+ default: standard