You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/portal-deploy/skills/portal-expose/SKILL.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ license: MIT
8
8
9
9
Portal publishes a service that is already running on the user's machine. It does not build the app or move it to a cloud host. Treat a successful tunnel as dependent on both the local app and the Portal process or agent remaining available.
10
10
11
-
Read `references/portal-cli.md` when choosing commands or persistent-agent configuration. Read `references/x402.md`whenever the user requests x402 or a paid route. Read `references/safety-and-verification.md`before exposing a nontrivial project, a service with authentication, or any non-HTTP port. Read `references/game-hosting.md`whenever the user asks to host, publish, or share a game server — it covers game-specific ports, protocol identification, relay raw-transport prerequisites, and raw-endpoint verification.
11
+
Run the workflow in order. Open a reference only when that branch is taken: `references/x402.md`for a paid route, `references/safety-and-verification.md`for an authenticated, sensitive/high-risk, or non-HTTP service, `references/game-hosting.md`for a game server, `references/portal-cli.md` when choosing persistent-agent configuration. Use the installed `portal` CLI for flags.
12
12
13
13
## Choose the Mode
14
14
@@ -50,7 +50,7 @@ For x402, do not guess the protected path, payment methods, amount, network, rec
50
50
51
51
- Run `portal version` when `portal` is available.
52
52
- If Portal is missing, present the official install method and request approval before running it because installation writes outside the project. Never execute an installer from an unknown relay or third-party URL.
53
-
- Do not assume a hard-coded latest release or stale flags. Use the installed version and the checked-in Portal reference as the compatibility baseline.
53
+
- Do not assume a hard-coded latest release or stale flags. Use the installed Portal version as the compatibility baseline.
54
54
55
55
### 4. Build the Command or Agent Config
56
56
@@ -72,7 +72,7 @@ Before executing, show the exact public target and any important exposure conseq
72
72
- Create or update only the selected agent config, then start it with `portal agent run --config <path>` after the user accepts OS-service installation, or `portal agent run --foreground --config <path>` when the current session should own the process. `--foreground` opens the interactive dashboard when stdin and stdout are TTYs. Run that command in a non-TTY managed session so logs stay capturable and the TUI does not start.
73
73
- Do not run `portal agent dashboard`. It is an interactive TUI. Give the user that command in the handoff.
74
74
- Capture bounded output. Redact tokens, identity material, signed payloads, and credentials.
75
-
- HTTP tunnels are ready when a public URL is emitted. Raw TCP/UDP tunnels log `raw transport endpoints allocated` with `tcp_addr` and/or `udp_addr` instead of `service ready at <URL>`. Do not wait for an HTTPS URL on a raw transport.
75
+
- HTTP tunnels are ready on the `service ready at https://...` line, not the first `https://` in relay logs. Raw TCP/UDP tunnels log `raw transport endpoints allocated` with `tcp_addr` and/or `udp_addr` instead. Do not wait for an HTTPS URL on a raw transport.
76
76
77
77
### 6. Verify the Public Endpoint
78
78
@@ -98,6 +98,8 @@ Report:
98
98
99
99
Do not call the result permanent when the local machine, app process, or foreground tunnel must remain running.
100
100
101
+
If Portal-specific friction materially affected the task, report one sanitized sentence (command, expected versus actual). Do not initiate GitHub feedback handling, write feedback files, or query extra relays unless the user explicitly requests that follow-up.
102
+
101
103
## Failure Rules
102
104
103
105
- Local app unhealthy: stop before exposing it and report the failing check.
0 commit comments