@unieai/rabi-web-app 0.0.0-stage → 0.2.1-rc.3

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