976 Commits
Author SHA1 Message Date
Yota Hamada 1b9df92209 Read install ownership (D14) (#4606) 2026-12-04 16:28:41 +09:00
Yota Hamada aadc1ed24a Take project on settings, wiki, and webhooks (P16) (#4593) 2026-12-04 16:13:58 +09:00
Yota Hamada 8d9cd0eaac Create, list, and delete projects over the API (P15) (#4255) 2026-12-03 23:53:24 +09:00
Yota HamadaandSCcagg5 ecf3b9958a Record the tools and skills that a step offered (#4572)
Co-authored-by: SCcagg5 <sccagg5@gmail.com>
2026-12-03 22:52:17 +09:00
Yota Hamada 6eddb1df54 Take project on the node and inventory paths (F3) (#4561) 2026-12-03 21:01:38 +09:00
Yota Hamada 9e433c64b0 Show Reconnect on call and parallel parent steps (#4563) 2026-12-03 20:01:29 +09:00
Yota Hamada c7239792bc Offer device code sign-in in the UI (C24 part 2) (#4559) 2026-12-03 19:27:07 +09:00
Yota Hamada c186d04fc0 Point plaintext workers to an invite (#4552) 2026-12-03 17:08:39 +09:00
Yota Hamada 5c7b6859d7 Manage the notification connection in the UI (C22 part 2) (#4541) 2026-12-03 12:47:35 +09:00
Yota Hamada 21658e0c40 Send notification email through its connection (C22 part 1) (#4527) 2026-12-03 11:42:22 +09:00
Yota Hamada ead5b841ab Complete and check connections in the DAG editor (C27) (#4520) 2026-12-03 11:23:20 +09:00
Yota Hamada dc70a74999 Import refresh tokens into connections (C23) (#4526) 2026-12-02 23:33:08 +09:00
Yota Hamada 164fbb32ac Add device code sign-in for oauth2 connections (C24) (#4517) 2026-12-02 21:23:25 +09:00
Yota Hamada da9eb2f906 Use a relative expiry in the license refresh test (#4518) 2026-12-02 20:36:00 +09:00
Yota Hamada ce5cc43b17 Take project in the API for DAGs and runs (P16 part 1) (#4235) 2026-12-02 15:30:24 +09:00
Yota Hamada 1c1477d836 Fix public_url and connection message wording (#4456) 2026-12-02 00:50:30 +09:00
Yota Hamada a40ca2947e Refresh a followed run until it ends (#4447) 2026-12-02 00:41:19 +09:00
Yota Hamada b07f3693de Add the Any MCP server tile (C34 part 2) (#4448) 2026-12-01 22:54:17 +09:00
Yota Hamada 0e65bf5ba9 Connect any MCP server (C34 part 1) (#4441) 2026-12-01 22:47:32 +09:00
Yota Hamada 03e3f8844b Add the Custom OAuth2 tile and wizard (C25 part 3) (#4440) 2026-12-01 21:25:51 +09:00
Yota Hamada 72ef25912e Await saved results in notification page tests (#4442) 2026-12-01 21:03:53 +09:00
Yota Hamada 2f7b81a37c Add the starter DAG and connection reads (C30) (#4349) 2026-12-01 20:59:51 +09:00
Yota Hamada 3cc3b0fb46 Add Try it to the Tools panel (C28 part 2) (#4411) 2026-12-01 19:57:46 +09:00
Yota Hamada 5bec34605a Take oauth2 connections in the API and CLI (C25 part 2b) (#4357) 2026-12-01 19:54:40 +09:00
Yota Hamada 896a315a0a Cut CI time to about a third (#4384) 2026-12-01 14:24:43 +09:00
Yota Hamada 2a5344ca63 Add Try it to the API and CLI (C28 part 1) (#4348) 2026-12-01 12:35:53 +09:00
Yota Hamada f4624fcd38 Warn before a connection's sign-in ends (C29) (#4350) 2026-12-01 11:56:19 +09:00
Yota Hamada 1ff314e84c Use connections in http.request (C25 part 1) (#4347) 2026-12-01 11:24:51 +09:00
Yota Hamada 02420cfa2d Use the base config type in the visual editor (#4380)
A DAG file without a type key runs with the base config's type, but the
visual editor read the type from the file text alone. With type: chain in
the base config, the canvas drew no edges and edits wrote depends into the
chain.

The editor, the run view, the step hashes, the run diff, and the reference
completion now take the type of the built DAG when the file has no type
key. The run spec response carries the run's DAG type for the run view.

Fixes #4113
2026-11-30 20:39:36 +09:00
Yota Hamada 46c3f4e8d5 Drop stored secrets when a channel is retargeted (#4258) 2026-11-29 16:27:39 +09:00
Yota Hamada abe04f4c82 Adopt an existing Wiki folder as a workspace wiki (#4359) 2026-11-29 15:42:58 +09:00
Yota Hamada 50bd9e72c6 Hide connections behind experimental_connections (#4354) 2026-11-29 13:35:14 +09:00
Yota Hamada 4fa66900a8 Bound the runs that list activity reads (#4355) 2026-11-29 13:24:36 +09:00
Yota Hamada e61dc0f5e2 Show new invites in the list at once (#4351)
An invite created in the Add worker dialog did not appear in the
Invites list on System Status until a manual refresh, a delete, or a
worker joining with it.

The dialog now asks the invites list to read again after each invite
it creates, so the new invite shows behind the dialog right away.
Spec 108 names this read among the times the list reads the invites.
2026-11-29 12:37:22 +09:00
Yota Hamada 8ecde209ca Badge the Connections nav item (C17 part 2) (#4339) 2026-11-29 11:55:38 +09:00
Oluwafemi Olasubomi Aramide ddc94b09fd Show a long run's steps that need attention in the run inspector (#4346) 2026-11-29 11:19:45 +09:00
Yota Hamada 40587d06b2 Add the Google connection wizard (C16 part 2) (#4337) 2026-11-29 10:56:50 +09:00
Yota Hamada ffbf3dfbc5 Add worker dialog: invite and commands (#4329)
Adds step 3 of the Add worker dialog and the Add worker button in
System status's Workers section. Step 3 creates a single-use or reusable
invite and shows the command that starts a worker with it, on Linux,
Docker, or Kubernetes, with labels and the server's own image tag. Each
invite created in the dialog keeps its own command and waits up to 60
seconds for its worker to join, then offers a diagnostic command.

The form holds still while an invite is being created, a single status
region announces progress and results, and the commands match what the
MCP add_worker action produces for the same input.

Part of #4292 (T18 part 2).
2026-11-29 06:10:06 +09:00
Yota Hamada b5ad47b138 Add worker dialog: readiness and address (#4328)
Adds the first two steps of the Add worker dialog. Step 1 reads
whether every coordinator can accept workers from other hosts and, when
one cannot, names the setting to change: a flag, a variable, a config
file, or for Kubernetes the coordinator workload. Step 2 asks for the
address workers will use. It is filled once when the dialog opens and
never rewritten; when a coordinator later reports a different address,
the dialog offers it. On Kubernetes, the admin says whether workers run
inside or outside the cluster.

The address follows the same host:port rule as the API and the CLI.
Readiness is read again when the window regains focus, and step 3
stays locked until every coordinator is ready.

Part of #4292 (T18 part 1).
2026-11-29 05:52:57 +09:00
Yota Hamada 7ce2d90d68 Remove invite-joined workers from the UI (#4330)
An admin can remove a worker that joined with an invite from System
status's Workers section. Remove asks whether to let the worker's runs
finish or stop them now, and can also delete the invite it joined
with. Stop runs now stops the runs of a worker already being removed.

Each dialog captures the worker, its certificate, and its runs when it
opens and acts only on that capture. A later refresh can only lock the
dialog, never change what it offers, and the dialog stays open until
its requests settle. Workers on TLS or plaintext have no Remove.

Part of #4292 (T19).
2026-11-29 05:51:53 +09:00
Yota Hamada 45309200cd Add worker invites to System status (#4326)
System status's Workers section lists the worker invites on this
server: each invite's kind, uses, creator, and expiry, with a live
countdown. An admin can delete an invite after confirming it. A worker
that joins with an invite updates the list. Invite reads and deletes
share one store that survives navigation and is cleared on every sign
in or sign out, so a list from one session never shows in another.

On a remote node the list is read only and points to that node's own
UI. Refusals show page text chosen from the API's stable reasons, never
the server's message, except for coordinator refusals, which are quoted
as detail.

Part of #4292 (T19).
2026-11-29 05:35:59 +09:00
Yota Hamada c1922d7e68 Add the worker invite and removal API (#4327)
An admin can create, list and delete worker invites, ask whether the
coordinators can accept workers from other hosts, and remove a worker
that joined with an invite through the REST API:

- GET and POST /api/v1/workers/invites
- DELETE /api/v1/workers/invites/{inviteId}
- GET /api/v1/workers/join-readiness
- POST /api/v1/workers/removals

Every route needs the admin role, checked before input validation, and
none of them is forwarded to a remote node. An invite address must be
host:port with a hostname or an IP literal as host; dagu worker invite
checks the same rule. A refusal carries a stable reason in
details.reason so a client can explain it without matching messages.
/workers reports each worker's connection, certificate and invite, and
leaves out workers whose certificate is revoked.

Part of #4292 (T16).
2026-11-29 05:20:43 +09:00
Yota Hamada 128e504eb7 Add dagu worker invite (#4323)
dagu worker invite creates an invite on the coordinators and prints
the command that starts a worker with it. Before creating anything it
asks each coordinator whether it can accept workers from other hosts,
and when one cannot it says which setting to change, naming the one
that wins: a flag, a variable, or a config file.

--address must be a host:port that a worker on another host can
reach. When the command cannot print its output, it tries to delete
the invite it created and reports either outcome.

Part of #4292 (T17).
2026-11-29 02:18:55 +09:00
Yota Hamada a0d928bd55 Record connections on runs and skip their failures (C31) (#4340) 2026-11-29 00:26:28 +09:00
Yota Hamada c15f33cf2b Add the Connections page and reconnect (C16 part 1) (#4317) 2026-11-28 21:13:05 +09:00
Yota Hamada 99541bb697 Report a broken connection once (C17 part 1) (#4291) 2026-11-28 21:11:36 +09:00
Yota HamadaandSCcagg5 f164a13813 Finish the text of Spec 100 (#4315)
Co-authored-by: SCcagg5 <sccagg5@gmail.com>
2026-11-28 15:23:26 +09:00
Yota Hamada 45f1fa4328 Add the connect, test, and tools endpoints (C13 part 2) (#4290) 2026-11-28 15:13:01 +09:00
Yota Hamada d622d01bfc Show how each process connects
A client on h2c now sends why in the dagu-peer-h2c-reason call
metadata: peer.insecure, no TLS source, or tls failed on the network
path. The reason comes from the same transport choice that picked h2c.

The coordinator records each worker's connection (certificate, tls, or
plaintext with the reason) from the call that carries its heartbeat,
and keeps it in the shared heartbeat record. A plaintext call with no
known reason reads as older version. GET /api/v1/workers returns it,
and the System status workers list shows it as a neutral line with the
one change that moves the worker to TLS.

Each coordinator also keeps, in memory, the hosts other than workers
that called it over h2c in the last 10 minutes, at most 64 and with no
timer. GET /api/v1/services/coordinator returns them and System status
lists them under each coordinator, so admins can see which processes
still use plaintext and why.

Part of #4292 (T9).
2026-11-28 12:58:38 +09:00
Yota HamadaandSCcagg5 cd7957f600 Download skills as a ZIP (#4288)
Co-authored-by: SCcagg5 <sccagg5@gmail.com>
2026-11-28 01:49:44 +09:00