genaicode 2.29.0 → 2.31.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/README.md +2 -1
- package/dist/agents/artifacts.d.ts +70 -0
- package/dist/agents/artifacts.js +310 -0
- package/dist/agents/artifacts.js.map +1 -0
- package/dist/agents/cli-agent.js +2 -2
- package/dist/agents/cli-agent.js.map +1 -1
- package/dist/agents/drivers/mcp-isolation.js +5 -2
- package/dist/agents/drivers/mcp-isolation.js.map +1 -1
- package/dist/agents/failover.d.ts +17 -0
- package/dist/agents/failover.js +153 -0
- package/dist/agents/failover.js.map +1 -0
- package/dist/agents/handoff.d.ts +12 -0
- package/dist/agents/handoff.js +133 -0
- package/dist/agents/handoff.js.map +1 -0
- package/dist/agents/live-agent.js +2 -2
- package/dist/agents/live-agent.js.map +1 -1
- package/dist/agents/mcp-tools.d.ts +25 -0
- package/dist/agents/mcp-tools.js +64 -0
- package/dist/agents/mcp-tools.js.map +1 -0
- package/dist/agents/prepare.d.ts +12 -1
- package/dist/agents/prepare.js +15 -2
- package/dist/agents/prepare.js.map +1 -1
- package/dist/agents/runtime.d.ts +4 -2
- package/dist/agents/runtime.js +35 -10
- package/dist/agents/runtime.js.map +1 -1
- package/dist/agents/session.d.ts +68 -4
- package/dist/agents/session.js +196 -43
- package/dist/agents/session.js.map +1 -1
- package/dist/agents/types.d.ts +42 -0
- package/dist/agents/usage.d.ts +5 -0
- package/dist/agents/usage.js +26 -0
- package/dist/agents/usage.js.map +1 -0
- package/dist/agents.d.ts +4 -1
- package/dist/agents.js +2 -0
- package/dist/agents.js.map +1 -1
- package/dist/app-agent/app-agent.d.ts +21 -0
- package/dist/app-agent/app-agent.js +52 -0
- package/dist/app-agent/app-agent.js.map +1 -1
- package/dist/app-agent/http.d.ts +1 -0
- package/dist/app-agent/http.js +15 -0
- package/dist/app-agent/http.js.map +1 -1
- package/dist/app-agent/mcp.d.ts +2 -25
- package/dist/app-agent/mcp.js +1 -63
- package/dist/app-agent/mcp.js.map +1 -1
- package/dist/app-agent/state.d.ts +2 -0
- package/dist/app-agent/state.js.map +1 -1
- package/dist/cli/args.d.ts +6 -0
- package/dist/cli/args.js +15 -0
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/main.d.ts +5 -1
- package/dist/cli/main.js +27 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/render.js +4 -0
- package/dist/cli/render.js.map +1 -1
- package/dist/react/agent-chat.css +59 -0
- package/dist/react/agent-chat.d.ts +9 -1
- package/dist/react/agent-chat.js +33 -5
- package/dist/react/agent-chat.js.map +1 -1
- package/dist/react/app-agent-chat.d.ts +6 -1
- package/dist/react/app-agent-chat.js +3 -2
- package/dist/react/app-agent-chat.js.map +1 -1
- package/dist/react/format.d.ts +1 -0
- package/dist/react/format.js +7 -0
- package/dist/react/format.js.map +1 -1
- package/dist/ui/index.js +99 -79
- package/dist/ui/web-client.js +71 -12
- package/dist/ui.d.ts +2 -0
- package/dist/ui.js.map +1 -1
- package/docs/agents.md +97 -2
- package/docs/app-agent.md +9 -0
- package/docs/cli.md +14 -2
- package/docs/react.md +13 -12
- package/package.json +2 -1
package/dist/ui.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ export interface EmbeddedWebOptions {
|
|
|
31
31
|
transformPrompt?(prompt: string): string;
|
|
32
32
|
/** Approve every permission request without asking. */
|
|
33
33
|
approveAll?: boolean;
|
|
34
|
+
/** Let the agent publish artifacts (pages, images, documents) the UI shows. Default true. */
|
|
35
|
+
artifacts?: boolean;
|
|
34
36
|
/** Bark when the agent needs the user or finishes, while the tab is hidden. Default true. */
|
|
35
37
|
bark?: boolean;
|
|
36
38
|
/** Origins of the pages that show the UI in a frame. Read per request. Default: none. */
|
package/dist/ui.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,EAAE,aAAa,EAAiC,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,EAAE,aAAa,EAAiC,MAAM,qBAAqB,CAAC;AA4EnF;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,OAA2B;IAChE,MAAM,EAAE,GAAG,MAAM,aAAa,EAAE,CAAC;IACjC,OAAO,EAAE,CAAC,gBAAgB,CAAC;QACzB,GAAG,OAAO;QACV,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,aAAa,EAAE;QACzC,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,cAAc,EAAE;QAC5C,cAAc,EAAE,OAAO,CAAC,cAAc,IAAI,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;KACrD,CAAC,CAAC;AACL,CAAC;AAcD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,gBAAgB,CAAC,UAA6B,EAAE;IAC9D,MAAM,EAAE,aAAa,GAAG,IAAI,EAAE,GAAG,GAAG,OAAO,EAAE,GAAG,GAAG,EAAE,GAAG,OAAO,CAAC;IAChE,OAAO,aAAa,CAClB,CAAC,cAAc,EAAE,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,CAAC,EAC/F,EAAE,aAAa,EAAE,GAAG,EAAE,CACvB,CAAC;AACJ,CAAC;AAED,uGAAuG;AACvG,SAAS,aAAa;IACpB,MAAM,MAAM,GAAW,IAAI,GAAG,CAAC,eAAe,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtE,OAAO,MAAM,CAAC,MAAM,CAAsB,CAAC;AAC7C,CAAC;AAED,SAAS,cAAc;IACrB,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/C,OAAQ,OAAO,CAAC,iBAAiB,CAAyB,CAAC,OAAO,CAAC;AACrE,CAAC"}
|
package/docs/agents.md
CHANGED
|
@@ -120,6 +120,7 @@ failure of its own. A zero exit alone is not treated as success.
|
|
|
120
120
|
| `usage` | Token usage, plus `costUsd` when the agent reports it |
|
|
121
121
|
| `rate-limit` | A plan or account limit: window, status, % used, reset time |
|
|
122
122
|
| `budget-warning` | The run crossed `warnAt` of a `task.budget` cap |
|
|
123
|
+
| `failover` | `withFallback()` moved the task to the next agent (`from`, `to`) |
|
|
123
124
|
| `error` | An error the agent reported |
|
|
124
125
|
| `stderr` | Raw stderr chunk |
|
|
125
126
|
| `raw` | A stdout line that was not JSON |
|
|
@@ -169,6 +170,45 @@ from `genaicode/react` turns both into short labels with a level (`ok`, `warning
|
|
|
169
170
|
when close and red when out. `genaicode run|chat|ui --max-tokens <n> --max-cost <usd>` set
|
|
170
171
|
budgets from the command line.
|
|
171
172
|
|
|
173
|
+
## Failover
|
|
174
|
+
|
|
175
|
+
When a run fails, `result.failure` says whether the agent was at fault rather than the task:
|
|
176
|
+
|
|
177
|
+
| `failure.kind` | When |
|
|
178
|
+
| -------------- | ------------------------------------------------------------------------- |
|
|
179
|
+
| `quota` | A plan, account or API limit ran out (`resetsAt` when the vendor said) |
|
|
180
|
+
| `auth` | The CLI is not signed in, or its key was refused |
|
|
181
|
+
| `unavailable` | The CLI is not installed (`ENOENT`) |
|
|
182
|
+
| `crash` | The CLI died, was killed, or exited non-zero without reporting any result |
|
|
183
|
+
| `budget` | The run went over its `task.budget` |
|
|
184
|
+
|
|
185
|
+
An ordinary failure (tests still red, max turns, an error the agent reported) has no `failure`.
|
|
186
|
+
`shouldFailOver(result)` is true for the first four: another agent can get past them, while a
|
|
187
|
+
spent budget is the user's own cap.
|
|
188
|
+
|
|
189
|
+
Failover is opt-in, and the user picks the agents:
|
|
190
|
+
|
|
191
|
+
```ts
|
|
192
|
+
const agent = withFallback([claude(), codex(), gemini()]);
|
|
193
|
+
const result = await agent.run({ prompt, cwd }).result; // claude; codex if claude is out; then gemini
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Each agent is tried at most once per run, and gets the task without `resume`. A `failover` event
|
|
197
|
+
marks each switch. An agent that ran out goes last in later runs until it completes one, so
|
|
198
|
+
`runWithVerify(withFallback([...]), ...)` does not hit the same limit on every repair. A stop, a
|
|
199
|
+
spent budget and any other failure end the run as they are.
|
|
200
|
+
|
|
201
|
+
Sessions do the same with `createAgentSession({ fallback: [codex(), gemini()] })` (`setFallback()`
|
|
202
|
+
changes the list, `state.fallback` shows it). When a turn fails over, its transcript ends with a
|
|
203
|
+
`{ kind: 'failover', from, to, failure }` entry, the session switches to the next agent it has not
|
|
204
|
+
tried for that prompt and runs the prompt again there. If the first agent had already changed
|
|
205
|
+
files, the next one is told which. The new agent stays for later turns; the model is cleared
|
|
206
|
+
(another vendor's model id means nothing to it). The new agent starts its own session; `failoverPrompt(prompt, earlier)` can rewrite what it gets, e.g.
|
|
207
|
+
to brief it again (app agents do: the briefing plus the conversation so far). `createAppAgent({ fallback: ['codex'] })` and
|
|
208
|
+
`configure({ fallback })` take agent names. `genaicode run|chat|ui --fallback codex,gemini` and
|
|
209
|
+
`/fallback` in the chat do it from the command line, and `<AgentChat>`, `chat` and `ui` show the
|
|
210
|
+
switch in the transcript.
|
|
211
|
+
|
|
172
212
|
## Follow-up turns
|
|
173
213
|
|
|
174
214
|
`result.sessionId` names the agent's own session. Pass it as `resume` to continue that
|
|
@@ -206,12 +246,67 @@ session.send('Now cover it with a test'); // resumes the same agent session
|
|
|
206
246
|
queue.
|
|
207
247
|
- Approval requests wait in `state.approvals` until `approve(id, decision)`, unless
|
|
208
248
|
`autoApprove` decides them. `stop()` denies whatever is pending.
|
|
209
|
-
- `setAgent()` switches agents
|
|
210
|
-
|
|
249
|
+
- `setAgent()` (and a failover) switches agents and hands the conversation over: the next agent's first
|
|
250
|
+
prompt starts with a recap of the turns it missed and the path of a Markdown transcript
|
|
251
|
+
(tool calls, output, changed files) written to `.genaicode/handoff/` in the cwd (git-ignored),
|
|
252
|
+
for it to read when the recap is not enough. Switching back to an agent resumes its own
|
|
253
|
+
session and tells it only what it missed. `setAgent(agent, { handoff: false })`, or
|
|
254
|
+
`handoff: false` in the options, starts the agent fresh; `handoff: { dir }` moves the
|
|
255
|
+
transcripts. `turn.handoff` records what a turn was told. `reset()` forgets every agent
|
|
256
|
+
session, with no handoff.
|
|
211
257
|
- `transformPrompt(text)` rewrites what reaches the agent (a briefing, a context prefix)
|
|
212
258
|
while turns, the queue and steered input keep the text given to `send()`.
|
|
213
259
|
- `<AgentChat>` from `genaicode/react` renders `state` in a React page (see the README).
|
|
214
260
|
|
|
261
|
+
### Artifacts
|
|
262
|
+
|
|
263
|
+
An agent can publish something for the user to look at instead of describing it: a report or
|
|
264
|
+
chart as a self-contained HTML page, an image, a Markdown document. `genaicode chat` and
|
|
265
|
+
`genaicode ui` turn this on by default (`--no-artifacts` turns it off); in code:
|
|
266
|
+
|
|
267
|
+
```ts
|
|
268
|
+
import { artifactResponse, createAgentSession, startArtifactChannel } from 'genaicode/agents';
|
|
269
|
+
|
|
270
|
+
const artifacts = await startArtifactChannel({ cwd });
|
|
271
|
+
const session = createAgentSession({ agent: claude(), cwd, artifacts });
|
|
272
|
+
|
|
273
|
+
// Your server shows the content. The id is unguessable; serve it without your session cookie in mind.
|
|
274
|
+
app.get('/artifacts/:id', (req, res) => {
|
|
275
|
+
const found = artifacts.store.read(req.params.id);
|
|
276
|
+
if (!found) return res.status(404).end();
|
|
277
|
+
const { headers, body } = artifactResponse(found.artifact, found.body);
|
|
278
|
+
res.writeHead(200, headers).end(body);
|
|
279
|
+
});
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
- The agent gets one MCP tool, `publish_artifact({ title, path | content + format, name? })`, on
|
|
283
|
+
a loopback MCP server behind a bearer token. So it works for the agents that take MCP servers
|
|
284
|
+
in genaicode (claude, codex, codexLive, copilot, muse, museLive, antigravity); the others
|
|
285
|
+
simply do not get the tool. An app with its own MCP server can mount `store.tool()` there
|
|
286
|
+
and pass `{ store }` alone; `createAppAgent` does exactly that (see [app-agent.md](app-agent.md)).
|
|
287
|
+
- Each publish adds an `artifact` entry (`{ id, title, kind, mimeType, bytes, version, path? }`)
|
|
288
|
+
to the running turn. The content is copied into memory at that moment (5 MB each, the newest
|
|
289
|
+
30 by default); publishing the same `name` again replaces it and keeps the `id`.
|
|
290
|
+
- `<AgentChat artifactUrl={(a) => `/artifacts/${a.id}?v=${a.version}`}>` shows a card with a
|
|
291
|
+
preview; the terminal chat shows a line and `/web` opens the browser.
|
|
292
|
+
|
|
293
|
+
Artifacts are agent-written content, so they are handled as untrusted:
|
|
294
|
+
|
|
295
|
+
- **Files**: only regular files inside `cwd` after resolving symlinks; `.git`, `.genaicode`,
|
|
296
|
+
`.ssh` and similar folders, `.env*`, key and certificate files are refused. This guards
|
|
297
|
+
against a confused or prompt-injected agent, not against one with a shell, which can read
|
|
298
|
+
those files anyway.
|
|
299
|
+
- **Types**: the MIME type comes from the file extension or `format`, never from the agent,
|
|
300
|
+
and everything is sent with `nosniff`. Unknown types download instead of rendering.
|
|
301
|
+
- **HTML**: `artifactResponse()` sends a Content-Security-Policy with `sandbox allow-scripts`
|
|
302
|
+
and `default-src 'none'`: the page runs its own inline code in an origin of its own (no
|
|
303
|
+
cookies, storage or DOM of your app, also when its URL is opened directly) and loads
|
|
304
|
+
nothing from the network, so no CDN scripts either. `<AgentChat>` adds the same sandbox on
|
|
305
|
+
the frame. SVG is shown as an image, or with scripts off when opened directly.
|
|
306
|
+
- **What is left**: a page can still navigate its own frame to another site and carry data in
|
|
307
|
+
that URL; browsers offer no switch for that. The page only knows what the agent put in it,
|
|
308
|
+
but treat a published page like a link the agent sent you.
|
|
309
|
+
|
|
215
310
|
## Drivers
|
|
216
311
|
|
|
217
312
|
| Driver | Command | Mode | Notes |
|
package/docs/app-agent.md
CHANGED
|
@@ -51,6 +51,15 @@ import 'genaicode/react/styles.css';
|
|
|
51
51
|
<img alt="A shop admin with the agent drawer: the agent proposed a refund, waiting for Approve." src="media/screenshots/app-agent.png" width="80%">
|
|
52
52
|
</p>
|
|
53
53
|
|
|
54
|
+
The agent can also show the user something instead of describing it: a report, a chart or a
|
|
55
|
+
table as a self-contained HTML page, an image, a Markdown document. It calls
|
|
56
|
+
`publish_artifact` (turn it on with `artifacts: true`), the chat shows a card, and the card opens a preview. The handler serves
|
|
57
|
+
the content at `/api/agent/artifacts/:id` behind `authorize` like every other route, with
|
|
58
|
+
headers that sandbox it: the page runs in an origin of its own, with no network and no access
|
|
59
|
+
to your app's cookies, storage or DOM (see [agents.md](agents.md#artifacts)). In `dev` mode the
|
|
60
|
+
agent can publish a file from `dev.cwd`; in `use` mode only content it writes. An app that
|
|
61
|
+
draws its own chat instead of `AppAgentChat` renders the `artifact` transcript entries itself.
|
|
62
|
+
|
|
54
63
|
A read tool may return `{ text, images: [{ mimeType: 'image/png', data }] }` instead of a
|
|
55
64
|
string, so the agent can look at what it changed, e.g. a screenshot of the app.
|
|
56
65
|
|
package/docs/cli.md
CHANGED
|
@@ -19,7 +19,9 @@ to `--max-repairs` more attempts (`runWithVerify`). The exit code is 0 on succes
|
|
|
19
19
|
the agent or the check fails, 2 on a usage error, and 130 when interrupted.
|
|
20
20
|
`--max-tokens <n>` and `--max-cost <usd>` stop the agent once it goes over (with `--verify`,
|
|
21
21
|
over all attempts together); a line on stderr warns at 80% and when the agent's plan limit
|
|
22
|
-
gets close. `
|
|
22
|
+
gets close. `--fallback codex,gemini` runs the task on the next agent when one is out of quota,
|
|
23
|
+
not signed in, not installed or crashed (see [failover](agents.md#failover)).
|
|
24
|
+
`npx genaicode --help` lists every option.
|
|
23
25
|
|
|
24
26
|
## Chat with an agent: terminal and browser
|
|
25
27
|
|
|
@@ -42,7 +44,11 @@ denies and `a` approves everything from then on (`/auto`, or the Auto-approve ch
|
|
|
42
44
|
browser; `-y` starts that way). `!` on an empty prompt switches to shell mode, as in Claude
|
|
43
45
|
Code: `!npm run dev` runs in the project with its output in the transcript, and `/stop` (or
|
|
44
46
|
Esc) ends it. `/agent`, `/model` and `/new` switch agent,
|
|
45
|
-
model and session; `/
|
|
47
|
+
model and session; `/fallback codex,gemini` picks the agents to switch to when the current one
|
|
48
|
+
runs out (`/fallback off` stops it); `/help` lists the rest. `/agent codex` hands the
|
|
49
|
+
conversation over: codex gets a recap and a transcript file in `.genaicode/handoff/`, and
|
|
50
|
+
switching back resumes the earlier agent's own session (`/agent codex --fresh` starts with no
|
|
51
|
+
context).
|
|
46
52
|
|
|
47
53
|
<p align="center">
|
|
48
54
|
<picture>
|
|
@@ -74,6 +80,12 @@ The terminal UI rings the terminal bell instead. `/bark off` (or the Bark button
|
|
|
74
80
|
prompt, e.g. `genaicode ui --mcp game=http://127.0.0.1:7777/mcp` from a game editor whose
|
|
75
81
|
running game serves tools there. Only the agents that take MCP servers in genaicode (claude,
|
|
76
82
|
codex, copilot) are offered then.
|
|
83
|
+
The agent can publish artifacts: a report, chart or mockup as a self-contained HTML page, an
|
|
84
|
+
image, a Markdown document. The browser UI shows each as a card that opens a preview; the
|
|
85
|
+
terminal shows a line, and `/web` opens the browser on the same session. Pages run in a
|
|
86
|
+
sandboxed frame with no network and no access to the UI (see
|
|
87
|
+
[agents.md](agents.md#artifacts)). Agents that take MCP servers get the tool;
|
|
88
|
+
`--no-artifacts` leaves it out.
|
|
77
89
|
An app that starts `genaicode ui` itself can add `--exit-with-stdin` and stop it by closing
|
|
78
90
|
its stdin, which also reaches the server when a launcher such as npx sits in between.
|
|
79
91
|
|
package/docs/react.md
CHANGED
|
@@ -71,18 +71,19 @@ HTML; links open in a new tab; GFM tables, strikethrough and task lists), collap
|
|
|
71
71
|
own approval requests, queued prompts and a working indicator, and an input where Enter
|
|
72
72
|
sends, Shift+Enter adds a line and Esc stops. Props:
|
|
73
73
|
|
|
74
|
-
| Prop |
|
|
75
|
-
| ------------------------------------------------------------------------------ |
|
|
76
|
-
| `state` | `SessionState`, or null before there is a session
|
|
77
|
-
| `onSend(text)`, `onStop()` | Enter or Send; Stop or Esc. No `onStop`, no Stop button
|
|
78
|
-
| `onApprove(id, decision)` | answers `state.approvals`; without it they show as waiting
|
|
79
|
-
| `renderPrompt(text, turn?)` | how a sent prompt shows (return null to hide it)
|
|
80
|
-
| `renderAfterTurn(turn, i)`, `renderFooter()` | your content after a turn, or at the end
|
|
81
|
-
| `notices` | `{ id, afterTurn, text, tone? }[]`: your own lines between turns
|
|
82
|
-
| `
|
|
83
|
-
| `
|
|
84
|
-
| `
|
|
85
|
-
| `
|
|
74
|
+
| Prop | |
|
|
75
|
+
| ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- |
|
|
76
|
+
| `state` | `SessionState`, or null before there is a session |
|
|
77
|
+
| `onSend(text)`, `onStop()` | Enter or Send; Stop or Esc. No `onStop`, no Stop button |
|
|
78
|
+
| `onApprove(id, decision)` | answers `state.approvals`; without it they show as waiting |
|
|
79
|
+
| `renderPrompt(text, turn?)` | how a sent prompt shows (return null to hide it) |
|
|
80
|
+
| `renderAfterTurn(turn, i)`, `renderFooter()` | your content after a turn, or at the end |
|
|
81
|
+
| `notices` | `{ id, afterTurn, text, tone? }[]`: your own lines between turns |
|
|
82
|
+
| `artifactUrl(artifact)`, `renderArtifact(artifact, url)` | where your server serves a published artifact; your own card ([artifacts](agents.md#artifacts)) |
|
|
83
|
+
| `foldSteps` | fold each turn's tools and edits into one "N steps" line |
|
|
84
|
+
| `header`, `headerExtras` | replace the header (null for none), or add to its right end |
|
|
85
|
+
| `emptyState`, `placeholder`, `hint` | text before the first turn, in and under the input |
|
|
86
|
+
| `formatToolName(name)`, `disabled`, `autoFocus`, `theme`, `className`, `style` | |
|
|
86
87
|
|
|
87
88
|
Theme it with CSS custom properties on the component or any ancestor: `--gc-bg`,
|
|
88
89
|
`--gc-panel`, `--gc-border`, `--gc-text`, `--gc-muted`, `--gc-accent`, `--gc-accent-text`,
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genaicode",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "Drive the coding-agent CLIs you already have (Claude Code, Codex, Copilot, Cursor, Gemini, opencode...) behind one API and one CLI, plus a thin provider-neutral LLM layer.",
|
|
5
5
|
"author": "Grzegorz Tańczyk",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/gtanczyk/genaicode.git"
|
|
9
9
|
},
|
|
10
|
+
"homepage": "https://grzegorz.tanczyk.pl/genaicode/",
|
|
10
11
|
"keywords": [
|
|
11
12
|
"llm",
|
|
12
13
|
"ai",
|