Josh Bendavid and Claude Opus 5.5
9bf0a0d9f3
feat(plugins): hooks for terminal creation and worktree commands
...
Adds two waiting lifecycle hooks and the workspace id on agent creation:
- terminal.create.before runs for every terminal the daemon starts in a
workspace (app, CLI, SDK, plugins, agent tools, paseo.json scripts,
services and worktree terminals). A plugin may replace command, args
and env, or throw to refuse. It runs in a wrapper around the daemon's
terminal manager, so adopted terminals don't run it again.
- command.run.before runs before each paseo.json worktree setup and
teardown command. A plugin may replace the command and env, or throw
to refuse, which fails setup or teardown like a failing command.
- agent.create.before receives the target workspaceId, read-only. A
plugin result that omits it keeps it, so older plugins still work.
Setup and archive dependencies take the lifecycle as a required field so
a new caller can't skip the command hook by omission.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 23:54:32 +01:00
..
2026-11-15 23:54:32 +01:00
2026-11-15 20:34:13 +07:00
2026-11-15 23:54:32 +01:00
2026-09-11 08:07:35 +02:00
2026-11-13 19:59:42 +07:00
2026-11-13 03:57:45 +00:00
2026-10-21 14:16:24 +07:00
2026-11-15 10:01:41 +00:00
2026-11-15 19:05:47 +00:00
2026-11-13 19:59:48 +07:00
2026-11-04 07:19:21 +07:00
2026-10-07 08:57:29 +02:00
2026-10-21 10:49:04 +07:00
2026-11-15 20:34:13 +07:00
2026-09-24 05:01:09 +02:00
2026-11-14 08:10:41 +00:00
2026-10-28 18:04:29 +07:00
2026-11-14 08:10:41 +00:00
2026-11-04 13:25:24 +07:00
2026-10-30 17:57:57 +07:00
2026-10-27 09:56:47 +07:00
2026-05-01 23:20:23 +07:00
2026-11-15 23:54:32 +01:00
2026-08-10 23:33:31 +02:00
2026-11-11 10:41:14 +07:00
2026-11-11 10:41:14 +07:00
2026-11-15 17:09:46 +00:00
2026-11-04 13:25:24 +07:00
2026-11-15 20:34:13 +07:00
2026-11-08 11:00:21 +07:00
2026-10-31 09:26:24 +07:00
2026-09-11 08:07:35 +02:00
2026-10-23 11:18:25 +07:00
2026-10-28 18:55:50 +07:00
2026-06-14 23:29:14 +08:00
2026-06-14 23:29:14 +08:00
2026-09-16 16:17:46 +02:00
2026-09-16 16:17:46 +02:00
2026-10-26 23:13:25 +07:00
2026-10-26 23:13:25 +07:00
2026-10-23 13:15:14 +07:00
2026-09-26 19:53:43 +02:00
2026-09-26 19:53:43 +02:00
2026-06-20 22:05:12 +08:00
2026-11-04 13:25:24 +07:00
2026-11-03 07:53:13 +00:00
2026-11-09 10:10:16 +07:00
2026-10-27 09:56:47 +07:00
2026-11-15 23:54:32 +01:00
2026-10-27 09:56:36 +07:00
2026-10-27 09:56:36 +07:00
2026-11-15 20:34:13 +07:00
2026-11-13 13:09:38 +07:00
2026-04-27 13:24:16 +08:00
2026-10-11 00:55:14 +02:00
2026-09-11 08:07:35 +02:00
2026-09-08 12:59:25 +02:00
2026-02-22 18:05:12 +07:00
2026-03-21 20:22:15 +07:00
2026-11-15 23:54:32 +01:00
2026-09-26 19:53:43 +02:00
2026-06-30 22:33:18 +02:00
2026-10-06 16:52:02 +01:00
2026-08-02 19:59:43 +02:00
2026-08-14 17:12:49 +02:00
2026-08-14 22:46:32 +02:00
2026-07-06 16:24:02 +02:00
2026-11-03 10:20:26 +07:00
2026-11-03 10:20:26 +07:00
2026-10-22 19:50:06 +07:00
2026-11-09 10:10:16 +07:00
2026-11-09 10:10:16 +07:00
2026-11-09 10:10:16 +07:00
2026-10-07 07:51:12 +02:00
2026-10-28 18:04:29 +07:00
2026-05-09 16:28:23 +08:00
2026-06-03 17:25:07 +07:00
2026-03-21 20:22:15 +07:00
2026-03-21 20:22:15 +07:00
2026-10-30 17:57:57 +07:00
2026-09-26 19:53:43 +02:00
2026-09-26 19:53:43 +02:00
2026-11-13 19:59:42 +07:00
2026-11-08 11:00:21 +07:00
2026-11-08 11:00:21 +07:00
2026-11-08 11:00:21 +07:00
2026-10-27 09:57:35 +07:00
2026-10-02 18:27:51 +01:00
2026-04-15 12:47:49 +08:00
2026-04-15 12:47:49 +08:00
2026-05-05 19:56:26 +07:00
2026-06-29 23:31:11 +08:00
2026-09-26 19:53:43 +02:00
2026-10-13 03:57:12 +02:00
2026-07-17 11:17:21 +02:00
2026-07-17 11:17:21 +02:00
2026-08-01 14:13:47 +02:00
2026-10-21 04:54:43 +02:00
2026-09-12 08:50:16 +02:00
2026-11-15 06:10:47 +00:00
2026-05-05 19:56:51 +07:00
2026-10-22 19:50:06 +07:00
2026-07-24 18:47:23 +08:00
2026-07-24 18:47:23 +08:00
2026-08-19 12:20:32 +02:00
2026-08-19 12:20:32 +02:00
2026-09-11 08:33:22 +02:00
2026-09-11 08:33:22 +02:00
2026-11-11 10:41:14 +07:00
2026-11-09 10:10:16 +07:00
2026-06-15 14:09:29 +07:00
2026-10-26 14:19:02 +07:00
2026-10-11 18:50:03 +02:00
2026-10-27 09:56:47 +07:00
2026-10-30 14:32:19 +07:00
2026-10-04 16:12:33 +02:00
2026-11-09 10:10:16 +07:00
2026-09-24 01:53:13 +02:00
2026-10-28 18:04:29 +07:00
2026-10-27 09:56:47 +07:00
2026-06-29 23:31:11 +08:00
2026-07-15 21:16:10 +02:00
2026-07-15 21:16:10 +02:00
2026-07-29 23:36:31 +02:00
2026-07-29 23:36:31 +02:00
2026-11-03 10:28:26 +07:00
2026-11-03 10:28:26 +07:00
2026-11-09 10:10:16 +07:00
2026-08-01 04:35:06 +08:00
2026-10-22 19:50:06 +07:00
2026-10-18 20:57:22 +02:00
2026-10-22 19:50:06 +07:00
2026-10-30 17:57:57 +07:00
2026-11-04 13:25:24 +07:00
2026-11-04 13:25:24 +07:00
2026-10-15 10:10:54 +02:00
2026-10-15 10:10:54 +02:00
2026-10-09 09:31:50 +01:00
2026-10-31 10:51:45 +07:00
2026-10-13 03:57:12 +02:00
2026-06-02 19:49:58 +08:00
2026-06-15 14:23:02 +08:00
2026-06-15 14:23:02 +08:00
2026-06-02 19:49:58 +08:00
2026-11-12 16:04:52 +00:00
2026-11-12 16:04:52 +00:00
2026-11-09 17:56:48 +07:00
2026-05-09 16:28:23 +08:00
2026-06-03 17:25:07 +07:00
2026-11-01 03:55:48 +00:00
2026-11-01 03:55:48 +00:00
2026-10-23 13:15:14 +07:00
2026-05-10 12:08:14 +08:00
2026-11-04 07:19:21 +07:00
2026-03-21 20:22:15 +07:00
2026-11-15 12:51:47 +00:00
2026-11-15 23:54:32 +01:00
2026-04-05 00:53:50 +07:00
2026-04-24 12:26:10 +08:00
2026-11-04 13:25:24 +07:00
2026-11-04 13:25:24 +07:00
2026-11-13 19:59:42 +07:00
2026-11-09 10:10:16 +07:00
2026-11-01 03:55:48 +00:00
2026-05-05 19:56:51 +07:00
2026-09-11 08:07:35 +02:00
2026-03-21 20:22:15 +07:00
2026-05-28 01:58:18 +08:00
2026-09-08 12:59:25 +02:00
2026-04-24 12:26:10 +08:00
2026-10-28 09:29:36 +00:00
2026-10-28 09:29:36 +00:00
2026-11-03 07:53:13 +00:00
2026-11-03 07:53:13 +00:00
2026-10-22 19:48:34 +07:00
2026-10-31 09:26:24 +07:00
2026-07-24 15:14:37 +02:00
2026-10-22 19:48:34 +07:00
2026-06-27 09:28:34 +00:00
2026-11-09 20:58:01 +07:00
2026-10-22 19:48:34 +07:00
2026-11-15 20:34:13 +07:00
2026-11-08 11:00:21 +07:00
2026-11-11 10:41:14 +07:00
2026-11-11 10:41:14 +07:00
2026-11-05 22:30:14 +07:00
2026-11-11 10:41:14 +07:00
2026-11-15 23:54:32 +01:00
2026-11-11 10:41:14 +07:00
2026-08-08 23:55:12 +02:00
2026-08-08 23:55:12 +02:00
2026-09-02 20:50:22 +02:00
2026-09-02 20:50:22 +02:00
2026-06-04 01:20:20 +08:00
2026-06-04 01:20:20 +08:00
2026-09-14 16:55:42 +02:00
2026-09-11 08:07:35 +02:00
2026-10-27 09:57:35 +07:00
2026-11-09 10:10:16 +07:00
2026-11-06 19:49:49 +07:00
2026-10-27 12:00:55 +00:00
2026-10-27 12:00:55 +00:00
2026-07-17 19:30:17 +02:00
2026-07-17 19:30:17 +02:00
2026-08-09 12:51:00 +02:00
2026-11-14 12:23:33 +00:00
2026-11-10 10:21:13 +07:00
2026-11-13 19:59:42 +07:00
2026-11-13 19:59:42 +07:00
2026-11-13 19:59:42 +07:00
2026-11-04 13:25:24 +07:00
2026-11-15 09:34:41 +00:00
2026-11-15 09:34:41 +00:00
2026-07-29 23:36:31 +02:00
2026-11-04 13:25:24 +07:00
2026-11-04 13:25:24 +07:00
2026-09-23 05:46:08 +02:00
2026-11-05 22:30:14 +07:00
2026-11-04 13:25:24 +07:00
2026-11-09 10:10:16 +07:00
2026-09-11 08:07:35 +02:00
2026-11-07 18:05:31 +07:00
2026-11-07 18:05:31 +07:00
2026-06-02 19:49:58 +08:00
2026-06-02 19:49:58 +08:00
2026-07-20 20:50:01 +02:00
2026-07-20 20:50:01 +02:00
2026-10-14 11:07:06 +02:00
2026-10-14 11:07:06 +02:00
2026-10-19 18:34:53 +07:00
2026-08-07 16:47:33 +02:00
2026-07-18 14:04:48 +02:00
2026-10-21 14:16:24 +07:00
2026-11-09 03:35:39 +00:00
2026-11-15 23:54:32 +01:00
2026-10-27 09:57:35 +07:00
2026-08-01 22:15:10 +08:00
2026-10-28 18:55:50 +07:00
2026-10-28 18:55:50 +07:00
2026-05-02 12:12:44 +07:00
2026-11-11 10:41:14 +07:00
2026-11-15 23:54:32 +01:00