@agenti-os/cli 0.2.0
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/LICENSE +21 -0
- package/README.md +164 -0
- package/dashboard/404/index.html +1 -0
- package/dashboard/404.html +1 -0
- package/dashboard/_next/static/chunks/111-83d9bd0855b2c216.js +1 -0
- package/dashboard/_next/static/chunks/458.6c27f5996829de5b.js +1 -0
- package/dashboard/_next/static/chunks/583.6051aee384433b11.js +1 -0
- package/dashboard/_next/static/chunks/74ce447c-ca924ebf577cd4a4.js +1 -0
- package/dashboard/_next/static/chunks/915-98c767e3b9eb8028.js +1 -0
- package/dashboard/_next/static/chunks/app/_not-found/page-c4e9dc1c64d4da80.js +1 -0
- package/dashboard/_next/static/chunks/app/health/page-1c057112a2d6fae4.js +1 -0
- package/dashboard/_next/static/chunks/app/inbox/page-b7271d9a24defeff.js +1 -0
- package/dashboard/_next/static/chunks/app/layout-a3e5ee55560bf39f.js +1 -0
- package/dashboard/_next/static/chunks/app/page-10b9e09a1a14a650.js +1 -0
- package/dashboard/_next/static/chunks/app/timeline/page-7fe0c8e8c7d028b8.js +1 -0
- package/dashboard/_next/static/chunks/framework-1c02a2e60068b586.js +1 -0
- package/dashboard/_next/static/chunks/main-0e2c8558bbf18f15.js +1 -0
- package/dashboard/_next/static/chunks/main-app-48902e05be997ee5.js +1 -0
- package/dashboard/_next/static/chunks/pages/_app-bd106308c06033e9.js +1 -0
- package/dashboard/_next/static/chunks/pages/_error-034fd19974bd12e6.js +1 -0
- package/dashboard/_next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/dashboard/_next/static/chunks/webpack-3aabda247bd1875f.js +1 -0
- package/dashboard/_next/static/css/53ea3bb274b2b444.css +3 -0
- package/dashboard/_next/static/wIIqV_03htqo96M3P8FEG/_buildManifest.js +1 -0
- package/dashboard/_next/static/wIIqV_03htqo96M3P8FEG/_ssgManifest.js +1 -0
- package/dashboard/health/index.html +1 -0
- package/dashboard/health/index.txt +20 -0
- package/dashboard/inbox/index.html +1 -0
- package/dashboard/inbox/index.txt +20 -0
- package/dashboard/index.html +1 -0
- package/dashboard/index.txt +20 -0
- package/dashboard/timeline/index.html +1 -0
- package/dashboard/timeline/index.txt +20 -0
- package/dist/chunk-4J3VBGVR.js +168 -0
- package/dist/chunk-CPCT2FTQ.js +48 -0
- package/dist/chunk-I442WICJ.js +155 -0
- package/dist/display-ZLPTSJQM.js +8 -0
- package/dist/dist-SD33RKHO.js +48 -0
- package/dist/gateway-client-RSQFHBFE.js +11 -0
- package/dist/index.js +1018 -0
- package/package.json +51 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Edon Berisha
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# Agent OS
|
|
2
|
+
|
|
3
|
+
A local-first personal control plane for orchestrating AI coding agents — Claude Code, Codex, and whatever you wrap next.
|
|
4
|
+
|
|
5
|
+
**You're not using AI anymore. You're running a team.**
|
|
6
|
+
|
|
7
|
+
Agent OS turns "ask an AI to write some code" into "plan a mission, assign tasks to agents, watch them work in isolated Git worktrees, approve the risky parts, and merge what's good." One developer, multiple agents, one control plane, all running on your machine.
|
|
8
|
+
|
|
9
|
+
## Prerequisites
|
|
10
|
+
|
|
11
|
+
- Node.js >= 20
|
|
12
|
+
- Python >= 3.11
|
|
13
|
+
- pnpm >= 9
|
|
14
|
+
- git
|
|
15
|
+
|
|
16
|
+
**Windows users:** Python 3.11+, Node 20+, pnpm 9+, and Git for Windows are all required. Run in PowerShell or Windows Terminal. WSL2 is supported but not required.
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
git clone <your-fork-url> agent-os
|
|
22
|
+
cd agent-os
|
|
23
|
+
|
|
24
|
+
# TypeScript side: CLI, dashboard, shared types
|
|
25
|
+
pnpm install
|
|
26
|
+
pnpm --filter @agent-os/shared build
|
|
27
|
+
pnpm build
|
|
28
|
+
|
|
29
|
+
# Python side: the gateway
|
|
30
|
+
cd packages/gateway
|
|
31
|
+
pip install -e ".[dev]"
|
|
32
|
+
cd ../..
|
|
33
|
+
|
|
34
|
+
# Make `agentos` available globally — from npm:
|
|
35
|
+
npm install -g @agenti-os/cli
|
|
36
|
+
|
|
37
|
+
# ...or from this checkout:
|
|
38
|
+
pnpm --filter @agenti-os/cli build
|
|
39
|
+
npm install -g apps/cli
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Set your Anthropic API key if you want mission planning (the planner calls `claude-sonnet-4-6` to decompose an objective into a task DAG):
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
export ANTHROPIC_API_KEY=sk-ant-...
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Quickstart
|
|
49
|
+
|
|
50
|
+
### 1. Install
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
git clone https://github.com/your-username/agent-os
|
|
54
|
+
cd agent-os
|
|
55
|
+
pnpm install
|
|
56
|
+
pip install -e packages/gateway[dev]
|
|
57
|
+
pnpm build
|
|
58
|
+
pnpm build:dashboard
|
|
59
|
+
pnpm link --global
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 2. Initialize your project
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
cd your-project
|
|
66
|
+
agentos init
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### 3. Start Agent OS
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
export ANTHROPIC_API_KEY=sk-ant-... # or set in PowerShell
|
|
73
|
+
agentos start
|
|
74
|
+
# Opens browser automatically at http://localhost:47821/ui
|
|
75
|
+
# Streams live events to terminal
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### 4. Register an agent
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# In a new terminal (or Ctrl+C from logs first):
|
|
82
|
+
agentos agent add claude --role backend --cmd claude
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### 5. Run a mission
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
agentos mission create "Build a users REST API"
|
|
89
|
+
agentos mission plan
|
|
90
|
+
agentos mission run
|
|
91
|
+
# Watch agents work in real time
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
When a task finishes, review it with `agentos diff <task_id>` and merge with `agentos merge <task_id>`. If an agent's credential expires mid-run, check `agentos inbox` — failed runs get frozen, not lost. `agentos start`'s Ctrl+C only detaches from the log stream — the gateway keeps running in the background; stop it with `agentos stop` (or `agentos daemon stop`).
|
|
95
|
+
|
|
96
|
+
## Command reference
|
|
97
|
+
|
|
98
|
+
| Command | Description | Example |
|
|
99
|
+
|---|---|---|
|
|
100
|
+
| `agentos init` | Scaffold `.agentos/` in the current repo | `agentos init` |
|
|
101
|
+
| `agentos start` | Start the gateway + dashboard, open the browser, stream live events | `agentos start` |
|
|
102
|
+
| `agentos stop` | Stop the gateway (warns if a mission is still running) | `agentos stop` |
|
|
103
|
+
| `agentos daemon start\|stop\|status` | Manage the gateway process directly | `agentos daemon start` |
|
|
104
|
+
| `agentos agent add <name>` | Register a new agent | `agentos agent add claude --role backend` |
|
|
105
|
+
| `agentos agent remove <id>` | Unregister an agent | `agentos agent remove ag_01...` |
|
|
106
|
+
| `agentos agents` | List registered agents | `agentos agents` |
|
|
107
|
+
| `agentos agents health` | Credential health per agent | `agentos agents health` |
|
|
108
|
+
| `agentos mission create <objective>` | Create a mission | `agentos mission create "Fix login bug"` |
|
|
109
|
+
| `agentos mission plan <id>` | Decompose into a task DAG | `agentos mission plan ms_01...` |
|
|
110
|
+
| `agentos mission run <id>` | Start ready tasks | `agentos mission run ms_01... --parallel` |
|
|
111
|
+
| `agentos mission pause <id>` | Pause a running mission — stops live agent runs, freezes their workspaces | `agentos mission pause ms_01...` |
|
|
112
|
+
| `agentos mission resume <id>` | Resume a paused mission — relaunches tasks with their preserved work | `agentos mission resume ms_01...` |
|
|
113
|
+
| `agentos diff <task_id>` | View an agent's changes | `agentos diff tk_01...` |
|
|
114
|
+
| `agentos merge <task_id>` | Merge approved work | `agentos merge tk_01...` |
|
|
115
|
+
| `agentos rollback <task_id>` | Discard a task's work | `agentos rollback tk_01...` |
|
|
116
|
+
| `agentos route <task_id> --to <agent_id>` | Hand a task to another agent | `agentos route tk_01... --to ag_02...` |
|
|
117
|
+
| `agentos stop-task <task_id>` | Stop a live agent run, preserving partial work | `agentos stop-task tk_01...` |
|
|
118
|
+
| `agentos inbox` | Pending approvals, credential events, conflicts | `agentos inbox` |
|
|
119
|
+
| `agentos approve <id>` | Approve a pending action | `agentos approve ar_01... --once` |
|
|
120
|
+
| `agentos deny <id>` | Deny a pending action | `agentos deny ar_01...` |
|
|
121
|
+
| `agentos conflicts` | List active conflicts | `agentos conflicts` |
|
|
122
|
+
| `agentos context add <file>` | Add a doc to the context vault | `agentos context add docs/api.md` |
|
|
123
|
+
| `agentos context show <pack_id>` | Inspect a handoff context pack | `agentos context show cp_01...` |
|
|
124
|
+
| `agentos logs [--follow]` | Stream or view event history | `agentos logs --follow` |
|
|
125
|
+
| `agentos credentials rotate <agent_id>` | Rotate a stored credential | `agentos credentials rotate ag_01...` |
|
|
126
|
+
|
|
127
|
+
Run `agentos <command> --help` for full flag documentation on any command.
|
|
128
|
+
|
|
129
|
+
## Architecture
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
┌──────────┐ HTTP/SSE ┌──────────────────┐
|
|
133
|
+
│ CLI │ ─────────────────────> │ │
|
|
134
|
+
│ (agentos)│ <───────────────────── │ FastAPI │
|
|
135
|
+
└──────────┘ │ Gateway │
|
|
136
|
+
│ (127.0.0.1 │
|
|
137
|
+
┌──────────┐ HTTP/SSE │ :47821) │
|
|
138
|
+
│Dashboard │ ─────────────────────> │ │
|
|
139
|
+
│(Next.js) │ <───────────────────── │ source of truth │
|
|
140
|
+
└──────────┘ └─────────┬────────┘
|
|
141
|
+
│
|
|
142
|
+
┌─────────────────────┼─────────────────────┐
|
|
143
|
+
│ │ │
|
|
144
|
+
┌─────▼─────┐ ┌──────▼──────┐ ┌──────▼──────┐
|
|
145
|
+
│ SQLite │ │ .agentos/ │ │ Adapters │
|
|
146
|
+
│ (state, │ │ (worktrees,│ │ (translate │
|
|
147
|
+
│ events) │ │ context, │ │ gateway <->│
|
|
148
|
+
└───────────┘ │ policies) │ │ agent CLI) │
|
|
149
|
+
└─────────────┘ └──────┬──────┘
|
|
150
|
+
│
|
|
151
|
+
┌──────▼──────┐
|
|
152
|
+
│ Agent CLIs │
|
|
153
|
+
│ (claude, │
|
|
154
|
+
│ codex, …) │
|
|
155
|
+
└─────────────┘
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
The gateway is the only process that writes to SQLite. The CLI and dashboard are thin clients — every command goes over HTTP, every live update comes over SSE. Adapters are the only thing that knows how to actually talk to a given agent's CLI; the gateway core never branches on agent type.
|
|
159
|
+
|
|
160
|
+
## Further reading
|
|
161
|
+
|
|
162
|
+
- [`docs/architecture.md`](docs/architecture.md) — system design, the five core decisions, data flow, event system, security model
|
|
163
|
+
- [`docs/cli-reference.md`](docs/cli-reference.md) — every command, every flag, with examples
|
|
164
|
+
- [`docs/adapters.md`](docs/adapters.md) — how to wrap a new agent CLI
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!DOCTYPE html><!--wIIqV_03htqo96M3P8FEG--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/53ea3bb274b2b444.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-3aabda247bd1875f.js"/><script src="/_next/static/chunks/74ce447c-ca924ebf577cd4a4.js" async=""></script><script src="/_next/static/chunks/915-98c767e3b9eb8028.js" async=""></script><script src="/_next/static/chunks/main-app-48902e05be997ee5.js" async=""></script><script src="/_next/static/chunks/111-83d9bd0855b2c216.js" async=""></script><script src="/_next/static/chunks/app/layout-a3e5ee55560bf39f.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Agent OS</title><meta name="description" content="Mission control for AI coding agents"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-screen bg-[#0f0f0f] text-gray-200"><div hidden=""><!--$--><!--/$--></div><nav class="flex items-center gap-6 border-b border-gray-800 px-6 py-4"><span class="font-bold text-indigo-400">Agent OS</span><a class="text-sm text-gray-300 hover:text-indigo-400" href="/">Mission Control</a><a class="text-sm text-gray-300 hover:text-indigo-400" href="/inbox/">Inbox</a><a class="text-sm text-gray-300 hover:text-indigo-400" href="/timeline/">Timeline</a><a class="text-sm text-gray-300 hover:text-indigo-400" href="/health/">Health</a></nav><main class="px-6 py-6"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main><script src="/_next/static/chunks/webpack-3aabda247bd1875f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[9111,[\"111\",\"static/chunks/111-83d9bd0855b2c216.js\",\"177\",\"static/chunks/app/layout-a3e5ee55560bf39f.js\"],\"\"]\n3:I[3250,[],\"\"]\n4:I[2016,[],\"\"]\n5:I[8027,[],\"OutletBoundary\"]\n7:I[2986,[],\"AsyncMetadataOutlet\"]\n9:I[8027,[],\"ViewportBoundary\"]\nb:I[8027,[],\"MetadataBoundary\"]\nc:\"$Sreact.suspense\"\ne:I[9850,[],\"\"]\n:HL[\"/_next/static/css/53ea3bb274b2b444.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"wIIqV_03htqo96M3P8FEG\",\"p\":\"\",\"c\":[\"\",\"_not-found\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/53ea3bb274b2b444.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-screen bg-[#0f0f0f] text-gray-200\",\"children\":[[\"$\",\"nav\",null,{\"className\":\"flex items-center gap-6 border-b border-gray-800 px-6 py-4\",\"children\":[[\"$\",\"span\",null,{\"className\":\"font-bold text-indigo-400\",\"children\":\"Agent OS\"}],[[\"$\",\"$L2\",\"/\",{\"href\":\"/\",\"className\":\"text-sm text-gray-300 hover:text-indigo-400\",\"children\":\"Mission Control\"}],[\"$\",\"$L2\",\"/inbox\",{\"href\":\"/inbox\",\"className\":\"text-sm text-gray-300 hover:text-indigo-400\",\"children\":\"Inbox\"}],[\"$\",\"$L2\",\"/timeline\",{\"href\":\"/timeline\",\"className\":\"text-sm text-gray-300 hover:text-indigo-400\",\"children\":\"Timeline\"}],[\"$\",\"$L2\",\"/health\",{\"href\":\"/health\",\"className\":\"text-sm text-gray-300 hover:text-indigo-400\",\"children\":\"Health\"}]]]}],[\"$\",\"main\",null,{\"className\":\"px-6 py-6\",\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",[\"$\",\"$L7\",null,{\"promise\":\"$@8\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$L9\",null,{\"children\":\"$La\"}],null],[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$c\",null,{\"fallback\":null,\"children\":\"$Ld\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"8:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Agent OS\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Mission control for AI coding agents\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"d:\"$8:metadata\"\n"])</script></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!DOCTYPE html><!--wIIqV_03htqo96M3P8FEG--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/53ea3bb274b2b444.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-3aabda247bd1875f.js"/><script src="/_next/static/chunks/74ce447c-ca924ebf577cd4a4.js" async=""></script><script src="/_next/static/chunks/915-98c767e3b9eb8028.js" async=""></script><script src="/_next/static/chunks/main-app-48902e05be997ee5.js" async=""></script><script src="/_next/static/chunks/111-83d9bd0855b2c216.js" async=""></script><script src="/_next/static/chunks/app/layout-a3e5ee55560bf39f.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Agent OS</title><meta name="description" content="Mission control for AI coding agents"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-screen bg-[#0f0f0f] text-gray-200"><div hidden=""><!--$--><!--/$--></div><nav class="flex items-center gap-6 border-b border-gray-800 px-6 py-4"><span class="font-bold text-indigo-400">Agent OS</span><a class="text-sm text-gray-300 hover:text-indigo-400" href="/">Mission Control</a><a class="text-sm text-gray-300 hover:text-indigo-400" href="/inbox/">Inbox</a><a class="text-sm text-gray-300 hover:text-indigo-400" href="/timeline/">Timeline</a><a class="text-sm text-gray-300 hover:text-indigo-400" href="/health/">Health</a></nav><main class="px-6 py-6"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main><script src="/_next/static/chunks/webpack-3aabda247bd1875f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[9111,[\"111\",\"static/chunks/111-83d9bd0855b2c216.js\",\"177\",\"static/chunks/app/layout-a3e5ee55560bf39f.js\"],\"\"]\n3:I[3250,[],\"\"]\n4:I[2016,[],\"\"]\n5:I[8027,[],\"OutletBoundary\"]\n7:I[2986,[],\"AsyncMetadataOutlet\"]\n9:I[8027,[],\"ViewportBoundary\"]\nb:I[8027,[],\"MetadataBoundary\"]\nc:\"$Sreact.suspense\"\ne:I[9850,[],\"\"]\n:HL[\"/_next/static/css/53ea3bb274b2b444.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"wIIqV_03htqo96M3P8FEG\",\"p\":\"\",\"c\":[\"\",\"_not-found\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/53ea3bb274b2b444.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-screen bg-[#0f0f0f] text-gray-200\",\"children\":[[\"$\",\"nav\",null,{\"className\":\"flex items-center gap-6 border-b border-gray-800 px-6 py-4\",\"children\":[[\"$\",\"span\",null,{\"className\":\"font-bold text-indigo-400\",\"children\":\"Agent OS\"}],[[\"$\",\"$L2\",\"/\",{\"href\":\"/\",\"className\":\"text-sm text-gray-300 hover:text-indigo-400\",\"children\":\"Mission Control\"}],[\"$\",\"$L2\",\"/inbox\",{\"href\":\"/inbox\",\"className\":\"text-sm text-gray-300 hover:text-indigo-400\",\"children\":\"Inbox\"}],[\"$\",\"$L2\",\"/timeline\",{\"href\":\"/timeline\",\"className\":\"text-sm text-gray-300 hover:text-indigo-400\",\"children\":\"Timeline\"}],[\"$\",\"$L2\",\"/health\",{\"href\":\"/health\",\"className\":\"text-sm text-gray-300 hover:text-indigo-400\",\"children\":\"Health\"}]]]}],[\"$\",\"main\",null,{\"className\":\"px-6 py-6\",\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",[\"$\",\"$L7\",null,{\"promise\":\"$@8\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$L9\",null,{\"children\":\"$La\"}],null],[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$c\",null,{\"fallback\":null,\"children\":\"$Ld\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"8:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Agent OS\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Mission control for AI coding agents\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"d:\"$8:metadata\"\n"])</script></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[111],{2649:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},2735:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(9875);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6443:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=r(6556),o=r(5725);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},6556:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return m},NormalizeError:function(){return y},PageNotFoundError:function(){return g},SP:function(){return p},ST:function(){return d},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return a},getURL:function(){return i},isAbsoluteUrl:function(){return u},isResSent:function(){return f},loadGetInitialProps:function(){return s},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return P}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),u=0;u<n;u++)o[u]=arguments[u];return r||(r=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>o.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function i(){let{href:e}=window.location,t=a();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function s(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await s(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let p="undefined"!=typeof performance,d=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class y extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class m extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},8226:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return u},formatWithValidation:function(){return i},urlObjectKeys:function(){return a}});let n=r(7368)._(r(9482)),o=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,u=e.protocol||"",a=e.pathname||"",i=e.hash||"",l=e.query||"",f=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?f=t+e.host:r&&(f=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(f+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return u&&!u.endsWith(":")&&(u+=":"),e.slashes||(!u||o.test(u))&&!1!==f?(f="//"+(f||""),a&&"/"!==a[0]&&(a="/"+a)):f||(f=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),""+u+f+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+i}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function i(e){return u(e)}},9111:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return g},useLinkStatus:function(){return b}});let n=r(7368),o=r(6419),u=n._(r(9875)),a=r(8226),i=r(9132),l=r(2735),f=r(6556),c=r(6022);r(297);let s=r(2863),p=r(6443),d=r(7971);r(2649);let h=r(2132);function y(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}function g(e){var t;let r,n,a,[g,b]=(0,u.useOptimistic)(s.IDLE_LINK_STATUS),P=(0,u.useRef)(null),{href:_,as:v,children:E,prefetch:O=null,passHref:j,replace:S,shallow:C,scroll:N,onClick:T,onMouseEnter:x,onTouchStart:A,legacyBehavior:M=!1,onNavigate:R,ref:L,unstable_dynamicOnHover:k,...I}=e;r=E,M&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let U=u.default.useContext(i.AppRouterContext),w=!1!==O,F=!1!==O?null===(t=O)||"auto"===t?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:D,as:K}=u.default.useMemo(()=>{let e=y(_);return{href:e,as:v?y(v):e}},[_,v]);M&&(n=u.default.Children.only(r));let B=M?n&&"object"==typeof n&&n.ref:L,z=u.default.useCallback(e=>(null!==U&&(P.current=(0,s.mountLinkInstance)(e,D,U,F,w,b)),()=>{P.current&&((0,s.unmountLinkForCurrentNavigation)(P.current),P.current=null),(0,s.unmountPrefetchableInstance)(e)}),[w,D,U,F,b]),Q={ref:(0,l.useMergedRef)(z,B),onClick(e){M||"function"!=typeof T||T(e),M&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),U&&(e.defaultPrevented||function(e,t,r,n,o,a,i){let{nodeName:l}=e.currentTarget;if(!("A"===l.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}u.default.startTransition(()=>{(0,d.dispatchNavigateAction)(r||t,o?"replace":"push",null==a||a,n.current)})}}(e,D,K,P,S,N,R))},onMouseEnter(e){M||"function"!=typeof x||x(e),M&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),U&&w&&(0,s.onNavigationIntent)(e.currentTarget,!0===k)},onTouchStart:function(e){M||"function"!=typeof A||A(e),M&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),U&&w&&(0,s.onNavigationIntent)(e.currentTarget,!0===k)}};return(0,f.isAbsoluteUrl)(K)?Q.href=K:M&&!j&&("a"!==n.type||"href"in n.props)||(Q.href=(0,c.addBasePath)(K)),a=M?u.default.cloneElement(n,Q):(0,o.jsx)("a",{...I,...Q,children:r}),(0,o.jsx)(m.Provider,{value:g,children:a})}let m=(0,u.createContext)(s.IDLE_LINK_STATUS),b=()=>(0,u.useContext)(m);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9482:(e,t)=>{function r(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,o]of Object.entries(e))if(Array.isArray(o))for(let e of o)t.append(r,n(e));else t.set(r,n(o));return t}function u(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return u},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[458],{462:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(4007)._(n(3239)).default.createContext({})},2491:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(3239),o=r.useLayoutEffect,l=r.useEffect;function a(e){let{headManager:t,reduceComponentsToState:n}=e;function a(){if(t&&t.mountedInstances){let o=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(o,e))}}return o(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),l(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},6674:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return y},defaultHead:function(){return c}});let r=n(4007),o=n(6908),l=n(263),a=o._(n(3239)),i=r._(n(2491)),d=n(462),s=n(3184),u=n(9834);function c(e){void 0===e&&(e=!1);let t=[(0,l.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(4340);let f=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:n}=t;return e.reduce(p,[]).reverse().concat(c(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return o=>{let l=!0,a=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){a=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?l=!1:t.add(o.type);break;case"meta":for(let e=0,t=f.length;e<t;e++){let t=f[e];if(o.props.hasOwnProperty(t))if("charSet"===t)n.has(t)?l=!1:n.add(t);else{let e=o.props[t],n=r[t]||new Set;("name"!==t||!a)&&n.has(e)?l=!1:(n.add(e),r[t]=n)}}}return l}}()).reverse().map((e,t)=>{let n=e.key||t;return a.default.cloneElement(e,{key:n})})}let y=function(e){let{children:t}=e,n=(0,a.useContext)(d.AmpStateContext),r=(0,a.useContext)(s.HeadManagerContext);return(0,l.jsx)(i.default,{reduceComponentsToState:h,headManager:r,inAmpMode:(0,u.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7458:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let r=n(4007),o=n(263),l=r._(n(3239)),a=r._(n(6674)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function d(e){let{req:t,res:n,err:r}=e;return{statusCode:n&&n.statusCode?n.statusCode:r?r.statusCode:404,hostname:window.location.hostname}}let s={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class u extends l.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||i[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:s.error,children:[(0,o.jsx)(a.default,{children:(0,o.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:s.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:s.h1,children:e}):null,(0,o.jsx)("div",{style:s.wrap,children:(0,o.jsxs)("h2",{style:s.h2,children:[this.props.title||e?n:(0,o.jsxs)(o.Fragment,{children:["Application error: a client-side exception has occurred"," ",!!this.props.hostname&&(0,o.jsxs)(o.Fragment,{children:["while loading ",this.props.hostname]})," ","(see the browser console for more information)"]}),"."]})})]})]})}}u.displayName="ErrorPage",u.getInitialProps=d,u.origGetInitialProps=d,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9834:(e,t)=>{function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[583],{583:(e,t,l)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let u=l(4007),n=l(263),a=u._(l(3239)),o=l(1165);async function r(e){let{Component:t,ctx:l}=e;return{pageProps:await (0,o.loadGetInitialProps)(t,l)}}class s extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,n.jsx)(e,{...t})}}s.origGetInitialProps=r,s.getInitialProps=r,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}}]);
|