@christianirack/create-brainllm 0.1.0 → 0.4.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/README.md CHANGED
@@ -10,18 +10,31 @@ npm run dev
10
10
 
11
11
  Runs the same pinned BRAINLLM compiler and installs the generated app dependencies. Pass `-- --no-install` to skip dependency installation.
12
12
 
13
- <p align="center"><img src="https://raw.githubusercontent.com/chrisifm/BRAINLLM/main/docs/site/assets/logo.png" width="88" alt="BRAINLLM brain mark"></p>
13
+ <p align="center"><img src="https://raw.githubusercontent.com/chrisifm/BRAINLLM/v0.4.0/docs/site/assets/logo.png" width="88" alt="BRAINLLM brain mark"></p>
14
14
 
15
15
  # BRAINLLM
16
16
 
17
- ### The web compiler for LLMs.
17
+ ### 🦀 The web compiler for LLMs, built in Rust. Blazing fast.
18
18
 
19
19
  **Your LLM owns the frontend. Give it a language built for the job.**
20
20
 
21
- ![BRAINLLM — The web compiler for LLMs](https://github.com/chrisifm/BRAINLLM/raw/main/docs/site/assets/cover.png)
21
+ > **Written in Rust, from parser to minifier.** One native binary, no toolchain to install. Warm production builds
22
+ > in **~34 ms**, about **4.5× faster than React + Vite** on [our open benchmark](#show-me-the-numbers).
22
23
 
23
- BRAINLLM gives coding agents a compact language, a single specification and a compiler that tells them how to fix
24
- mistakes. The model builds the frontend. You set the direction, inspect the result and decide what ships.
24
+ <p align="center">
25
+ <img src="https://img.shields.io/badge/built%20with-Rust-dea584?logo=rust&logoColor=white" alt="Built with Rust">
26
+ <a href="https://chrisifm.github.io/BRAINLLM/"><img src="https://img.shields.io/badge/website-chrisifm.github.io%2FBRAINLLM-0071e3" alt="Website"></a>
27
+ <a href="https://www.npmjs.com/package/@christianirack/brainllm"><img src="https://img.shields.io/npm/v/@christianirack/brainllm?color=cb3837" alt="npm version"></a>
28
+ <a href="https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/LICENSE"><img src="https://img.shields.io/github/license/chrisifm/BRAINLLM" alt="License"></a>
29
+ </p>
30
+
31
+ <p align="center"><a href="https://chrisifm.github.io/BRAINLLM/"><img src="https://raw.githubusercontent.com/chrisifm/BRAINLLM/v0.4.0/docs/site/assets/cover.png" alt="BRAINLLM — The web compiler for LLMs. Open the website: chrisifm.github.io/BRAINLLM"></a></p>
32
+
33
+ <p align="center"><b>🌐 <a href="https://chrisifm.github.io/BRAINLLM/">chrisifm.github.io/BRAINLLM</a></b></p>
34
+
35
+ BRAINLLM gives coding agents a compact language, a single specification and a native compiler written in Rust that
36
+ tells them how to fix mistakes. The model builds the frontend. You set the direction, inspect the result and decide
37
+ what ships.
25
38
 
26
39
  `.brain` components compile to direct-DOM JavaScript and scoped CSS. The Rust toolchain handles parsing, checking,
27
40
  code generation, bundling and minification. The agent can operate it through the CLI or MCP.
@@ -30,14 +43,14 @@ code generation, bundling and minification. The agent can operate it through the
30
43
  a confusing diagnostic. The agent can turn that finding into a tested proposal and, when configured, push it
31
44
  automatically to a review branch. Maintainers decide what merges.
32
45
 
33
- **[Visit the site](https://chrisifm.github.io/BRAINLLM/)** · **[Build your first app](#give-your-agent-its-first-task)** · **[Read the spec](https://github.com/chrisifm/BRAINLLM/blob/main/SPEC.md)** · **[See the benchmarks](#show-me-the-numbers)** · **[Contribute](#build-the-tool-your-agent-needs)**
46
+ **[Visit the site](https://chrisifm.github.io/BRAINLLM/)** · **[Build your first app](#give-your-agent-its-first-task)** · **[Read the spec](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/SPEC.md)** · **[See the benchmarks](#show-me-the-numbers)** · **[Contribute](#build-the-tool-your-agent-needs)**
34
47
 
35
48
  ## A frontend language with the model in mind
36
49
 
37
50
  An agent writing your app needs a contract it can follow and feedback it can act on. BRAINLLM makes that loop
38
51
  explicit: read the spec, generate a component, check it, apply the fix, test the result.
39
52
 
40
- ![An agent reads the BRAINLLM contract, writes a component and uses compiler feedback to validate the app](https://github.com/chrisifm/BRAINLLM/raw/main/docs/site/assets/agent-loop.png)
53
+ ![An agent reads the BRAINLLM contract, writes a component and uses compiler feedback to validate the app](https://github.com/chrisifm/BRAINLLM/raw/v0.4.0/docs/site/assets/agent-loop.png)
41
54
 
42
55
  - **Less to guess.** `brain spec` defines the supported language. One component format, a prescribed project
43
56
  structure and generators keep the model working inside a known contract.
@@ -56,6 +69,7 @@ agent has to reconstruct while preserving code that a developer can read and rev
56
69
  | Capability | What it does for the app-building loop |
57
70
  |---|---|
58
71
  | A served language contract | `brain spec` gives the model the implemented syntax and conventions |
72
+ | Task playbooks | `brain guide <topic>` (also MCP `brain_guide`): steps, checks, common mistakes and an example per task (views, data, forms, server, SEO, accessibility, WebMCP, tests, i18n, performance) |
59
73
  | Components and reactive state | `.brain` files combine markup, BrainScript and scoped styles; `sig`, `drv` and `fx` express updates |
60
74
  | Forms and data | Form validation, HTTP resources and server contracts give common app behavior a documented path |
61
75
  | Routes and layouts | Views, layouts, loaders and guards put navigation and access checks into the project structure |
@@ -64,7 +78,7 @@ agent has to reconstruct while preserving code that a developer can read and rev
64
78
  | Verification and delivery | Tests, `brain doctor` and the production build make validation part of the workflow |
65
79
  | Tested compiler improvements | Isolated proposals, validation gates and optional review-branch pushes let the agent contribute fixes |
66
80
 
67
- Use [SPEC.md](https://github.com/chrisifm/BRAINLLM/blob/main/SPEC.md), the served `brain spec` and [EVOLUTION.md](https://github.com/chrisifm/BRAINLLM/blob/main/docs/EVOLUTION.md) for exact contracts and limits.
81
+ Use [SPEC.md](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/SPEC.md), the served `brain spec` and [EVOLUTION.md](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/EVOLUTION.md) for exact contracts and limits.
68
82
 
69
83
  ## Where it fits in the frontend stack
70
84
 
@@ -123,8 +137,8 @@ stack. Builds run serially on a shared machine. Variance matters: inspect the ra
123
137
  The output strategies differ (including SSR, client rendering and an Astro React island); this comparison measures
124
138
  production build duration for this fixture, not universal app performance or feature equivalence.
125
139
 
126
- Read the [expanded method, versions, payloads and results](https://github.com/chrisifm/BRAINLLM/blob/main/bench/build/expanded.md). The original three-stack
127
- [historical results](https://github.com/chrisifm/BRAINLLM/blob/main/bench/build/results/summary.md) remain available unchanged. Use `bench/build/expanded.mjs`
140
+ Read the [expanded method, versions, payloads and results](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/bench/build/expanded.md). The original three-stack
141
+ [historical results](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/bench/build/results/summary.md) remain available unchanged. Use `bench/build/expanded.mjs`
128
142
  with the documented frozen binary and scratch-directory setup to reproduce this seven-stack run.
129
143
 
130
144
  **Ask your agent to challenge the result:**
@@ -147,11 +161,11 @@ numbers support it. Do not upload results or publish anything automatically.
147
161
  Clean up only the temporary resources this run created.
148
162
  ```
149
163
 
150
- A separate [cache-key microbenchmark](https://github.com/chrisifm/BRAINLLM/blob/main/bench/build/results/compiler-cache-lookup.json) measured **43.3× faster key
164
+ A separate [cache-key microbenchmark](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/bench/build/results/compiler-cache-lookup.json) measured **43.3× faster key
151
165
  lookup** after removing an unnecessary parse: 10,000 lookups of a 1,050-byte input. That number measures this
152
166
  internal operation only. It is not a full-build speedup or a webpack comparison.
153
167
 
154
- The [benchmark report](https://github.com/chrisifm/BRAINLLM/blob/main/bench/REPORT.md) also tracks agent-generated apps, browser behavior, payload size and
168
+ The [benchmark report](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/bench/REPORT.md) also tracks agent-generated apps, browser behavior, payload size and
155
169
  failure recovery. Historical LLM results describe their frozen model/spec/compiler runs; they do not guarantee
156
170
  that a new prompt or compiler revision will pass. This project is open to developers and researchers who want to
157
171
  investigate how language design and compiler feedback affect agent behavior. Bring a hypothesis and a reproducer.
@@ -175,7 +189,7 @@ what each result actually establishes.
175
189
 
176
190
  Browser tooling and the preview supervisor currently require macOS or Linux. Screenshot baselines need stable browser,
177
191
  font and app-data inputs. Runtime mount-time/heap budgets remain planned; the compiler rejects those settings rather
178
- than pretending to measure them. See the [implemented contract](https://github.com/chrisifm/BRAINLLM/blob/main/SPEC.md) and [tool internals](https://github.com/chrisifm/BRAINLLM/blob/main/docs/INTERNALS.md).
192
+ than pretending to measure them. See the [implemented contract](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/SPEC.md) and [tool internals](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/INTERNALS.md).
179
193
 
180
194
  ## Give your agent its first task
181
195
 
@@ -259,11 +273,21 @@ With a source installation, use the installed `brain` commands directly. That wo
259
273
  Cargo installs `brain` into its bin directory; make sure that directory is on your `PATH`. Stop the dev server with
260
274
  Ctrl+C. From the app directory, run `brain doctor` to validate it and `brain build` to create production output.
261
275
  For an MCP client in an npm-created app, use command `npx` with arguments `["brain", "mcp"]` and the app as its
262
- working directory. With a source installation, use the installed `brain` executable and argument `mcp`. Follow that client's configuration instructions; merely copying a prompt does not grant tool access.
276
+ working directory. New apps include `.mcp.json` for Claude Code and `.cursor/mcp.json` for Cursor, plus
277
+ `CLAUDE.md` importing `AGENTS.md`. Install the pinned dependency, restart the client and verify `brain_spec` appears.
278
+ Client trust/approval settings still apply; configuration alone does not prove a live connection.
279
+
280
+ For an existing app, run `brain agent setup` to merge local registrations, or
281
+ `claude mcp add --scope project brain -- npx --no-install brain mcp` for Claude Code alone.
282
+ `brain agent setup --hooks` also installs optional Claude Code edit-time check feedback, preserving existing hooks.
283
+ The hook checks the app after `.brain`, `.jsbrain` and `.cssbrain` edits; it does not run tests or download packages.
284
+ Use `brain mcp --profile minimal` for six core tools, or `--profile backend` for resource/job contracts and generators.
285
+ With a source installation, change the registration to command `brain` and arguments `["mcp"]`.
286
+ Other clients use their own MCP settings. See [the backend/agent contract](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/BACKEND.md).
263
287
 
264
288
  </details>
265
289
 
266
- For an existing frontend, start with the [migration workflow](https://github.com/chrisifm/BRAINLLM/blob/main/docs/MIGRATION.md). Its read-only planner recognizes
290
+ For an existing frontend, start with the [migration workflow](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/MIGRATION.md). Its read-only planner recognizes
267
291
  React, Angular, Vue, Svelte, Next and Nuxt projects. Port one tested route or component at a time, preserve its
268
292
  behavior and keep a rollback path. It is an incremental workflow, not an automatic transpiler.
269
293
 
@@ -281,7 +305,7 @@ behavior and keep a rollback path. It is an incremental workflow, not an automat
281
305
  ```
282
306
 
283
307
  The compiler handles signal reads and writes. Derived values update when their inputs change. Styles can live in
284
- the same file and are scoped to the component. The [served spec](https://github.com/chrisifm/BRAINLLM/blob/main/SPEC.md) defines the supported syntax.
308
+ the same file and are scoped to the component. The [served spec](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/SPEC.md) defines the supported syntax.
285
309
 
286
310
  ## Readable intent. Lean browser output.
287
311
 
@@ -289,7 +313,7 @@ An internal function named `back_to_home` can become a short identifier in produ
289
313
  on scope and the other names in the module. Keep meaningful names where the agent reasons about the code; let the
290
314
  compiler shorten eligible bindings in what the browser receives.
291
315
 
292
- This example comes from the [minifier's scope regression tests](https://github.com/chrisifm/BRAINLLM/blob/main/crates/brain-min/src/mangle.rs):
316
+ This example comes from the [minifier's scope regression tests](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/crates/brain-min/src/mangle.rs):
293
317
 
294
318
  ```js
295
319
  // Before
@@ -324,29 +348,29 @@ BRAINLLM includes protections at several stages of the app loop:
324
348
  tests and diagnostics; failed stages remain visible to the agent.
325
349
 
326
350
  These are implemented mechanisms, not a promise to catch every bug or repair every failure. The agent still needs
327
- to test the user's workflow. See [runtime behavior in the spec](https://github.com/chrisifm/BRAINLLM/blob/main/SPEC.md#errors-at-runtime),
328
- [component boundaries](https://github.com/chrisifm/BRAINLLM/blob/main/runtime/brain-guard.js) and [compiler diagnostics](https://github.com/chrisifm/BRAINLLM/blob/main/crates/brain-check/).
351
+ to test the user's workflow. See [runtime behavior in the spec](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/SPEC.md#errors-at-runtime),
352
+ [component boundaries](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/runtime/brain-guard.js) and [compiler diagnostics](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/crates/brain-check/).
329
353
 
330
354
  ## Build the tool your agent needs
331
355
 
332
356
  **Build with it. Let your LLM make it better.**
333
357
 
334
- ![An LLM turns an observed problem into an isolated fix, runs validation and submits a contribution for human review](https://github.com/chrisifm/BRAINLLM/raw/main/docs/site/assets/improvement-loop.png)
358
+ ![An LLM turns an observed problem into an isolated fix, runs validation and submits a contribution for human review](https://github.com/chrisifm/BRAINLLM/raw/v0.4.0/docs/site/assets/improvement-loop.png)
335
359
 
336
360
  A failed compilation can become a regression test. A repeated slow step can become a benchmark. A fix made while
337
361
  building your app can become a contribution that helps the next developer and their agent.
338
362
 
339
363
  Found a compiler gap while building an app? Turn the smallest reproducible case into a regression test and a
340
- contribution. BRAINLLM includes an [evolution workflow](https://github.com/chrisifm/BRAINLLM/blob/main/docs/EVOLUTION.md) for isolated proposals, validated compiler
364
+ contribution. BRAINLLM includes an [evolution workflow](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/EVOLUTION.md) for isolated proposals, validated compiler
341
365
  binaries and reversible activation. Configured automatic pushes go to review branches; merges require the
342
366
  principal author's review. This is an explicit development workflow, not a compiler that silently rewrites itself
343
- on every build. Read the [agent improvement playbook](https://github.com/chrisifm/BRAINLLM/blob/main/docs/AGENT-IDEAS.md) for an opt-in prompt and concrete ideas
367
+ on every build. Read the [agent improvement playbook](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/AGENT-IDEAS.md) for an opt-in prompt and concrete ideas
344
368
  to investigate.
345
369
 
346
370
  Human developers and LLM contributors are welcome. Useful first contributions include reproducible compiler bugs,
347
371
  behavior-preserving migration examples, clearer diagnostics and performance improvements with before/after data.
348
372
 
349
- 1. Read [CONTRIBUTING.md](https://github.com/chrisifm/BRAINLLM/blob/main/CONTRIBUTING.md) and the relevant [internals](https://github.com/chrisifm/BRAINLLM/blob/main/docs/INTERNALS.md).
373
+ 1. Read [CONTRIBUTING.md](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/CONTRIBUTING.md) and the relevant [internals](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/INTERNALS.md).
350
374
  2. Make a focused change with a regression test and synthetic sample data.
351
375
  3. Run `bash scripts/verify.sh`. It builds the CLI and checks Rust, runtime, tooling, diagnostic fixtures, privacy
352
376
  and repository language. Verification also requires ripgrep.
@@ -357,7 +381,7 @@ Never include app secrets, private source or customer data in a contribution.
357
381
 
358
382
  ## Know what you are adopting
359
383
 
360
- BRAINLLM is **0.1.0**. Start with a small app or an isolated route and test the behavior you need. Features marked
384
+ BRAINLLM is **0.4.0** (see [CHANGELOG.md](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/CHANGELOG.md)). Start with a small app or an isolated route and test the behavior you need. Features marked
361
385
  as planned in the source specification are not a supported promise; `brain spec` serves the implemented contract.
362
386
  Third-party React, Angular and Vue components do not become BRAINLLM components automatically. Benchmark wins in
363
387
  build time do not imply that every runtime workload is faster.
@@ -366,15 +390,15 @@ build time do not imply that every runtime workload is faster.
366
390
 
367
391
  | You want to… | Start here |
368
392
  |---|---|
369
- | Give an agent the project context | [llms.txt](https://github.com/chrisifm/BRAINLLM/blob/main/llms.txt) |
370
- | Write an app | [SPEC.md](https://github.com/chrisifm/BRAINLLM/blob/main/SPEC.md) and `brain spec` |
371
- | Migrate an existing frontend | [Migration guide](https://github.com/chrisifm/BRAINLLM/blob/main/docs/MIGRATION.md) |
372
- | Improve the compiler while using it | [Evolution workflow](https://github.com/chrisifm/BRAINLLM/blob/main/docs/EVOLUTION.md) and [agent ideas](https://github.com/chrisifm/BRAINLLM/blob/main/docs/AGENT-IDEAS.md) |
373
- | Understand the implementation | [Internals](https://github.com/chrisifm/BRAINLLM/blob/main/docs/INTERNALS.md) and [crates](https://github.com/chrisifm/BRAINLLM/blob/main/crates/) |
374
- | Inspect examples and reproduce measurements | [Examples](https://github.com/chrisifm/BRAINLLM/blob/main/examples/) and [benchmarks](https://github.com/chrisifm/BRAINLLM/blob/main/bench/) |
375
- | Contribute a change | [Contributor guide](https://github.com/chrisifm/BRAINLLM/blob/main/CONTRIBUTING.md) |
393
+ | Give an agent the project context | [llms.txt](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/llms.txt) |
394
+ | Write an app | [SPEC.md](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/SPEC.md) and `brain spec` |
395
+ | Migrate an existing frontend | [Migration guide](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/MIGRATION.md) |
396
+ | Improve the compiler while using it | [Evolution workflow](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/EVOLUTION.md) and [agent ideas](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/AGENT-IDEAS.md) |
397
+ | Understand the implementation | [Internals](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/INTERNALS.md) and [crates](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/crates/) |
398
+ | Inspect examples and reproduce measurements | [Examples](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/examples/) and [benchmarks](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/bench/) |
399
+ | Contribute a change | [Contributor guide](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/CONTRIBUTING.md) |
376
400
 
377
- Released under the [MIT license](https://github.com/chrisifm/BRAINLLM/blob/main/LICENSE).
401
+ Released under the [MIT license](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/LICENSE).
378
402
 
379
403
  Created and maintained by **Christian Irack Flores Maldonado**, principal author.
380
404
  [ingenieria.dev](https://ingenieria.dev) · [irack.mx](https://irack.mx) · [christian@irack.mx](mailto:christian@irack.mx)
@@ -386,5 +410,5 @@ Every merged contribution helps the next developer and their agent. Thank you to
386
410
 
387
411
  [<img src="https://avatars.githubusercontent.com/u/1562002?v=4" width="48" height="48" alt="chrisifm">](https://github.com/chrisifm) [chrisifm](https://github.com/chrisifm)
388
412
 
389
- Attribution is refreshed through a reviewed pull request. [How it works](https://github.com/chrisifm/BRAINLLM/blob/main/docs/CONTRIBUTORS.md).
413
+ Attribution is refreshed through a reviewed pull request. [How it works](https://github.com/chrisifm/BRAINLLM/blob/v0.4.0/docs/CONTRIBUTORS.md).
390
414
  <!-- contributors:end -->
@@ -0,0 +1,211 @@
1
+ web-features 3.44.0
2
+ Source: https://github.com/web-platform-dx/web-features
3
+ Official npm archive: https://registry.npmjs.org/web-features/-/web-features-3.44.0.tgz
4
+ Published: 2026-10-22T16:30:26.001Z
5
+ Data SHA-256: 72577e8df9c8abe8a8af86a03bc161ac06be21488d76857f157c7f83f017f706
6
+ The license below is reproduced from package/LICENSE.txt in the integrity-verified official npm archive.
7
+ Only the trailing blank line is omitted.
8
+
9
+ Apache License
10
+ Version 2.0, January 2004
11
+ http://www.apache.org/licenses/
12
+
13
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
14
+
15
+ 1. Definitions.
16
+
17
+ "License" shall mean the terms and conditions for use, reproduction,
18
+ and distribution as defined by Sections 1 through 9 of this document.
19
+
20
+ "Licensor" shall mean the copyright owner or entity authorized by
21
+ the copyright owner that is granting the License.
22
+
23
+ "Legal Entity" shall mean the union of the acting entity and all
24
+ other entities that control, are controlled by, or are under common
25
+ control with that entity. For the purposes of this definition,
26
+ "control" means (i) the power, direct or indirect, to cause the
27
+ direction or management of such entity, whether by contract or
28
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
29
+ outstanding shares, or (iii) beneficial ownership of such entity.
30
+
31
+ "You" (or "Your") shall mean an individual or Legal Entity
32
+ exercising permissions granted by this License.
33
+
34
+ "Source" form shall mean the preferred form for making modifications,
35
+ including but not limited to software source code, documentation
36
+ source, and configuration files.
37
+
38
+ "Object" form shall mean any form resulting from mechanical
39
+ transformation or translation of a Source form, including but
40
+ not limited to compiled object code, generated documentation,
41
+ and conversions to other media types.
42
+
43
+ "Work" shall mean the work of authorship, whether in Source or
44
+ Object form, made available under the License, as indicated by a
45
+ copyright notice that is included in or attached to the work
46
+ (an example is provided in the Appendix below).
47
+
48
+ "Derivative Works" shall mean any work, whether in Source or Object
49
+ form, that is based on (or derived from) the Work and for which the
50
+ editorial revisions, annotations, elaborations, or other modifications
51
+ represent, as a whole, an original work of authorship. For the purposes
52
+ of this License, Derivative Works shall not include works that remain
53
+ separable from, or merely link (or bind by name) to the interfaces of,
54
+ the Work and Derivative Works thereof.
55
+
56
+ "Contribution" shall mean any work of authorship, including
57
+ the original version of the Work and any modifications or additions
58
+ to that Work or Derivative Works thereof, that is intentionally
59
+ submitted to Licensor for inclusion in the Work by the copyright owner
60
+ or by an individual or Legal Entity authorized to submit on behalf of
61
+ the copyright owner. For the purposes of this definition, "submitted"
62
+ means any form of electronic, verbal, or written communication sent
63
+ to the Licensor or its representatives, including but not limited to
64
+ communication on electronic mailing lists, source code control systems,
65
+ and issue tracking systems that are managed by, or on behalf of, the
66
+ Licensor for the purpose of discussing and improving the Work, but
67
+ excluding communication that is conspicuously marked or otherwise
68
+ designated in writing by the copyright owner as "Not a Contribution."
69
+
70
+ "Contributor" shall mean Licensor and any individual or Legal Entity
71
+ on behalf of whom a Contribution has been received by Licensor and
72
+ subsequently incorporated within the Work.
73
+
74
+ 2. Grant of Copyright License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ copyright license to reproduce, prepare Derivative Works of,
78
+ publicly display, publicly perform, sublicense, and distribute the
79
+ Work and such Derivative Works in Source or Object form.
80
+
81
+ 3. Grant of Patent License. Subject to the terms and conditions of
82
+ this License, each Contributor hereby grants to You a perpetual,
83
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
84
+ (except as stated in this section) patent license to make, have made,
85
+ use, offer to sell, sell, import, and otherwise transfer the Work,
86
+ where such license applies only to those patent claims licensable
87
+ by such Contributor that are necessarily infringed by their
88
+ Contribution(s) alone or by combination of their Contribution(s)
89
+ with the Work to which such Contribution(s) was submitted. If You
90
+ institute patent litigation against any entity (including a
91
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
92
+ or a Contribution incorporated within the Work constitutes direct
93
+ or contributory patent infringement, then any patent licenses
94
+ granted to You under this License for that Work shall terminate
95
+ as of the date such litigation is filed.
96
+
97
+ 4. Redistribution. You may reproduce and distribute copies of the
98
+ Work or Derivative Works thereof in any medium, with or without
99
+ modifications, and in Source or Object form, provided that You
100
+ meet the following conditions:
101
+
102
+ (a) You must give any other recipients of the Work or
103
+ Derivative Works a copy of this License; and
104
+
105
+ (b) You must cause any modified files to carry prominent notices
106
+ stating that You changed the files; and
107
+
108
+ (c) You must retain, in the Source form of any Derivative Works
109
+ that You distribute, all copyright, patent, trademark, and
110
+ attribution notices from the Source form of the Work,
111
+ excluding those notices that do not pertain to any part of
112
+ the Derivative Works; and
113
+
114
+ (d) If the Work includes a "NOTICE" text file as part of its
115
+ distribution, then any Derivative Works that You distribute must
116
+ include a readable copy of the attribution notices contained
117
+ within such NOTICE file, excluding those notices that do not
118
+ pertain to any part of the Derivative Works, in at least one
119
+ of the following places: within a NOTICE text file distributed
120
+ as part of the Derivative Works; within the Source form or
121
+ documentation, if provided along with the Derivative Works; or,
122
+ within a display generated by the Derivative Works, if and
123
+ wherever such third-party notices normally appear. The contents
124
+ of the NOTICE file are for informational purposes only and
125
+ do not modify the License. You may add Your own attribution
126
+ notices within Derivative Works that You distribute, alongside
127
+ or as an addendum to the NOTICE text from the Work, provided
128
+ that such additional attribution notices cannot be construed
129
+ as modifying the License.
130
+
131
+ You may add Your own copyright statement to Your modifications and
132
+ may provide additional or different license terms and conditions
133
+ for use, reproduction, or distribution of Your modifications, or
134
+ for any such Derivative Works as a whole, provided Your use,
135
+ reproduction, and distribution of the Work otherwise complies with
136
+ the conditions stated in this License.
137
+
138
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
139
+ any Contribution intentionally submitted for inclusion in the Work
140
+ by You to the Licensor shall be under the terms and conditions of
141
+ this License, without any additional terms or conditions.
142
+ Notwithstanding the above, nothing herein shall supersede or modify
143
+ the terms of any separate license agreement you may have executed
144
+ with Licensor regarding such Contributions.
145
+
146
+ 6. Trademarks. This License does not grant permission to use the trade
147
+ names, trademarks, service marks, or product names of the Licensor,
148
+ except as required for reasonable and customary use in describing the
149
+ origin of the Work and reproducing the content of the NOTICE file.
150
+
151
+ 7. Disclaimer of Warranty. Unless required by applicable law or
152
+ agreed to in writing, Licensor provides the Work (and each
153
+ Contributor provides its Contributions) on an "AS IS" BASIS,
154
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
155
+ implied, including, without limitation, any warranties or conditions
156
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
157
+ PARTICULAR PURPOSE. You are solely responsible for determining the
158
+ appropriateness of using or redistributing the Work and assume any
159
+ risks associated with Your exercise of permissions under this License.
160
+
161
+ 8. Limitation of Liability. In no event and under no legal theory,
162
+ whether in tort (including negligence), contract, or otherwise,
163
+ unless required by applicable law (such as deliberate and grossly
164
+ negligent acts) or agreed to in writing, shall any Contributor be
165
+ liable to You for damages, including any direct, indirect, special,
166
+ incidental, or consequential damages of any character arising as a
167
+ result of this License or out of the use or inability to use the
168
+ Work (including but not limited to damages for loss of goodwill,
169
+ work stoppage, computer failure or malfunction, or any and all
170
+ other commercial damages or losses), even if such Contributor
171
+ has been advised of the possibility of such damages.
172
+
173
+ 9. Accepting Warranty or Additional Liability. While redistributing
174
+ the Work or Derivative Works thereof, You may choose to offer,
175
+ and charge a fee for, acceptance of support, warranty, indemnity,
176
+ or other liability obligations and/or rights consistent with this
177
+ License. However, in accepting such obligations, You may act only
178
+ on Your own behalf and on Your sole responsibility, not on behalf
179
+ of any other Contributor, and only if You agree to indemnify,
180
+ defend, and hold each Contributor harmless for any liability
181
+ incurred by, or claims asserted against, such Contributor by reason
182
+ of your accepting any such warranty or additional liability.
183
+
184
+ END OF TERMS AND CONDITIONS
185
+
186
+ APPENDIX: How to apply the Apache License to your work.
187
+
188
+ To apply the Apache License to your work, attach the following
189
+ boilerplate notice, with the fields enclosed by brackets "[]"
190
+ replaced with your own identifying information. (Don't include
191
+ the brackets!) The text should be enclosed in the appropriate
192
+ comment syntax for the file format. We also recommend that a
193
+ file or class name and description of purpose be included on the
194
+ same "printed page" as the copyright notice for easier
195
+ identification within third-party archives.
196
+
197
+ Copyright [yyyy] [name of copyright owner]
198
+
199
+ Licensed under the Apache License, Version 2.0 (the "License");
200
+ you may not use this file except in compliance with the License.
201
+ You may obtain a copy of the License at
202
+
203
+ http://www.apache.org/licenses/LICENSE-2.0
204
+
205
+ Unless required by applicable law or agreed to in writing, software
206
+ distributed under the License is distributed on an "AS IS" BASIS,
207
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
208
+ See the License for the specific language governing permissions and
209
+ limitations under the License.
210
+
211
+ Native compiler dependency licenses accompany each platform package in THIRD_PARTY_NOTICES.txt, CARGO_NOTICES.txt, CARGO_DEPENDENCIES.json RUST_STD_COPYRIGHT.html and RUST_TOOLCHAIN_COPYRIGHT.html. Launcher/initializer/runtime-only packages do not embed a Rust compiler binary.
package/package.json CHANGED
@@ -1,20 +1,65 @@
1
1
  {
2
2
  "name": "@christianirack/create-brainllm",
3
- "version": "0.1.0",
4
- "description": "npm create @christianirack/brainllm <app>: a new BRAINLLM app with its brain version pinned.",
3
+ "version": "0.4.0",
4
+ "description": "npm create @christianirack/brainllm <app>: a new BRAINLLM app (the Rust-powered full-stack web compiler for LLMs and AI agents) with its brain version pinned.",
5
5
  "bin": {
6
6
  "create-brainllm": "bin/create.js"
7
7
  },
8
8
  "files": [
9
9
  "bin",
10
- "README.md"
10
+ "README.md",
11
+ "THIRD_PARTY_NOTICES.txt"
11
12
  ],
12
13
  "engines": {
13
14
  "node": ">=22"
14
15
  },
15
16
  "dependencies": {
16
- "@christianirack/brainllm": "0.1.0"
17
+ "@christianirack/brainllm": "0.4.0"
17
18
  },
19
+ "keywords": [
20
+ "create",
21
+ "starter",
22
+ "template",
23
+ "scaffold",
24
+ "llm",
25
+ "ai",
26
+ "ai-agents",
27
+ "coding-agent",
28
+ "agentic",
29
+ "claude-code",
30
+ "cursor",
31
+ "mcp",
32
+ "model-context-protocol",
33
+ "frontend",
34
+ "front-end",
35
+ "backend",
36
+ "back-end",
37
+ "fullstack",
38
+ "full-stack",
39
+ "cli",
40
+ "command-line",
41
+ "developer-tools",
42
+ "design-system",
43
+ "css",
44
+ "testing",
45
+ "e2e",
46
+ "postgresql",
47
+ "jwt",
48
+ "web-framework",
49
+ "framework",
50
+ "compiler",
51
+ "rust",
52
+ "fast",
53
+ "performance",
54
+ "react-alternative",
55
+ "vite-alternative",
56
+ "signals",
57
+ "reactive",
58
+ "components",
59
+ "ssr",
60
+ "spa",
61
+ "web"
62
+ ],
18
63
  "license": "MIT",
19
64
  "author": "Christian Irack Flores Maldonado <christian@irack.mx> (https://ingenieria.dev)",
20
65
  "repository": {