@quixomatic/rpf 0.0.0-stage → 0.2.0
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/CHANGELOG.md +52 -0
- package/LICENSE +21 -0
- package/README.md +82 -2
- package/assets/dev-host/THIRD_PARTY_NOTICES.txt +2937 -0
- package/assets/dev-host/boot.js +250 -0
- package/assets/dev-host/boot.js.LEGAL.txt +48 -0
- package/assets/dev-host/chunks/accordion-O6VUPQ32.js +2 -0
- package/assets/dev-host/chunks/alert-PRAGKG5L.js +2 -0
- package/assets/dev-host/chunks/alert-dialog-SCBXM23J.js +2 -0
- package/assets/dev-host/chunks/avatar-WXPKQ3Z5.js +2 -0
- package/assets/dev-host/chunks/badge-KCMWGERA.js +2 -0
- package/assets/dev-host/chunks/breadcrumb-IJQJQ5JV.js +2 -0
- package/assets/dev-host/chunks/button-4JMBKYN4.js +2 -0
- package/assets/dev-host/chunks/calendar-XXLCAUPG.js +2 -0
- package/assets/dev-host/chunks/card-EY3LK2GB.js +2 -0
- package/assets/dev-host/chunks/chart-2PHC6UIE.js +2 -0
- package/assets/dev-host/chunks/chart-blocks-PZPCWCNT.js +2 -0
- package/assets/dev-host/chunks/chart-frame-MNUFXAPU.js +3 -0
- package/assets/dev-host/chunks/charts-SKK6UTYU.js +85 -0
- package/assets/dev-host/chunks/charts-SKK6UTYU.js.LEGAL.txt +48 -0
- package/assets/dev-host/chunks/chat-TTESCYES.js +2 -0
- package/assets/dev-host/chunks/checkbox-Y2UGSRR4.js +2 -0
- package/assets/dev-host/chunks/chunk-2IZ44WWI.js +2 -0
- package/assets/dev-host/chunks/chunk-2L7NK6SJ.js +2 -0
- package/assets/dev-host/chunks/chunk-33RMFA4P.js +2 -0
- package/assets/dev-host/chunks/chunk-3H6F4X7R.js +2 -0
- package/assets/dev-host/chunks/chunk-3UDEYJRG.js +2 -0
- package/assets/dev-host/chunks/chunk-4E74H7FZ.js +2 -0
- package/assets/dev-host/chunks/chunk-4UUMO65R.js +2 -0
- package/assets/dev-host/chunks/chunk-57M36GYM.js +2 -0
- package/assets/dev-host/chunks/chunk-5EK7QOB6.js +2 -0
- package/assets/dev-host/chunks/chunk-5YMOXSSM.js +2 -0
- package/assets/dev-host/chunks/chunk-5ZMYWE5S.js +2 -0
- package/assets/dev-host/chunks/chunk-6ARM5VDH.js +2 -0
- package/assets/dev-host/chunks/chunk-7OCTAHT6.js +2 -0
- package/assets/dev-host/chunks/chunk-7TG23VIV.js +2 -0
- package/assets/dev-host/chunks/chunk-AAL6V4Y3.js +2 -0
- package/assets/dev-host/chunks/chunk-APP2HKWR.js +8 -0
- package/assets/dev-host/chunks/chunk-AVSRGCSF.js +2 -0
- package/assets/dev-host/chunks/chunk-AZWODE64.js +2 -0
- package/assets/dev-host/chunks/chunk-B4MRCKT4.js +2 -0
- package/assets/dev-host/chunks/chunk-BB4IX5QA.js +2 -0
- package/assets/dev-host/chunks/chunk-BH6FGVDP.js +2 -0
- package/assets/dev-host/chunks/chunk-BJZOPTWR.js +2 -0
- package/assets/dev-host/chunks/chunk-CCXMDKVL.js +2 -0
- package/assets/dev-host/chunks/chunk-CJ5CECQT.js +1 -0
- package/assets/dev-host/chunks/chunk-CLVPTZ4G.js +2 -0
- package/assets/dev-host/chunks/chunk-CT4EH2K2.js +8 -0
- package/assets/dev-host/chunks/chunk-CT4EH2K2.js.LEGAL.txt +12 -0
- package/assets/dev-host/chunks/chunk-CWDPAB6V.js +2 -0
- package/assets/dev-host/chunks/chunk-D7BPK3AE.js +1 -0
- package/assets/dev-host/chunks/chunk-DG6LRRQT.js +2 -0
- package/assets/dev-host/chunks/chunk-DR47HKIK.js +2 -0
- package/assets/dev-host/chunks/chunk-E75HEEMN.js +2 -0
- package/assets/dev-host/chunks/chunk-EDEL6XSO.js +2 -0
- package/assets/dev-host/chunks/chunk-EGZKG2B2.js +2 -0
- package/assets/dev-host/chunks/chunk-F353PAEY.js +2 -0
- package/assets/dev-host/chunks/chunk-F5MKIWPQ.js +2 -0
- package/assets/dev-host/chunks/chunk-FJRWQRLM.js +2 -0
- package/assets/dev-host/chunks/chunk-FROPNHO5.js +2 -0
- package/assets/dev-host/chunks/chunk-FTWKUXER.js +2 -0
- package/assets/dev-host/chunks/chunk-FZPMZMFU.js +2 -0
- package/assets/dev-host/chunks/chunk-GN3SYBEC.js +2 -0
- package/assets/dev-host/chunks/chunk-GQYRJYJV.js +2 -0
- package/assets/dev-host/chunks/chunk-GWDGPUGM.js +2 -0
- package/assets/dev-host/chunks/chunk-GX72R347.js +2 -0
- package/assets/dev-host/chunks/chunk-GZJCEDUU.js +4 -0
- package/assets/dev-host/chunks/chunk-H6TI5TWN.js +2 -0
- package/assets/dev-host/chunks/chunk-HFUDOYIP.js +16 -0
- package/assets/dev-host/chunks/chunk-IAEAQCYR.js +2 -0
- package/assets/dev-host/chunks/chunk-IJQ26FTX.js +15 -0
- package/assets/dev-host/chunks/chunk-IJQ26FTX.js.LEGAL.txt +12 -0
- package/assets/dev-host/chunks/chunk-IQ2XSDFU.js +3 -0
- package/assets/dev-host/chunks/chunk-IQ2XSDFU.js.LEGAL.txt +146 -0
- package/assets/dev-host/chunks/chunk-IWEJRU22.js +2 -0
- package/assets/dev-host/chunks/chunk-JIAVZ3V7.js +3 -0
- package/assets/dev-host/chunks/chunk-K7LVVFGH.js +1 -0
- package/assets/dev-host/chunks/chunk-KAZVAX35.js +2 -0
- package/assets/dev-host/chunks/chunk-KCTKD6GV.js +2 -0
- package/assets/dev-host/chunks/chunk-KNOE7TZW.js +2 -0
- package/assets/dev-host/chunks/chunk-KOQLDUOI.js +2 -0
- package/assets/dev-host/chunks/chunk-KPP4HYUV.js +2 -0
- package/assets/dev-host/chunks/chunk-KSVOOYUA.js +2 -0
- package/assets/dev-host/chunks/chunk-KVMUXFPB.js +2 -0
- package/assets/dev-host/chunks/chunk-LTVKSGLG.js +2 -0
- package/assets/dev-host/chunks/chunk-LYT7LQS3.js +2 -0
- package/assets/dev-host/chunks/chunk-M7A47ZSM.js +2 -0
- package/assets/dev-host/chunks/chunk-MGLBTOXD.js +6 -0
- package/assets/dev-host/chunks/chunk-ML6HCGK5.js +2 -0
- package/assets/dev-host/chunks/chunk-MQ67DRDE.js +2 -0
- package/assets/dev-host/chunks/chunk-MTHCFDUE.js +2 -0
- package/assets/dev-host/chunks/chunk-NI6ZJ6DH.js +2 -0
- package/assets/dev-host/chunks/chunk-NJX7QY3Z.js +2 -0
- package/assets/dev-host/chunks/chunk-NZ73KS2Y.js +2 -0
- package/assets/dev-host/chunks/chunk-OW6AVFQA.js +2 -0
- package/assets/dev-host/chunks/chunk-OXJ6LWKI.js +3 -0
- package/assets/dev-host/chunks/chunk-OXJ6LWKI.js.LEGAL.txt +12 -0
- package/assets/dev-host/chunks/chunk-PHK25MY7.js +2 -0
- package/assets/dev-host/chunks/chunk-PQMY72VV.js +2 -0
- package/assets/dev-host/chunks/chunk-PWFHIE6D.js +2 -0
- package/assets/dev-host/chunks/chunk-PYWKHILP.js +2 -0
- package/assets/dev-host/chunks/chunk-QFN6XL4O.js +2 -0
- package/assets/dev-host/chunks/chunk-R5KQ2GRA.js +2 -0
- package/assets/dev-host/chunks/chunk-RCNX6LVJ.js +3 -0
- package/assets/dev-host/chunks/chunk-RCNX6LVJ.js.LEGAL.txt +12 -0
- package/assets/dev-host/chunks/chunk-SFI7YWVR.js +2 -0
- package/assets/dev-host/chunks/chunk-SLZI4G3N.js +2 -0
- package/assets/dev-host/chunks/chunk-SVQCDOZ3.js +2 -0
- package/assets/dev-host/chunks/chunk-T4Y5HG5P.js +4 -0
- package/assets/dev-host/chunks/chunk-T7JFBQSG.js +2 -0
- package/assets/dev-host/chunks/chunk-TIJLEKZ2.js +2 -0
- package/assets/dev-host/chunks/chunk-TNLYU77Y.js +2 -0
- package/assets/dev-host/chunks/chunk-TQPXDAVH.js +2 -0
- package/assets/dev-host/chunks/chunk-UH726PMV.js +7 -0
- package/assets/dev-host/chunks/chunk-UH726PMV.js.LEGAL.txt +12 -0
- package/assets/dev-host/chunks/chunk-URJZKT45.js +2 -0
- package/assets/dev-host/chunks/chunk-URWVHIIJ.js +2 -0
- package/assets/dev-host/chunks/chunk-UUJ5X322.js +2 -0
- package/assets/dev-host/chunks/chunk-UWANBOC6.js +2 -0
- package/assets/dev-host/chunks/chunk-UXUS6DNI.js +2 -0
- package/assets/dev-host/chunks/chunk-VKXVJGG5.js +6 -0
- package/assets/dev-host/chunks/chunk-VSM3ZOBU.js +2 -0
- package/assets/dev-host/chunks/chunk-WLBNJ4K3.js +2 -0
- package/assets/dev-host/chunks/chunk-WRHZYADJ.js +2 -0
- package/assets/dev-host/chunks/chunk-WT34MBTN.js +2 -0
- package/assets/dev-host/chunks/chunk-X34AFUS2.js +2 -0
- package/assets/dev-host/chunks/chunk-XE5RQ73V.js +2 -0
- package/assets/dev-host/chunks/chunk-XGLVZEGD.js +2 -0
- package/assets/dev-host/chunks/chunk-XIXCIQKJ.js +2 -0
- package/assets/dev-host/chunks/chunk-Z76KXEPD.js +2 -0
- package/assets/dev-host/chunks/code-block-H2ETQV3M.js +2 -0
- package/assets/dev-host/chunks/code-editor-2JYERJLS.js +2 -0
- package/assets/dev-host/chunks/collapsible-4ZOFMWLB.js +2 -0
- package/assets/dev-host/chunks/color-UDQWYS2D.js +2 -0
- package/assets/dev-host/chunks/color-picker-RRCCLR54.js +2 -0
- package/assets/dev-host/chunks/combobox-U4455OMJ.js +2 -0
- package/assets/dev-host/chunks/contrast-badge-KDF65X7J.js +2 -0
- package/assets/dev-host/chunks/core.esm-WYAV6XZS.js +2 -0
- package/assets/dev-host/chunks/date-range-picker-WJYHAHRM.js +2 -0
- package/assets/dev-host/chunks/dialog-I6AGHWB3.js +2 -0
- package/assets/dev-host/chunks/dist-T43K2TRF.js +2 -0
- package/assets/dev-host/chunks/dropdown-menu-LSOMXDWG.js +2 -0
- package/assets/dev-host/chunks/empty-NLQODUSK.js +2 -0
- package/assets/dev-host/chunks/esm-L33CRTOD.js +5 -0
- package/assets/dev-host/chunks/font-picker-3TLYYZJH.js +2 -0
- package/assets/dev-host/chunks/frame-HA7UIYZF.js +2 -0
- package/assets/dev-host/chunks/heading-7M24WKK6.js +2 -0
- package/assets/dev-host/chunks/hover-card-HSHOQPOI.js +2 -0
- package/assets/dev-host/chunks/icon-NZIMARLZ.js +2 -0
- package/assets/dev-host/chunks/image-R7XGYKVH.js +2 -0
- package/assets/dev-host/chunks/index-fn-BUQBI34R.js +5 -0
- package/assets/dev-host/chunks/index.esm-SPI7ZXRT.js +6 -0
- package/assets/dev-host/chunks/index.esm-SPI7ZXRT.js.LEGAL.txt +25 -0
- package/assets/dev-host/chunks/input-YECXNM53.js +2 -0
- package/assets/dev-host/chunks/input-group-GFKXSZM7.js +2 -0
- package/assets/dev-host/chunks/kbd-V25ZMVCM.js +2 -0
- package/assets/dev-host/chunks/label-LJT4V2CT.js +2 -0
- package/assets/dev-host/chunks/label-value-6Z6ATP55.js +2 -0
- package/assets/dev-host/chunks/legacy-4ICQWPOE.js +2 -0
- package/assets/dev-host/chunks/logo-AAMBHX2W.js +2 -0
- package/assets/dev-host/chunks/number-field-6TCQAVTR.js +2 -0
- package/assets/dev-host/chunks/pill-7L57ZNRJ.js +2 -0
- package/assets/dev-host/chunks/popover-3P6YNKH3.js +2 -0
- package/assets/dev-host/chunks/portal-code-Z5G6AEMM.js +25 -0
- package/assets/dev-host/chunks/portal-rte-7B6VXIZO.js +163 -0
- package/assets/dev-host/chunks/progress-RBCJRVM7.js +2 -0
- package/assets/dev-host/chunks/radio-group-NJWXZCX3.js +2 -0
- package/assets/dev-host/chunks/resizable-XF4P6OKR.js +2 -0
- package/assets/dev-host/chunks/rich-text-7OMYZ564.js +2 -0
- package/assets/dev-host/chunks/rich-text-editor-T6KWD4P3.js +2 -0
- package/assets/dev-host/chunks/scroll-row-LMI7JCFR.js +2 -0
- package/assets/dev-host/chunks/select-F3MZWTTS.js +2 -0
- package/assets/dev-host/chunks/separator-JRJYKM4Z.js +2 -0
- package/assets/dev-host/chunks/sheet-EXRT4MFB.js +2 -0
- package/assets/dev-host/chunks/side-panel-IBHLEANN.js +2 -0
- package/assets/dev-host/chunks/sidebar-VKQMQMF2.js +2 -0
- package/assets/dev-host/chunks/skeleton-KIRVQ4EO.js +2 -0
- package/assets/dev-host/chunks/slider-XKYDL5MR.js +2 -0
- package/assets/dev-host/chunks/sortable.esm-3VPY5PX7.js +2 -0
- package/assets/dev-host/chunks/split-button-WP6LALDS.js +2 -0
- package/assets/dev-host/chunks/stepper-KR6PXZHW.js +2 -0
- package/assets/dev-host/chunks/switch-P6NJELJJ.js +2 -0
- package/assets/dev-host/chunks/tabs-PFPRJNVZ.js +2 -0
- package/assets/dev-host/chunks/textarea-2JXA5XWS.js +2 -0
- package/assets/dev-host/chunks/toggle-group-PS7JN2JM.js +2 -0
- package/assets/dev-host/chunks/tooltip-S4RBC3O4.js +2 -0
- package/assets/dev-host/chunks/tree-NQF6ZJLH.js +2 -0
- package/assets/dev-host/chunks/utilities.esm-YYZNDLV4.js +2 -0
- package/assets/dev-host/css/shadcn-tailwind.css +637 -0
- package/assets/dev-host/css/tw-animate.css +1 -0
- package/assets/dev-host/kit-candidates.json +1 -0
- package/assets/dev-host/kit-manifest.json +435 -0
- package/assets/react-portal-lockup-on-dark.svg +11 -0
- package/assets/react-portal-lockup.svg +11 -0
- package/dist/cli.mjs +16200 -0
- package/package.json +65 -5
- package/skills/react-portal/SKILL.md +161 -0
- package/skills/react-portal/references/cli.md +141 -0
- package/skills/react-portal/references/components.md +214 -0
- package/skills/react-portal/references/rules.md +115 -0
- package/skills/react-portal/references/troubleshooting.md +58 -0
- package/skills/react-portal/references/workspace.md +178 -0
- package/skills/react-portal-theme/SKILL.md +110 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
`@quixomatic/rpf` has its own version, independent of React Portal's. Compatibility with an instance is the Forge API
|
|
4
|
+
level (`rpf doctor`), not the version number.
|
|
5
|
+
|
|
6
|
+
## 0.2.0 (unreleased)
|
|
7
|
+
|
|
8
|
+
Needs Node 24+ and React Portal 1.53.0+ (Forge API level 1). Pulls write equal-order siblings in the instance's order
|
|
9
|
+
only against a React Portal release whose workspace snapshot sends creation times; older instances keep the 0.1
|
|
10
|
+
order.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`rpf dev`**: a local preview of a workspace. A clean-room dev host (React 19, every `@portal/runtime` export,
|
|
15
|
+
the host kit bundled), components compiled on your machine (esbuild, Tailwind v4 portal sheet), library
|
|
16
|
+
components and referenced themes fetched from the instance with your user and cached in `.forge/dev/`, theme web
|
|
17
|
+
fonts, live data and record watch through an authenticated localhost proxy (127.0.0.1, Host check, a run key that
|
|
18
|
+
persists per workspace, `--new-key`), hot remount on save, a problems overlay and a diagnostics dock.
|
|
19
|
+
- **Server scripts in `rpf dev`**: unchanged scripts of placements on the instance run there; changed or new ones run
|
|
20
|
+
staged in the component's own application when the instance allows it (property
|
|
21
|
+
`x_312987_portal.dev.server_script_preview`, off by default, never on production).
|
|
22
|
+
- **`rpf preview [route]`**: opens a route of the running `rpf dev` server in a browser rpf controls, waits for idle,
|
|
23
|
+
reports problems, console errors and server calls; `--screenshot`, `--a11y`, `--theme`, `--width`, `--show`,
|
|
24
|
+
`--attach`, `--write`.
|
|
25
|
+
- **MCP `dev_*` tools** in `rpf mcp`: `dev_status`, `dev_open`, `dev_act`, `dev_screenshot`, `dev_inspect`,
|
|
26
|
+
`dev_eval`, `dev_wait_idle`, driving a read-only browser (rpf refuses its instance writes).
|
|
27
|
+
- **`rpf update`** and a once-a-day update notice (silent in CI, with `--json` / `--quiet`, in `rpf mcp`, or with
|
|
28
|
+
`RPF_NO_UPDATE_CHECK=1`); `rpf update --check`.
|
|
29
|
+
- **Any portal as a workspace**, React Portal's own included: the workspace holds only the React Portal components the
|
|
30
|
+
portal uses, and push plans say whose records they are.
|
|
31
|
+
- `rpf doctor` checks rpf dev's toolchain (esbuild runs, Tailwind loads, the dev host assets are present).
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
|
|
35
|
+
- Pulls write equal-order placements (same region) and menu items (same level) in the order the portal renders them:
|
|
36
|
+
creation time, as the runtime does. Only real ties move; workspaces without ties re-pull byte-identical, and record
|
|
37
|
+
keys never change.
|
|
38
|
+
- `rpf dev` follows the instance's own menus for the signed-in user for items with a condition script or user
|
|
39
|
+
criteria, when the portal exists on the instance. Dynamic (`script`) menu items are left out, as the runtime does.
|
|
40
|
+
- `rpf new component` applies React Portal's component id rules (restricted namespaces refused; the workspace app's
|
|
41
|
+
scope as the default namespace).
|
|
42
|
+
|
|
43
|
+
### Dependencies
|
|
44
|
+
|
|
45
|
+
- Added `esbuild` 0.28.2 (compiles components; a native binary per platform) and `tailwindcss` 4.3.5.
|
|
46
|
+
|
|
47
|
+
## 0.1.0 (2026-11-25)
|
|
48
|
+
|
|
49
|
+
First release: profiles and sign-in (`basic`, OAuth kinds, `bearer`, `apikey`, `mtls`, `session`) with an encrypted
|
|
50
|
+
credential store, `init`, the workspace loop (`pull`, `status`, `diff`, `resolve`, `check`, `push`, `rename`),
|
|
51
|
+
`new component`, `seed`, lookups (`portals`, `components`, `docs`, `api`, `themes`), the built-in skills, `doctor` and
|
|
52
|
+
the Forge MCP server (`rpf mcp`).
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 TurboForge LLC
|
|
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,83 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="./assets/react-portal-lockup-on-dark.svg">
|
|
4
|
+
<img src="./assets/react-portal-lockup.svg" alt="React Portal" height="56">
|
|
5
|
+
</picture>
|
|
6
|
+
</p>
|
|
7
|
+
<!-- The logo ships in the package (assets/, generated by the brand script). If the npm page shows it broken, point
|
|
8
|
+
these at the package's own CDN copy (https://cdn.jsdelivr.net/npm/rpforge/assets/…), never at repository URLs. -->
|
|
2
9
|
|
|
3
|
-
|
|
10
|
+
# rpforge
|
|
11
|
+
|
|
12
|
+
React Portal from the terminal. `rpforge` (alias `rpf`) works with ServiceNow instances that run React Portal:
|
|
13
|
+
instance profiles and sign-in, new draft portals, portals as local files you edit and push, a local preview with live
|
|
14
|
+
data (`rpf dev`), app packs onto other instances, live lookups, built-in Claude Code skills, health checks, and the Forge MCP server.
|
|
15
|
+
|
|
16
|
+
Needs **Node 24** or newer, and React Portal on the instance with Forge enabled. Every call runs as your ServiceNow
|
|
17
|
+
user through the instance's Forge API, so your React Portal roles apply. rpforge never publishes a portal and never
|
|
18
|
+
deletes a record.
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
npm i -g @quixomatic/rpf
|
|
22
|
+
|
|
23
|
+
rpforge auth add dev --instance acme-dev --kind oauth-code
|
|
24
|
+
rpforge auth login dev
|
|
25
|
+
rpforge doctor
|
|
26
|
+
|
|
27
|
+
rpforge init # a new draft portal and its local workspace, step by step
|
|
28
|
+
cd hr-portal
|
|
29
|
+
rpforge status # local changes, instance changes, conflicts
|
|
30
|
+
rpforge check # format, lint, the instance compile, the push dry run
|
|
31
|
+
rpforge push # the dry run, then the confirmed push of exactly that plan
|
|
32
|
+
rpf dev # preview the portal locally; saving a file updates the page
|
|
33
|
+
|
|
34
|
+
rpforge seed ./hr-portal --profile test # an app pack onto another instance (plan first)
|
|
35
|
+
rpforge skills install # the agent skills into .claude/skills
|
|
36
|
+
claude mcp add forge -- rpforge mcp --profile dev
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Commands
|
|
40
|
+
|
|
41
|
+
| | |
|
|
42
|
+
|---|---|
|
|
43
|
+
| `auth add \| list \| use \| remove \| login \| logout \| status` | Profiles: an instance and a sign-in (`basic`, `oauth-password`, `oauth-client`, `oauth-code`, `bearer`, `apikey`, `mtls`, `session`). Secrets are encrypted at rest under a key in the OS keyring |
|
|
44
|
+
| `doctor` | The instance, versions, kill switch, capabilities, local tools |
|
|
45
|
+
| `init` | A new draft portal in an application and update set you pick, pulled into a workspace |
|
|
46
|
+
| `pull`, `status`, `diff`, `resolve`, `check`, `push`, `rename` | The workspace loop: one portal as files (`portal.mjs`, `components/`, `themes/`, `assets/`), three-way status, two-step pushes with plan hashes |
|
|
47
|
+
| `new component <ns>/<key>` | Scaffolds a component folder |
|
|
48
|
+
| `seed <pack>` | Puts an app pack onto an instance that doesn't have its portal yet: preflight, one plan, then the empty draft and the push, all in the target update set |
|
|
49
|
+
| `portals`, `components`, `docs`, `api`, `themes` | Read-only lookups on the instance; `themes generate` makes contrast-checked tokens from a brand color locally |
|
|
50
|
+
| `skills install \| update \| list` | The built-in `react-portal` and `react-portal-theme` skills for Claude Code |
|
|
51
|
+
| `dev` | A local preview of the workspace's portal: components compiled on your machine, live instance data through a session rpf holds, saving a file updates the page. A diagnostics dock shows problems, staged server scripts, server calls, record watch and caches |
|
|
52
|
+
| `preview [route]` | Opens a route of the running `rpf dev` server in a browser rpf controls (read-only: rpf refuses its writes), waits until it's idle, and reports problems, console errors and server calls; `--screenshot`, `--a11y`, `--show`, `--attach <cdp url>` |
|
|
53
|
+
| `mcp` | The Forge MCP server on stdio, with a profile's settings. Includes the `dev_*` tools: drive the workspace's `rpf dev` page like a user (open, click, type, press, scroll, evaluate, accessibility tree, console, network, screenshots), in a read-only browser |
|
|
54
|
+
|
|
55
|
+
`rpforge <command> --help` lists every flag. For agents and CI: `--json` (one JSON document on stdout),
|
|
56
|
+
`--no-interactive`, `--yes`, `--dry-run`, and fixed exit codes (0 ok, 1 refused or failed, 2 usage, 3 sign-in,
|
|
57
|
+
4 Forge off or incompatible, 5 network).
|
|
58
|
+
|
|
59
|
+
## Documentation
|
|
60
|
+
|
|
61
|
+
The full guide ships with React Portal on your instance: **rpforge CLI** in the Studio section of the React Portal
|
|
62
|
+
docs, or from the terminal:
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
rpforge docs read studio/rpforge
|
|
66
|
+
rpforge docs read studio/rpf-dev
|
|
67
|
+
rpforge docs read studio/forge-mcp
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Compatibility
|
|
71
|
+
|
|
72
|
+
rpforge has its own version. The instance reports a Forge API level, and rpforge checks it on every command: an
|
|
73
|
+
older React Portal is refused with "update React Portal on the instance", a newer one gets a warning to update
|
|
74
|
+
rpforge. `rpforge doctor` shows both. rpforge 0.1 and 0.2 speak Forge API level 1 (React Portal 1.53.0 or later). What changed: CHANGELOG.md.
|
|
75
|
+
|
|
76
|
+
## License
|
|
77
|
+
|
|
78
|
+
MIT, copyright TurboForge LLC, for this package. React Portal itself (the ServiceNow application) is a separate,
|
|
79
|
+
proprietary product: its component records are fetched from your instance with your own rights and are never part of
|
|
80
|
+
this package. The `rpf dev` host bundles React, Base UI, lucide, TanStack, sonner, cva, clsx, tailwind-merge,
|
|
81
|
+
dnd-kit, Recharts, CodeMirror and TipTap, under their own licenses (MIT, ISC, Apache-2.0 for cva, BSD-3-Clause parts
|
|
82
|
+
in Recharts' d3 build); their notices are in `assets/dev-host/THIRD_PARTY_NOTICES.txt`. The React Portal
|
|
83
|
+
logo in the host kit is a trademark: the license covers the code, not the mark for use in other products.
|