zidane 7.1.10 → 7.2.1
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/dist/{acp-Bt-eb5Z8.js → acp-D-tVyUjw.js} +2 -2
- package/dist/{acp-Bt-eb5Z8.js.map → acp-D-tVyUjw.js.map} +1 -1
- package/dist/acp-cli.js +4 -4
- package/dist/acp.d.ts +1 -1
- package/dist/acp.js +1 -1
- package/dist/{agent-B6etKd_o.js → agent-D0zZnGbt.js} +135 -6
- package/dist/agent-D0zZnGbt.js.map +1 -0
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +1 -1
- package/dist/{anthropic-BQdAnY-w.js → anthropic-C2aole0G.js} +83 -100
- package/dist/anthropic-C2aole0G.js.map +1 -0
- package/dist/{approvals-CIKGWmiU.js → approvals-CnE_8JVZ.js} +53 -11
- package/dist/approvals-CnE_8JVZ.js.map +1 -0
- package/dist/{auth-CDDNbEmd.js → auth-BG2rVKSt.js} +2 -2
- package/dist/{auth-CDDNbEmd.js.map → auth-BG2rVKSt.js.map} +1 -1
- package/dist/chat/pure.d.ts +24 -8
- package/dist/chat/pure.d.ts.map +1 -1
- package/dist/chat/pure.js +248 -3
- package/dist/chat/pure.js.map +1 -0
- package/dist/chat.d.ts +6 -6
- package/dist/chat.js +4 -4
- package/dist/contexts/daytona.d.ts +1 -1
- package/dist/contexts/e2b.d.ts +1 -1
- package/dist/daemon-cli.js +1 -1
- package/dist/eval.d.ts +1 -1
- package/dist/extensions.d.ts +2 -2
- package/dist/extensions.js +1 -1
- package/dist/headless.d.ts +1 -1
- package/dist/headless.js +1 -1
- package/dist/{index-dXnPmqFx.d.ts → index-BgN1T3lk.d.ts} +342 -109
- package/dist/index-BgN1T3lk.d.ts.map +1 -0
- package/dist/{index-C45NxBZm.d.ts → index-CWHSTD2Q.d.ts} +5 -5
- package/dist/{index-C45NxBZm.d.ts.map → index-CWHSTD2Q.d.ts.map} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{ipc-CNRlwg7u.js → ipc-Cu29nNEz.js} +2 -2
- package/dist/{ipc-CNRlwg7u.js.map → ipc-Cu29nNEz.js.map} +1 -1
- package/dist/ipc.d.ts +5 -5
- package/dist/ipc.js +3 -3
- package/dist/mcp.d.ts +1 -1
- package/dist/output/stream-json.d.ts +1 -1
- package/dist/output/terminal.d.ts +1 -1
- package/dist/panels-B6gRk4bf.js.map +1 -1
- package/dist/plugins.d.ts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/presets.js +1 -1
- package/dist/providers/anthropic.d.ts +1 -1
- package/dist/providers/anthropic.js +1 -1
- package/dist/providers/arcee.d.ts +1 -1
- package/dist/providers/baseten.d.ts +1 -1
- package/dist/providers/cerebras.d.ts +1 -1
- package/dist/providers/local.d.ts +1 -1
- package/dist/providers/openai-compat.d.ts +1 -1
- package/dist/providers/openai.d.ts +1 -1
- package/dist/providers/openai.js +3 -2
- package/dist/providers/openai.js.map +1 -1
- package/dist/providers/openrouter.d.ts +1 -1
- package/dist/providers/xai.d.ts +1 -1
- package/dist/providers.d.ts +1 -1
- package/dist/providers.js +1 -1
- package/dist/restate.d.ts +1 -1
- package/dist/restate.js +1 -1
- package/dist/session/sqlite.d.ts +19 -2
- package/dist/session/sqlite.d.ts.map +1 -1
- package/dist/session/sqlite.js +45 -1
- package/dist/session/sqlite.js.map +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/{shell-path-Db04cLEP.js → shell-path-DWo7ooWv.js} +6 -6
- package/dist/{shell-path-Db04cLEP.js.map → shell-path-DWo7ooWv.js.map} +1 -1
- package/dist/skills.d.ts +1 -1
- package/dist/{todo-edits-PxMJvYIX.js → todo-edits-UOwgxGKu.js} +74 -13
- package/dist/todo-edits-UOwgxGKu.js.map +1 -0
- package/dist/{tool-formatters-Bl1afA8N.d.ts → tool-formatters-DoRLnfuD.d.ts} +5 -3
- package/dist/tool-formatters-DoRLnfuD.d.ts.map +1 -0
- package/dist/tools/fetch-url.d.ts +1 -1
- package/dist/tools/web-search.d.ts +1 -1
- package/dist/tools.d.ts +1 -1
- package/dist/tools.js +1 -1
- package/dist/{transcript-anchors-BfI3ZXh1.d.ts → transcript-anchors-BeudMbXx.d.ts} +12 -4
- package/dist/transcript-anchors-BeudMbXx.d.ts.map +1 -0
- package/dist/tui.d.ts +3 -3
- package/dist/tui.d.ts.map +1 -1
- package/dist/tui.js +290 -40
- package/dist/tui.js.map +1 -1
- package/dist/{turn-operations-D0x_g6XQ.d.ts → turn-operations-C8bMBDl_.d.ts} +3 -3
- package/dist/{turn-operations-D0x_g6XQ.d.ts.map → turn-operations-C8bMBDl_.d.ts.map} +1 -1
- package/dist/{turn-operations-D_k_FEur.js → turn-operations-DrbJlpq9.js} +5 -2
- package/dist/turn-operations-DrbJlpq9.js.map +1 -0
- package/dist/types.d.ts +1 -1
- package/docs/EXTENSIONS.md +1 -1
- package/docs/PANELS.md +16 -2
- package/package.json +3 -3
- package/dist/agent-B6etKd_o.js.map +0 -1
- package/dist/anthropic-BQdAnY-w.js.map +0 -1
- package/dist/approvals-CIKGWmiU.js.map +0 -1
- package/dist/index-dXnPmqFx.d.ts.map +0 -1
- package/dist/todo-edits-PxMJvYIX.js.map +0 -1
- package/dist/tool-formatters-Bl1afA8N.d.ts.map +0 -1
- package/dist/transcript-anchors-BfI3ZXh1.d.ts.map +0 -1
- package/dist/turn-operations-D_k_FEur.js.map +0 -1
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $_ as ToolHookContext, A_ as PromptPart, B_ as SessionEndStatus, Br as InteractionToolOptions, Bv as SkillConfig, C as SuccessfulMutationOutcome, Cv as ReadStateMap, D_ as PromptAudioPart, Dh as OpenRouterParams, E_ as ProgressNudgeMessage, F_ as ResolveContentRef, Fv as ToolStateView, Gv as CreateSessionOptions, H_ as SessionMessage, Hv as SkillResource, I_ as ResolveContentRefBlock, Ji as AgentHookMap, Jv as SessionData, L_ as RetryConfig, M_ as PromptVideoPart, Mv as ToolStateController, N_ as RepeatGuardConfig, Nv as ToolStateOp, O_ as PromptDocumentPart, P_ as RepeatGuardToolMatcher, Pv as ToolStateStore, Qy as McpConnection, R_ as RunHookMap, S as MutationValidationResult, Sc as SpawnToolState, Sv as ReadStateEntry, T_ as ProgressNudgeKind, U_ as SessionTurn, V_ as SessionHookContext, W_ as SpawnHookContext, Wv as SkillsConfig, Xi as AgentOptions, Xv as SessionRun, Yi as AgentHooks, Z_ as ThinkingLevel, Zh as OpenAIParams, Zi as AgentToolState, Zv as SessionStore, _ as statsByModel, _v as ToolDescriptionOverride, a_ as AgentStats, av as ToolResultImageContent, b as MutationValidationHooksOptions, b_ as McpToolHookContext, bv as ToolMap, ch as ProviderCapabilities, cv as ToolResultTextContent, dh as StreamOptions, dv as TurnUsage, ev as ToolOutcome, fv as toolOutputBudgetByteLength, gc as ChildAgent, gh as TurnResult, gv as ToolDef, h as flattenTurns, hh as ToolSpec, hv as ToolContext, i_ as AgentRunOptions, iv as ToolResultDocumentRefContent, j_ as PromptTextPart, jv as StagedToolState, k_ as PromptImagePart, l_ as ChildRunStats, lg as CerebrasParams, lv as ToolResultVideoContent, m_ as DEFAULT_AGENT_CLOCK, mh as ToolResult, mv as toolResultToText, n_ as AgentBehavior, nv as ToolResultContent, ov as ToolResultImageRefContent, p as ModelUsage, ph as ToolCall, pv as toolOutputByteLength, q_ as StreamHookContext, qi as Agent, qv as Session, r_ as AgentClock, rv as ToolResultDocumentContent, sh as Provider, sv as ToolResultMetadata, sy as RemoteStoreOptions, t as Preset, tv as ToolResultAudioContent, uh as StreamCallbacks, uv as TurnFinishReason, v as MutationValidationBatch, vg as AnthropicParams, vr as ValidationResult, vv as ToolDescriptionTarget, w_ as OAuthRefreshHookContext, x as MutationValidationMutation, xc as SpawnToolOptions, y as MutationValidationFailure, y_ as McpServerConfig, yv as ToolDescriptions, z_ as SessionContentBlock } from "./index-BgN1T3lk.js";
|
|
2
2
|
import { d as ClassifiedErrorKind, i as AgentContextExceededError, l as CONTEXT_EXCEEDED_MESSAGE_PATTERNS, n as AgentAbortedError, o as AgentProviderError, p as matchesContextExceeded, r as AgentBudgetExceededError, s as AgentToolNotAllowedError, u as ClassifiedError } from "./timeout-DEaqslLO.js";
|
|
3
3
|
import { C as TaskHandle, S as TaskExitInfo, c as ContextCapabilities, d as ContextType, f as DetachedTasksCapability, h as ExecutionHandle, l as ContextHardening, m as ExecutionContext, p as ExecResult, s as BackgroundTaskStatus, w as TaskStallInfo, x as TaskEntry, y as SpawnConfig } from "./isolation-Kfoof0MM.js";
|
|
4
4
|
import { t as SandboxProvider } from "./sandbox-BH0WQkXn.js";
|
package/docs/EXTENSIONS.md
CHANGED
|
@@ -519,7 +519,7 @@ Transforms are synchronous and fail-open — use them for cheap composition deci
|
|
|
519
519
|
ctx.registerPanel({
|
|
520
520
|
id: 'ci',
|
|
521
521
|
label: 'CI',
|
|
522
|
-
icon: { gui: 'i-
|
|
522
|
+
icon: { gui: 'i-ph-check-circle', tui: '✓' },
|
|
523
523
|
load: async () => {
|
|
524
524
|
const runs = await fetchRuns()
|
|
525
525
|
return {
|
package/docs/PANELS.md
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
# Panels
|
|
2
2
|
|
|
3
|
-
Side-panel tabs next to the transcript, in both the TUI (docked rail) and the GUI (resizable side panel). Built-
|
|
3
|
+
Side-panel tabs next to the transcript, in both the TUI (docked rail) and the GUI (resizable side panel). Built-ins: **Artifacts** (both hosts), **Diffs** and **Files** (GUI). Extensions add their own with `ctx.registerPanel`.
|
|
4
|
+
|
|
5
|
+
## Built-in tabs
|
|
6
|
+
|
|
7
|
+
| Tab | What | Host |
|
|
8
|
+
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
|
|
9
|
+
| Artifacts | What the session produced (PRs, branches, commits, recorded files); see [ARTIFACTS.md](./ARTIFACTS.md) | TUI + GUI |
|
|
10
|
+
| Diffs | Two sources: **Session** (edits the agent made, from the transcript) and **Working tree** (`git diff HEAD` plus untracked files, live). Unified / split, wrap. On working-tree diffs, selecting lines opens a review-comment draft; `Mod+Enter` attaches `file + range + fenced excerpt + note` to the prompt | GUI |
|
|
11
|
+
| Files | The session workspace as a tree with git status; opening a file shows a read-only viewer (or the editor, per the setting below) | GUI |
|
|
12
|
+
|
|
13
|
+
Diffs and Files render with [`@pierre/diffs`](https://diffs.com) and [`@pierre/trees`](https://trees.software) (Apache-2.0), themed from the `--zg-*` tokens through `gui/src/renderer/src/components/code/pierre-theme.ts`; `DiffView` / `FileView` / `FileTree` are the only places the packages are touched. Filesystem and git access is read-only, on the host at the session cwd, confined to it (`gui/src/main/chat/workspace.ts`).
|
|
14
|
+
|
|
15
|
+
### Setting: "Open files and diffs in"
|
|
16
|
+
|
|
17
|
+
`Settings.openIn`: `editor` (default) sends a clicked file or folder to `$VISUAL` / `$EDITOR` (folders too, when the editor takes them); `panel` reveals it in the Files tab. Every file, folder and artifact click in the GUI goes through one resolver (`components/panel/open-target.ts`); holding ⌘ / Ctrl flips the target for that click. The TUI has no viewer, so `panel` behaves as `editor` there.
|
|
4
18
|
|
|
5
19
|
## Model
|
|
6
20
|
|
|
@@ -10,7 +24,7 @@ A panel is data, never UI. The extension returns a JSON-safe `PanelContent`; eac
|
|
|
10
24
|
ctx.registerPanel({
|
|
11
25
|
id: "changes", // namespaced to '<extension>/changes'
|
|
12
26
|
label: "Git",
|
|
13
|
-
icon: { gui: "i-
|
|
27
|
+
icon: { gui: "i-ph-git-branch", tui: "⎇" }, // GUI icons are Phosphor: i-ph-<name>, i-ph-<name>-fill
|
|
14
28
|
load: async ({ cwd, sessionId }) => ({
|
|
15
29
|
badge: 3, // number or short string on the tab
|
|
16
30
|
sections: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zidane",
|
|
3
|
-
"version": "7.1
|
|
3
|
+
"version": "7.2.1",
|
|
4
4
|
"description": "an agent that goes straight to the goal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"typecheck": "tsc --noEmit"
|
|
280
280
|
},
|
|
281
281
|
"dependencies": {
|
|
282
|
-
"@earendil-works/pi-ai": "0.
|
|
282
|
+
"@earendil-works/pi-ai": "0.87.1",
|
|
283
283
|
"chalk": "^5.6.2",
|
|
284
284
|
"fzf": "^0.5.2",
|
|
285
285
|
"hookable": "^6.1.1",
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
"@opentui/core-linux-x64": "^0.5.3",
|
|
355
355
|
"@opentui/react": "^0.5.3",
|
|
356
356
|
"@restatedev/restate-sdk": "^1.16.5",
|
|
357
|
-
"@types/bun": "^1.
|
|
357
|
+
"@types/bun": "^1.4.0",
|
|
358
358
|
"@types/dockerode": "^4.0.1",
|
|
359
359
|
"@types/react": "19.2.18",
|
|
360
360
|
"@types/tar-stream": "^3.1.4",
|