* REFACTOR: Rewrite infiltration to pull state out of React
Upcoming projects (auto-infil, the possibility of making infil a work
task, etc.) require infiltration state to transition with predictable
timing and be under our control, instead of inside React. This refactor
accomplishes this by pulling the state out into accompanying model
classes.
After this, infiltration can theoretically run headless (without UI),
although it doesn't actually, and you would quickly be
hospitalized due to failing all the minigames.
There should be no user-visible changes, aside from the progress-bars
scrolling much more smoothly.
* Fix console warning in InfiltrationRoot
It turns out true isn't actually a safe value to use in JSX, only false works.
* Fix up some comments
* Convert purchased server functions to cloud API
- Create `ns.cloud`
- Change `bitnode multipliers` and `server constants` wording for consistency
- change `server`, `ram` and `getting started` docs for consistency
- Added changes to 3.0.0 API Break and `setRemovedFunctions` in NetscriptFunctions.js
Tested by
- running tutorial `purchase-server-8gb.js`, and a more typical player one
- buying manually using vendor (Alpha Ent in Sector 12)
- deleting them all using script, and checked all deleted functions gave correct error
- Imported completed save to ensure auto-transfer of function work
* Revision in line with comments
- changed more `purchased` to `cloud` references
- Added BN mults auto-conversion
* Update getting_started.md
- Corrected function names for new `cloud API`
* Don't show `cloud API` warning
v3.0.0 API break auto-replaces `cloud` functions, not warning suggested.
* API Break correction
- `cloud` affected API break replacement changed to be more descriptive and functional
* Fix typo and add empty lines
* Update many things (check commit's description)
- Comments
- Terminal message
- UI Text
- TSDoc
- md docs
- Improve error messages in src\NetscriptFunctions\Cloud.ts
* CODEBASE: Update @types/react & react-dom packages
Update @types/react and @types/react-dom to
17.0.26 (ts3.8) and 17.0.89 (ts3.8) from
17.0.21 (2021) and 17.0.67.
To major changes, no apparent breaking changes,
mostly packaging fixes.
* CODEBASE: Update react-syntax-higher package
Update from 15.5.0 (2022) to 15.6.6 (August 2025) which
fixes a bug with wrapLines (15.6.0, 15.6.1), fixes some
small bugs in 15.6.3 (line count, spelling), and
primarily updates dependencies, in particular prismjs to 1.30.0.
* CODEBASE: Update react-draggable package
Updates from 4.4.6 to
[4.5.0](https://github.com/react-grid-layout/react-draggable/commits/master/),
some small fixes, updated dependencies. Nothing critical, but
nothing breaking or radical as far as I can tell.
* CODEBASE: Update tss-react package
Patch level update of [tss-react](https://www.tss-react.dev/) package,
from 4.9.10 (Apr 2024) to 4.9.19 (Jul 2025). Appears to be primarily
for React 19 and Material UI 7 support. Low-priority, but should be
low-risk.
* CODEBASE: Update react-refresh package
[react-refresh](https://www.npmjs.com/package/react-refresh)
From 0.17.0 to 0.18.0.
* UI: Better status bar animations
This is an alternate implementation of #2286. It does the same
wrap-around behaviour for when the progressbar crosses into the next
level, but it skips animation entirely if the effective skill level goes
down, or if more than one level is gained at a time.
The implementation uses the animate() DOM api instead of manipulating
styles, which completely avoids the issues of having CSS style buildup.
This API is designed for exactly what we're trying to do.
I also pushed rerender handling down from CharacterOverview to
StatsProgressBar, which simplifies things and is helpful for doing the
animation implementation.
* UI: Improve dev menu for augmentations
The button layout was confusing, there was no quick way to install augs,
and uninstalled augs didn't properly lose their stat effects.
* Update api-documentor and api-extractor. #1566 follow-up.
I have verified that the HTML/markdown table generation bug in
[#4878](https://github.com/microsoft/rushstack/issues/4878) in rushstack
for api-documentor has been fixed as per rushstack#5256. The testcase
[repro](https://github.com/catloversg/api-documenter-bug-pr-4578) now
produces the correct expected output.
I have confirmed that the generated output in bitburner from
`npm run doc` now generated HTML tables, and correctly inserts
a blank line between the </table> and the follow line (e.g. Returns).
Stylisticly it could use some whitespace, but it is correctly rendered.
This commit is only the updated packages, not the updated generated
documentation. I assume that is automatically generated by the GitHub
workflow.
* Follow up to 5f732a6f35, include `npm run doc` changed docs.
* Add missing license info
* Fix React warning
---------
Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>