StringKE
5a83f0ae6c
gateway: a plugin's account on its trial credits is asked after the accounts with plan credits left
...
A plugin window may say credits: used up, the account goes on past it on credits its vendor spends after the window's. Kiro spends a month's plan credits before a trial's, and the plan's are lost at the month's reset while a trial's last a year, so such an account goes after the provider's accounts with room and before those used up, under every routing but Pick account by hand.
Ported from StringKe's branch (StringKe/magpie kiro-trial-last, 23e084262;
yetone/magpie#7179, with plugins#1352, kiro 0.1.41). Kiro's billing docs
say "Kiro uses your plan credits first, then your trial credits" and that
trial credits last 12 months. Opt-in per plugin window (credits), so a key
or a Codex account routes as before: creditsLast and CodexCreditsFirst
stay Codex-only, behindOthers moves only plugin: accounts, and no other
plugin package sends credits. The Kiro mover's min goes to 0.1.41, on npm
(gitHead 0ae116db1).
Run at this stack's head on mote: go test -timeout 45m ./... with go vet
./...: every package ok but internal/gateway, red on
TestOpenCodeGoOwnFreeModelGetsNothingOfOpenCodes (red 3 of 3 alone on
origin/main 9bf5848c1 too, #7117 ) and TestKeptBodyIsOnlyItsCallers (fixed
two commits on, a test reading the package's own sources). Broken by
hand: with behindOthers taken out of weigh, TestPluginCreditsAfterTheOthers
goes red.
2026-11-19 17:25:39 +08:00
..
2026-11-19 11:50:37 +08:00
2026-10-18 07:13:09 +08:00
2026-11-13 08:52:12 +08:00
2026-10-16 20:05:11 +08:00
2026-10-19 09:40:45 +08:00
2026-11-15 21:26:33 +08:00
2026-10-25 05:54:07 +08:00
2026-10-14 20:56:18 +08:00
2026-11-15 21:26:33 +08:00
2026-11-15 22:38:49 +08:00
2026-11-15 21:26:33 +08:00
2026-11-10 12:54:39 +08:00
2026-11-03 17:24:19 +08:00
2026-11-11 15:07:54 +08:00
2026-11-11 15:07:54 +08:00
2026-10-19 09:40:46 +08:00
2026-11-15 14:52:48 +08:00
2026-10-31 22:22:12 +08:00
2026-11-01 12:12:05 +08:00
2026-10-31 22:22:12 +08:00
2026-11-15 13:41:12 +08:00
2026-11-15 16:38:33 +08:00
2026-11-15 16:38:33 +08:00
2026-11-10 11:44:17 +08:00
2026-11-15 10:43:03 +08:00
2026-11-10 01:44:24 +08:00
2026-10-31 17:00:14 +08:00
2026-11-15 21:26:33 +08:00
2026-11-05 03:54:41 +08:00
2026-10-30 15:53:22 +08:00
2026-11-16 22:23:54 +08:00
2026-10-31 17:00:14 +08:00
2026-10-28 03:50:46 +08:00
2026-11-16 22:23:54 +08:00
2026-10-11 01:14:19 +08:00
2026-11-10 12:54:39 +08:00
2026-11-18 23:06:38 +08:00
2026-10-29 00:01:12 +08:00
2026-10-19 09:40:45 +08:00
2026-11-08 21:43:52 +08:00
2026-11-05 16:58:34 +08:00
2026-10-11 00:20:25 +08:00
2026-11-17 00:39:50 +08:00
2026-11-06 00:34:42 +08:00
2026-11-06 00:34:42 +08:00
2026-11-06 00:34:42 +08:00
2026-11-18 23:06:38 +08:00
2026-11-19 17:25:39 +08:00
2026-11-13 13:32:32 +08:00
2026-10-23 16:57:33 +08:00
2026-10-20 20:23:51 +08:00
2026-10-20 20:23:51 +08:00
2026-10-15 03:34:58 +08:00
2026-11-15 11:55:45 +08:00
2026-11-15 11:55:45 +08:00
2026-10-15 23:08:04 +08:00
2026-11-01 14:28:25 +08:00
2026-11-03 05:21:47 +08:00
2026-10-13 13:02:58 +08:00
2026-11-01 05:51:13 +08:00
2026-10-27 18:43:32 +08:00
2026-11-02 14:12:20 +08:00
2026-11-19 11:50:37 +08:00
2026-11-02 14:49:36 +08:00
2026-10-15 22:36:59 +08:00
2026-11-10 09:38:45 +08:00
2026-10-14 23:52:15 +08:00
2026-11-18 14:32:44 +08:00
2026-10-31 18:30:39 +08:00
2026-11-04 22:47:11 +08:00
2026-10-26 15:02:10 +08:00
2026-10-30 21:46:47 +08:00
2026-10-31 22:39:37 +08:00
2026-11-15 06:40:19 +08:00
2026-11-18 12:58:37 +08:00
2026-11-18 12:58:37 +08:00
2026-11-19 11:50:37 +08:00
2026-11-04 01:53:46 +08:00
2026-11-10 19:53:54 +08:00
2026-11-06 11:51:38 +08:00
2026-11-09 19:16:48 +08:00
2026-10-10 00:55:38 +08:00
2026-10-10 18:11:00 +08:00
2026-10-28 22:20:56 +08:00
2026-11-15 16:38:33 +08:00
2026-10-31 02:00:10 +08:00
2026-11-09 18:29:55 +08:00
2026-11-03 21:01:27 +08:00
2026-10-11 14:07:21 +08:00
2026-11-09 18:29:55 +08:00
2026-11-03 07:43:18 +08:00
2026-10-14 09:17:47 +08:00
2026-11-15 13:41:12 +08:00
2026-11-02 14:30:45 +08:00
2026-11-05 00:55:36 +08:00
2026-11-10 12:22:53 +08:00
2026-11-04 16:25:02 +08:00
2026-11-06 20:16:44 +08:00
2026-11-19 16:20:34 +08:00
2026-11-10 09:35:32 +08:00
2026-11-06 05:53:23 +08:00
2026-11-12 11:14:56 +08:00
2026-10-26 15:09:09 +08:00
2026-10-23 16:57:33 +08:00
2026-10-31 01:11:31 +08:00
2026-10-13 14:29:52 +08:00
2026-10-31 02:00:10 +08:00
2026-10-16 05:29:20 +08:00
2026-11-19 17:25:39 +08:00
2026-11-11 04:28:18 +08:00
2026-11-11 04:28:18 +08:00
2026-11-11 16:24:37 +08:00
2026-11-11 16:24:37 +08:00
2026-11-11 11:50:13 +08:00
2026-11-11 11:50:13 +08:00
2026-11-03 17:58:31 +08:00
2026-10-31 04:24:59 +08:00
2026-11-14 14:02:49 +08:00
2026-11-10 09:35:32 +08:00
2026-10-25 11:52:02 +08:00
2026-11-02 14:12:20 +08:00
2026-11-06 13:17:22 +08:00
2026-11-11 12:26:43 +08:00
2026-11-04 20:55:42 +08:00
2026-11-10 12:54:39 +08:00
2026-10-13 15:48:53 +08:00
2026-11-04 13:23:28 +08:00
2026-10-09 19:35:35 +08:00
2026-10-12 23:33:56 +08:00
2026-10-12 23:33:56 +08:00
2026-11-15 06:40:19 +08:00
2026-10-16 03:41:22 +08:00
2026-10-10 22:54:09 +08:00
2026-11-18 14:32:44 +08:00
2026-10-28 13:50:41 +08:00
2026-11-05 16:58:34 +08:00
2026-10-28 13:50:41 +08:00
2026-11-05 16:58:34 +08:00
2026-10-15 22:36:59 +08:00
2026-10-30 22:33:25 +08:00
2026-10-25 11:52:02 +08:00
2026-10-15 09:36:26 +08:00
2026-11-02 03:54:00 +08:00
2026-10-23 16:57:33 +08:00
2026-11-02 03:54:00 +08:00
2026-11-01 22:14:19 +08:00
2026-11-16 03:00:18 +08:00
2026-11-16 03:00:18 +08:00
2026-10-10 22:54:09 +08:00