@biznetgio/neo-app 0.4.1 → 0.4.2

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
@@ -34,11 +34,10 @@ Fetch https://portal.app.neoapp.id/prompt.md and follow it to set this repo up o
34
34
  All mutating commands are idempotent, back up config before editing, and never write a
35
35
  token into agent/MCP configuration.
36
36
 
37
- ## Environments
37
+ ## Environment
38
38
 
39
- - **Production** (`https://portal.app.neoapp.id`) is the default.
40
- - **Staging** (`https://portal.neoapp.biznetgio.dev`) is selected by `--staging` or `NODE_ENV=development`.
41
- - `NEO_APP_URL` overrides the control-plane URL entirely (e.g. a local dev server).
39
+ The CLI talks to your NEO App control-plane — production by default. Set `NEO_APP_URL`
40
+ to point it at a different control-plane (e.g. a local dev server).
42
41
 
43
42
  ## Authentication
44
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biznetgio/neo-app",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "NEO App CLI — one-command agent onboarding, MCP server, and project ops for coding agents (Codex, Claude Code).",
5
5
  "type": "module",
6
6
  "bin": {
package/prompt.md CHANGED
@@ -85,9 +85,8 @@ asked for a deployment.**
85
85
 
86
86
  ## Environment
87
87
 
88
- Staging is `https://portal.neoapp.biznetgio.dev`; production is
89
- `https://portal.app.neoapp.id`. Production is the default; `NODE_ENV=development` or
90
- `--staging` targets staging; `NEO_APP_URL` overrides the control-plane entirely.
88
+ The CLI targets production by default. Set `NEO_APP_URL` to point it at a different
89
+ control-plane when needed.
91
90
 
92
91
  ## Uninstall
93
92
 
package/src/index.js CHANGED
@@ -40,17 +40,16 @@ ${c.bold('Options')}
40
40
  --name <name> Service name (deploy; default derived from the source)
41
41
  --port <n> Container port (deploy)
42
42
  --agent <codex|claude-code> Target one agent (config install-mcp)
43
- --staging | --prod Target staging (portal.neoapp.biznetgio.dev) or production (portal.app.neoapp.id)
44
43
  --url <url> Override the control-plane URL (also NEO_APP_URL)
45
44
  --token <kap_...> API key (also NEO_APP_TOKEN; prompted if omitted)
46
45
  --yes Non-interactive (headless/CI)
47
46
  --dry-run Print intended changes without writing
48
47
  -v, --version Print version
49
- -h, --help Show this help
48
+ -h, --help Show this help`;
50
49
 
51
- ${c.bold('Environment')}
52
- Production is the default. Set NODE_ENV=development (or pass --staging) for staging.
53
- NEO_APP_URL / NEO_APP_TOKEN override the target and credential.`;
50
+ // Internal: --staging / --prod / --env / NODE_ENV select the staging vs production
51
+ // control-plane (see src/config.js). Intentionally undocumented in --help — target
52
+ // selection is an internal/advanced concern; NEO_APP_URL is the public override.
54
53
 
55
54
  const options = {
56
55
  project: { type: 'string' },
@@ -18,8 +18,7 @@ NEO App is Biznet Gio's managed-app platform. You operate it two ways:
18
18
 
19
19
  ## Environments: staging first
20
20
 
21
- - `portal.neoapp.biznetgio.dev` is **staging**; `portal.app.neoapp.id` is **production**.
22
- - Default to **staging** for every change. Deploy, test, and read logs on staging before touching production.
21
+ - Prefer **staging** for every change: deploy, test, and read logs on staging before touching production.
23
22
  - Only deploy to production when the user explicitly asks, and expect it to require approval (see below).
24
23
 
25
24
  ## Deployments