@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 +3 -4
- package/package.json +1 -1
- package/prompt.md +2 -3
- package/src/index.js +4 -5
- package/src/skill/SKILL.md +1 -2
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
|
-
##
|
|
37
|
+
## Environment
|
|
38
38
|
|
|
39
|
-
-
|
|
40
|
-
-
|
|
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
package/prompt.md
CHANGED
|
@@ -85,9 +85,8 @@ asked for a deployment.**
|
|
|
85
85
|
|
|
86
86
|
## Environment
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
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
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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' },
|
package/src/skill/SKILL.md
CHANGED
|
@@ -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
|
-
-
|
|
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
|