regionclaw 0.0.3 → 0.0.4
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 +15 -0
- package/apps/ui/regionclaw-build/BUILD_ID +1 -1
- package/apps/ui/regionclaw-build/app-path-routes-manifest.json +2 -0
- package/apps/ui/regionclaw-build/build-manifest.json +2 -2
- package/apps/ui/regionclaw-build/prerender-manifest.json +0 -48
- package/apps/ui/regionclaw-build/routes-manifest.json +12 -0
- package/apps/ui/regionclaw-build/server/app/(app)/dashboard/page.js +3 -3
- package/apps/ui/regionclaw-build/server/app/(app)/dashboard/page_client-reference-manifest.js +1 -1
- package/apps/ui/regionclaw-build/server/app/_global-error/page.js +3 -3
- package/apps/ui/regionclaw-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/apps/ui/regionclaw-build/server/app/_global-error.html +1 -1
- package/apps/ui/regionclaw-build/server/app/_global-error.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/_not-found/page.js +2 -2
- package/apps/ui/regionclaw-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/apps/ui/regionclaw-build/server/app/_not-found.html +1 -1
- package/apps/ui/regionclaw-build/server/app/_not-found.rsc +4 -4
- package/apps/ui/regionclaw-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/apps/ui/regionclaw-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
- package/apps/ui/regionclaw-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/apps/ui/regionclaw-build/server/app/api/auth/[...nextauth]/route.js +1 -1
- package/apps/ui/regionclaw-build/server/app/api/auth/first-run/route.js +1 -1
- package/apps/ui/regionclaw-build/server/app/api/trpc/[trpc]/route.js +2 -2
- package/apps/ui/regionclaw-build/server/app/api/update/run/route.js +1 -0
- package/apps/ui/regionclaw-build/server/app/api/update/run/route.js.nft.json +1 -0
- package/apps/ui/regionclaw-build/server/app/api/update/run/route_client-reference-manifest.js +1 -0
- package/apps/ui/regionclaw-build/server/app/api/update/status/route.js +1 -0
- package/apps/ui/regionclaw-build/server/app/api/update/status/route.js.nft.json +1 -0
- package/apps/ui/regionclaw-build/server/app/api/update/status/route_client-reference-manifest.js +1 -0
- package/apps/ui/regionclaw-build/server/app/favicon.ico/route.js +1 -1
- package/apps/ui/regionclaw-build/server/app/login/page.js +2 -2
- package/apps/ui/regionclaw-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/apps/ui/regionclaw-build/server/app/page.js +2 -2
- package/apps/ui/regionclaw-build/server/app/page_client-reference-manifest.js +1 -1
- package/apps/ui/regionclaw-build/server/app/setup/page.js +2 -2
- package/apps/ui/regionclaw-build/server/app/setup/page_client-reference-manifest.js +1 -1
- package/apps/ui/regionclaw-build/server/app-paths-manifest.json +2 -0
- package/apps/ui/regionclaw-build/server/chunks/263.js +2 -2
- package/apps/ui/regionclaw-build/server/chunks/324.js +1 -1
- package/apps/ui/regionclaw-build/server/chunks/902.js +3 -3
- package/apps/ui/regionclaw-build/server/middleware-build-manifest.js +1 -1
- package/apps/ui/regionclaw-build/server/pages/404.html +1 -1
- package/apps/ui/regionclaw-build/server/pages/500.html +1 -1
- package/apps/ui/regionclaw-build/static/ZSgRLh43NEMa5560KIFa0/_buildManifest.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/557-16373a4e3e7fff4a.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/609-413da697ed2385f4.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/{777-2c6a164314456938.js → 835-8d09234672e1cdbd.js} +2 -2
- package/apps/ui/regionclaw-build/static/chunks/app/(app)/dashboard/page-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/app/(app)/layout-16f7ce76f7f41b68.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/app/_global-error/page-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/app/api/auth/[...nextauth]/route-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/app/api/auth/first-run/route-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/app/api/trpc/[trpc]/route-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/app/api/update/run/route-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/app/api/update/status/route-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/app/{layout-87ffd83df9489fc3.js → layout-812a5dd3c2548265.js} +1 -1
- package/apps/ui/regionclaw-build/static/chunks/app/page-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/next/dist/client/components/builtin/app-error-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/next/dist/client/components/builtin/forbidden-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/next/dist/client/components/builtin/not-found-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/static/chunks/next/dist/client/components/builtin/unauthorized-fdd3dce681b59047.js +1 -0
- package/apps/ui/regionclaw-build/types/app/api/update/run/route.ts +351 -0
- package/apps/ui/regionclaw-build/types/app/api/update/status/route.ts +351 -0
- package/apps/ui/regionclaw-build/types/link.d.ts +2 -0
- package/apps/ui/regionclaw-build/types/routes.d.ts +3 -1
- package/apps/ui/regionclaw-build/types/validator.ts +18 -0
- package/apps/ui/src/app/(app)/layout.tsx +7 -1
- package/apps/ui/src/app/api/update/run/route.ts +36 -0
- package/apps/ui/src/app/api/update/status/route.ts +24 -0
- package/apps/ui/src/components/app-layout-header.tsx +8 -2
- package/apps/ui/src/components/app-sidebar.tsx +3 -0
- package/apps/ui/src/components/regionclaw-update-banner.tsx +229 -0
- package/apps/ui/src/server/regionclaw-meta.ts +3 -0
- package/apps/ui/src/server/update-cli.ts +88 -0
- package/bin/regionclaw.js +357 -3
- package/package.json +1 -1
- package/scripts/restart-running-regionclaw.mjs +54 -0
- package/apps/ui/regionclaw-build/server/app/index.html +0 -1
- package/apps/ui/regionclaw-build/server/app/index.meta +0 -16
- package/apps/ui/regionclaw-build/server/app/index.rsc +0 -21
- package/apps/ui/regionclaw-build/server/app/index.segments/__PAGE__.segment.rsc +0 -6
- package/apps/ui/regionclaw-build/server/app/index.segments/_full.segment.rsc +0 -21
- package/apps/ui/regionclaw-build/server/app/index.segments/_head.segment.rsc +0 -6
- package/apps/ui/regionclaw-build/server/app/index.segments/_index.segment.rsc +0 -9
- package/apps/ui/regionclaw-build/server/app/index.segments/_tree.segment.rsc +0 -5
- package/apps/ui/regionclaw-build/server/app/login.html +0 -1
- package/apps/ui/regionclaw-build/server/app/login.meta +0 -17
- package/apps/ui/regionclaw-build/server/app/login.rsc +0 -23
- package/apps/ui/regionclaw-build/server/app/login.segments/_full.segment.rsc +0 -23
- package/apps/ui/regionclaw-build/server/app/login.segments/_head.segment.rsc +0 -6
- package/apps/ui/regionclaw-build/server/app/login.segments/_index.segment.rsc +0 -9
- package/apps/ui/regionclaw-build/server/app/login.segments/_tree.segment.rsc +0 -5
- package/apps/ui/regionclaw-build/server/app/login.segments/login/__PAGE__.segment.rsc +0 -6
- package/apps/ui/regionclaw-build/server/app/login.segments/login.segment.rsc +0 -5
- package/apps/ui/regionclaw-build/static/chunks/314-50a286a8a2defe3e.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/774-b72ba79217cd49b6.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/app/(app)/dashboard/page-ee954e3484be7e8f.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/app/(app)/layout-8c2cbeb73ce3441e.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/app/_global-error/page-ee954e3484be7e8f.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/app/api/auth/[...nextauth]/route-ee954e3484be7e8f.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/app/api/auth/first-run/route-ee954e3484be7e8f.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/app/api/trpc/[trpc]/route-ee954e3484be7e8f.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/app/page-ee954e3484be7e8f.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/next/dist/client/components/builtin/app-error-ee954e3484be7e8f.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/next/dist/client/components/builtin/forbidden-ee954e3484be7e8f.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/next/dist/client/components/builtin/not-found-ee954e3484be7e8f.js +0 -1
- package/apps/ui/regionclaw-build/static/chunks/next/dist/client/components/builtin/unauthorized-ee954e3484be7e8f.js +0 -1
- package/apps/ui/regionclaw-build/static/tx6PZf8zETvK0EvVfqK73/_buildManifest.js +0 -1
- /package/apps/ui/regionclaw-build/static/{tx6PZf8zETvK0EvVfqK73 → ZSgRLh43NEMa5560KIFa0}/_ssgManifest.js +0 -0
package/README.md
CHANGED
|
@@ -12,6 +12,8 @@ Optional flags:
|
|
|
12
12
|
npx regionclaw --dev
|
|
13
13
|
npx regionclaw --port 3000
|
|
14
14
|
npx regionclaw --host 127.0.0.1 --port 3000
|
|
15
|
+
regionclaw update
|
|
16
|
+
regionclaw update status
|
|
15
17
|
```
|
|
16
18
|
|
|
17
19
|
`npx regionclaw` automatically:
|
|
@@ -50,6 +52,19 @@ pnpm release:major
|
|
|
50
52
|
pnpm release:dry-run
|
|
51
53
|
```
|
|
52
54
|
|
|
55
|
+
For installed copies, RegionClaw can also check for npm updates:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
regionclaw update status
|
|
59
|
+
regionclaw update
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
If you are running via `npx`, use:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npx --yes regionclaw@latest
|
|
66
|
+
```
|
|
67
|
+
|
|
53
68
|
By default RegionClaw stores local state in:
|
|
54
69
|
|
|
55
70
|
- `~/.regionclaw/regionclaw.json`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ZSgRLh43NEMa5560KIFa0
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
"/api/auth/[...nextauth]/route": "/api/auth/[...nextauth]",
|
|
5
5
|
"/api/auth/first-run/route": "/api/auth/first-run",
|
|
6
6
|
"/api/trpc/[trpc]/route": "/api/trpc/[trpc]",
|
|
7
|
+
"/api/update/run/route": "/api/update/run",
|
|
8
|
+
"/api/update/status/route": "/api/update/status",
|
|
7
9
|
"/favicon.ico/route": "/favicon.ico",
|
|
8
10
|
"/login/page": "/login",
|
|
9
11
|
"/page": "/",
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
],
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"lowPriorityFiles": [
|
|
7
|
-
"static/
|
|
8
|
-
"static/
|
|
7
|
+
"static/ZSgRLh43NEMa5560KIFa0/_buildManifest.js",
|
|
8
|
+
"static/ZSgRLh43NEMa5560KIFa0/_ssgManifest.js"
|
|
9
9
|
],
|
|
10
10
|
"rootMainFiles": [
|
|
11
11
|
"static/chunks/webpack-95e4dbce7bf11a3e.js",
|
|
@@ -1,30 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 4,
|
|
3
3
|
"routes": {
|
|
4
|
-
"/": {
|
|
5
|
-
"experimentalBypassFor": [
|
|
6
|
-
{
|
|
7
|
-
"type": "header",
|
|
8
|
-
"key": "next-action"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"type": "header",
|
|
12
|
-
"key": "content-type",
|
|
13
|
-
"value": "multipart/form-data;.*"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"initialRevalidateSeconds": false,
|
|
17
|
-
"srcRoute": "/",
|
|
18
|
-
"dataRoute": "/index.rsc",
|
|
19
|
-
"allowHeader": [
|
|
20
|
-
"host",
|
|
21
|
-
"x-matched-path",
|
|
22
|
-
"x-prerender-revalidate",
|
|
23
|
-
"x-prerender-revalidate-if-generated",
|
|
24
|
-
"x-next-revalidated-tags",
|
|
25
|
-
"x-next-revalidate-tag-token"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
4
|
"/_global-error": {
|
|
29
5
|
"experimentalBypassFor": [
|
|
30
6
|
{
|
|
@@ -102,30 +78,6 @@
|
|
|
102
78
|
"x-next-revalidated-tags",
|
|
103
79
|
"x-next-revalidate-tag-token"
|
|
104
80
|
]
|
|
105
|
-
},
|
|
106
|
-
"/login": {
|
|
107
|
-
"experimentalBypassFor": [
|
|
108
|
-
{
|
|
109
|
-
"type": "header",
|
|
110
|
-
"key": "next-action"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"type": "header",
|
|
114
|
-
"key": "content-type",
|
|
115
|
-
"value": "multipart/form-data;.*"
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
"initialRevalidateSeconds": false,
|
|
119
|
-
"srcRoute": "/login",
|
|
120
|
-
"dataRoute": "/login.rsc",
|
|
121
|
-
"allowHeader": [
|
|
122
|
-
"host",
|
|
123
|
-
"x-matched-path",
|
|
124
|
-
"x-prerender-revalidate",
|
|
125
|
-
"x-prerender-revalidate-if-generated",
|
|
126
|
-
"x-next-revalidated-tags",
|
|
127
|
-
"x-next-revalidate-tag-token"
|
|
128
|
-
]
|
|
129
81
|
}
|
|
130
82
|
},
|
|
131
83
|
"dynamicRoutes": {},
|
|
@@ -64,6 +64,18 @@
|
|
|
64
64
|
"routeKeys": {},
|
|
65
65
|
"namedRegex": "^/api/auth/first\\-run(?:/)?$"
|
|
66
66
|
},
|
|
67
|
+
{
|
|
68
|
+
"page": "/api/update/run",
|
|
69
|
+
"regex": "^/api/update/run(?:/)?$",
|
|
70
|
+
"routeKeys": {},
|
|
71
|
+
"namedRegex": "^/api/update/run(?:/)?$"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"page": "/api/update/status",
|
|
75
|
+
"regex": "^/api/update/status(?:/)?$",
|
|
76
|
+
"routeKeys": {},
|
|
77
|
+
"namedRegex": "^/api/update/status(?:/)?$"
|
|
78
|
+
},
|
|
67
79
|
{
|
|
68
80
|
"page": "/dashboard",
|
|
69
81
|
"regex": "^/dashboard(?:/)?$",
|