@openagents-org/agent-launcher 0.2.175 → 0.2.176

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/icons/kimi.svg CHANGED
@@ -1,11 +1,6 @@
1
- <svg viewBox="0 0 24 24" width="1em" height="1em" xmlns="http://www.w3.org/2000/svg">
2
- <defs>
3
- <linearGradient id="kimi-g" x1="4" y1="4" x2="20" y2="20" gradientUnits="userSpaceOnUse">
4
- <stop stop-color="#141821"/>
5
- <stop offset="0.52" stop-color="#2f6df6"/>
6
- <stop offset="1" stop-color="#49d2ff"/>
7
- </linearGradient>
8
- </defs>
9
- <rect x="2" y="2" width="20" height="20" rx="6" fill="url(#kimi-g)"/>
10
- <path d="M7 6.5h2.6v4.1l4.2-4.1H17l-4.7 4.7 5 6.3h-3.2l-3.6-4.7-.9.9v3.8H7z" fill="#fff"/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 112 112" role="img" style="flex:none;line-height:1">
2
+ <title>Kimi Code CLI</title>
3
+ <rect width="112" height="112" rx="28" fill="#000"/>
4
+ <path d="M30 34 38 34 38 56 39 57 63 34 75 34 53 57 65 66 77 73 77 81 73 81 67 78 46 63 38 71 38 81 30 81Z" fill="#fff"/>
5
+ <circle cx="86" cy="28" r="5.5" fill="#1783FF"/>
11
6
  </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagents-org/agent-launcher",
3
- "version": "0.2.175",
3
+ "version": "0.2.176",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/registry.json CHANGED
@@ -876,11 +876,12 @@
876
876
  },
877
877
  {
878
878
  "name": "kimi",
879
- "label": "Kimi",
879
+ "label": "Kimi Code CLI",
880
880
  "description": "Kimi Code CLI — Moonshot AI's terminal coding agent.",
881
881
  "homepage": "https://moonshotai.github.io/kimi-code",
882
882
  "tags": [
883
883
  "coding",
884
+ "cli",
884
885
  "moonshot",
885
886
  "open-source"
886
887
  ],
package/src/registry.js CHANGED
@@ -101,7 +101,16 @@ class Registry {
101
101
  // day-old) cached remote copy, same as install.
102
102
  if (b.resolve_env) entry.resolve_env = b.resolve_env;
103
103
  if (b.install) entry.install = { ...b.install };
104
- if (!entry.check_ready && b.check_ready) entry.check_ready = b.check_ready;
104
+ // check_ready is the auth/readiness contract of the adapter shipping in
105
+ // THIS core, so the bundled fields win over a remote copy that may be a
106
+ // release behind — the same rule as install, and for the same reason.
107
+ // Kimi is what proved it: the CLI rewrite added `login_command: kimi
108
+ // login`, but the server was still serving the API-key-only entry, and
109
+ // "fill it in only when absent" meant the sign-in never appeared.
110
+ // Spread rather than replace so anything the server adds on its own
111
+ // (auth_detected_labels and friends) survives.
112
+ if (b.check_ready)
113
+ entry.check_ready = { ...(entry.check_ready || {}), ...b.check_ready };
105
114
  if (!entry.launch && b.launch) entry.launch = b.launch;
106
115
  if (!entry.probe && b.probe) entry.probe = b.probe;
107
116
  // Always take featured/order/support from bundled (source of truth for ordering)
@@ -148,7 +157,8 @@ class Registry {
148
157
  const b = bundled.find((e) => e.name === agentType);
149
158
  if (b) {
150
159
  if (b.install) entry.install = { ...b.install };
151
- if (!entry.check_ready && b.check_ready) entry.check_ready = b.check_ready;
160
+ if (b.check_ready)
161
+ entry.check_ready = { ...(entry.check_ready || {}), ...b.check_ready };
152
162
  if (!entry.launch && b.launch) entry.launch = b.launch;
153
163
  if (!entry.probe && b.probe) entry.probe = b.probe;
154
164
  if ((!entry.env_config || !entry.env_config.length) && b.env_config?.length) entry.env_config = b.env_config;