unoverse 0.1.156 → 0.1.157
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.
|
@@ -605,7 +605,13 @@ resource "aws_cognito_user_pool_client" "spa" {
|
|
|
605
605
|
# canvas_entry is the same expression the invitation email and the canvas_url output use,
|
|
606
606
|
# so the address a person is sent to is by construction an address they may return to.
|
|
607
607
|
# Anything else in the variable (localhost for dev, a second front end) is kept.
|
|
608
|
-
|
|
608
|
+
#
|
|
609
|
+
# THE CLI'S LOOPBACK IS ALWAYS ALLOWED, same rule as the app's own address: every
|
|
610
|
+
# universe is published to by `unoverse login` + `unoverse publish`, and its fixed
|
|
611
|
+
# callback is a platform constant, not an operator decision. Baked here so no tfvars
|
|
612
|
+
# ever needs it and an updated ground picks it up on the next deploy.
|
|
613
|
+
# (Callback only, not logout: the CLI never runs a logout redirect.)
|
|
614
|
+
callback_urls = distinct(concat([local.canvas_entry, local.studio_entry, "http://127.0.0.1:4109/callback"], var.oauth_callback_urls))
|
|
609
615
|
logout_urls = distinct(concat([local.canvas_entry, local.studio_entry], var.oauth_callback_urls))
|
|
610
616
|
supported_identity_providers = ["COGNITO"]
|
|
611
617
|
}
|
|
@@ -29,6 +29,9 @@ canvas_public = true
|
|
|
29
29
|
auth_issuer = "https://your-tenant.auth0.com"
|
|
30
30
|
auth_client_id = "your-spa-client-id"
|
|
31
31
|
auth_audience = "gravity-api"
|
|
32
|
+
# In that client's Allowed Callback URLs, include http://127.0.0.1:4109/callback —
|
|
33
|
+
# it is how `unoverse login` signs developers in from the terminal. (On AWS this is
|
|
34
|
+
# automatic: the ground owns Cognito and always allows it.)
|
|
32
35
|
|
|
33
36
|
# Service secrets — with these set, the rendered .env.production is COMPLETE.
|
|
34
37
|
docr_token = "dop_v1_..." # registry token (pulls platform images)
|
package/operator/lib/ground.sh
CHANGED
|
@@ -313,8 +313,8 @@ openai_api_key = "FILL_ME"
|
|
|
313
313
|
oauth_callback_urls = [
|
|
314
314
|
$( if [ -n "$zone_domain" ]; then echo " \"https://canvas.$zone_domain\","; fi )
|
|
315
315
|
"http://localhost:5173", # local Studio/Canvas dev against this universe
|
|
316
|
-
"http://127.0.0.1:4109/callback", # unoverse login (the CLI's loopback; IdPs match exactly)
|
|
317
316
|
# Add your Canvas URL here once a domain is set (https://canvas.<domain>).
|
|
317
|
+
# (No need to list the CLI's login callback — main.tf always allows it.)
|
|
318
318
|
]
|
|
319
319
|
|
|
320
320
|
# RBAC roles (noun:verb). Each becomes a Cognito group; put a user in the group
|
package/operator/lib/help.sh
CHANGED
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
#
|
|
4
4
|
# Printed by the npm CLI when you are standing in a universe folder. It lists what you
|
|
5
5
|
# can do to a universe, and nothing else. Commands that still exist but are not for
|
|
6
|
-
# day-to-day operating (ground, dev, build
|
|
7
|
-
#
|
|
6
|
+
# day-to-day operating (ground, dev, build) are deliberately absent: a list you can read
|
|
7
|
+
# in one glance is worth more than a complete one. `publish` is listed under Anywhere:
|
|
8
|
+
# it is one verb whose lane the folder decides (a design workspace publishes assets, the
|
|
9
|
+
# platform monorepo root releases the platform — LOCAL_STUDIO.md §Publish is terminal-only).
|
|
8
10
|
|
|
9
11
|
cmd_help() {
|
|
10
12
|
|
|
@@ -14,6 +16,8 @@ cmd_help() {
|
|
|
14
16
|
echo -e " ${BOLD}Anywhere${NC}"
|
|
15
17
|
echo -e " ${GREEN}create${NC} Start something new, here"
|
|
16
18
|
echo -e " ${GREEN}studio${NC} Author components, nodes, agent skills"
|
|
19
|
+
echo -e " ${GREEN}publish${NC} Ship your work ${DIM}(run it in your design workspace; signs you in if needed)${NC}"
|
|
20
|
+
echo -e " ${GREEN}login${NC} Sign in to a universe ${DIM}(publish asks by itself; this is for up front)${NC}"
|
|
17
21
|
echo -e " ${GREEN}where${NC} Links to your universe ${DIM}(Canvas, API), checked live${NC}"
|
|
18
22
|
echo -e " ${GREEN}update${NC} Update this CLI"
|
|
19
23
|
echo ""
|
package/package.json
CHANGED