nimblybase 0.1.3 → 0.1.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.
Files changed (3) hide show
  1. package/README.md +25 -1
  2. package/dist/index.js +7602 -1758
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@ The NimblyBase command line. Projects, keys and backends from a terminal.
4
4
 
5
5
  ```bash
6
6
  npx nimblybase login
7
- npx nimblybase create "My App"
7
+ npx nimblybase init "My App" --recipe static-d1
8
8
  npx nimblybase describe
9
9
  npx nimblybase keys create "local dev"
10
10
  ```
@@ -37,6 +37,30 @@ value prompts without echoing it.
37
37
  In CI, set `NIMBLYBASE_TOKEN` instead. It takes precedence over anything
38
38
  stored and is never written to disk.
39
39
 
40
+ Stored browser grants and newly saved access tokens stay bound to the API used
41
+ at login. A repository link, `--api`, or environment setting cannot retarget that
42
+ credential. To switch servers, explicitly run `nimbly login --api <destination>`;
43
+ the previous login is kept if verification fails. Older bare tokens remain usable
44
+ on the original UAT default until you log in again to bind another destination.
45
+ An injected CI token requires an explicit `NIMBLYBASE_API_URL`/`--api` when a
46
+ repository selects a different API. It never refreshes a separate personal login.
47
+ Use HTTPS; local development may use literal `http://127.0.0.1:<port>` or `[::1]`.
48
+
49
+ ## Requirements before creating
50
+
51
+ For a new empty application, choose `--recipe static-d1` explicitly when a static
52
+ frontend, light database and Worker functions fit. For existing code, run
53
+ `nimbly assess` first and resolve unsupported or unclear requirements. `init` and
54
+ `create` inspect locally, save a matching plan, then submit it for admission.
55
+ Source files and credential values stay on your machine. Selected facts are not
56
+ build, health or spending-limit proof.
57
+
58
+ A pending request is stored in `.nimblybase.bootstrap.json` before creation.
59
+ Retry the same command after a lost response. Do not delete this file or issue a
60
+ new plan to bypass an unresolved request. Changing the target, workspace or
61
+ inspected requirements stops that retry. Use `init --project <slug>` to reconnect
62
+ to an existing application's project without creating resources.
63
+
40
64
  ## Linking a directory
41
65
 
42
66
  ```bash