@taco-ai/sidecar-win32-x64 0.3.0 → 0.3.2
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/agents/builtin/explorer.md +1 -1
- package/agents/builtin/reviewer.md +1 -1
- package/agents/builtin/verification.md +1 -1
- package/lib/index.mjs +621 -558
- package/manifest.json +3 -3
- package/package.json +1 -1
- package/skills/builtin/create-skill/SKILL.md +2 -0
- package/skills/builtin/deep-review/SKILL.md +2 -0
- package/skills/builtin/fan-out-agents/SKILL.md +2 -0
- package/skills/builtin/taco-configure/SKILL.md +42 -49
package/manifest.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sidecarVersion": "0.3.
|
|
2
|
+
"sidecarVersion": "0.3.2",
|
|
3
3
|
"nodeVersion": "22.21.1",
|
|
4
4
|
"nodePinned": "22.21.1",
|
|
5
5
|
"target": "x86_64-pc-windows-msvc",
|
|
6
|
-
"bundleSha256": "
|
|
6
|
+
"bundleSha256": "6254491f662df5f2e666d84778800924cbcc52b629a99a6df125fae0cc831c3f",
|
|
7
7
|
"runtimeSha256": "471961cb355311c9a9dd8ba417eca8269ead32a2231653084112554cda52e8b3",
|
|
8
8
|
"daemonMode": true,
|
|
9
|
-
"builtAt": "2026-10-
|
|
9
|
+
"builtAt": "2026-10-26T00:56:58.229Z"
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: create-skill
|
|
3
3
|
description: Use when creating a new skill, adding scripts or reference files to one, editing an existing skill's behavior, or troubleshooting why a skill isn't loading or triggering.
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0.0"
|
|
4
6
|
---
|
|
5
7
|
|
|
6
8
|
# Creating a skill
|
|
@@ -3,6 +3,8 @@ name: deep-review
|
|
|
3
3
|
description: Use when reviewing a change too large or too interconnected for one pass — many files, several modules, or high blast radius. Dispatches 2-5 `reviewer` subagents in a single turn, each carrying a different lens (concern, module, or role), then cross-checks their findings against each other and the actual files and synthesizes one ranked review. Optionally pairs with `verification` to empirically settle testable claims. Inline only.
|
|
4
4
|
runAs: inline
|
|
5
5
|
inlineOnly: true
|
|
6
|
+
metadata:
|
|
7
|
+
version: "1.0.0"
|
|
6
8
|
---
|
|
7
9
|
|
|
8
10
|
# Deep Review
|
|
@@ -3,6 +3,8 @@ name: fan-out-agents
|
|
|
3
3
|
description: Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies. Dispatches one `agent` tool call per problem domain inside a single turn so each spawns its own sub-session and they execute concurrently. Inline only — must not be loaded as a subagent skill.
|
|
4
4
|
runAs: inline
|
|
5
5
|
inlineOnly: true
|
|
6
|
+
metadata:
|
|
7
|
+
version: "1.0.0"
|
|
6
8
|
---
|
|
7
9
|
|
|
8
10
|
# Fan-Out Agents
|
|
@@ -1,19 +1,46 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: taco-configure
|
|
3
3
|
description: Use when modifying taco configuration — creating or installing skills or agents, editing $TACO_HOME/taco.json (default model, providers, channels, MCP servers, instructions, command permissions), or downloading remote skills. For skill authoring alone, prefer the `create-skill` skill.
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.1.0"
|
|
4
6
|
---
|
|
5
7
|
|
|
6
8
|
# Configuring taco
|
|
7
9
|
|
|
8
|
-
`create-skill` covers skill authoring in depth. This skill is the umbrella for everything else: skill install from a URL, agent authoring, and patches to the global config
|
|
10
|
+
`create-skill` covers skill authoring in depth. This skill is the umbrella for everything else: skill install from a URL, agent authoring, and patches to the global config. Reach for it when the ask crosses more than one of those surfaces, or when the change touches global state rather than a single SKILL.md.
|
|
9
11
|
|
|
10
12
|
## Read first
|
|
11
13
|
|
|
12
14
|
Before writing anything, find out what's already there. State lives in three places:
|
|
13
15
|
|
|
14
16
|
- **Skills and agents** — read the directories directly. `$TACO_HOME/skills/`, `~/.claude/skills/`, `~/.pi/skills/`, `<cwd>/.taco/skills/`, and `<sidecar>/skills/builtin/` (read-only — never write here). Same set under `agents/` instead of `skills/`.
|
|
15
|
-
- **Global config** —
|
|
16
|
-
- **Desktop settings panes** — channel bindings and MCP servers live partly in
|
|
17
|
+
- **Global config** — read it with the `configGet` tool (see below).
|
|
18
|
+
- **Desktop settings panes** — channel bindings and MCP servers live partly in the config file and partly in the desktop app's binding state. The file is what the sidecar loads; the UI may have secrets in memory not yet written back.
|
|
19
|
+
## Global config: use the config tools
|
|
20
|
+
|
|
21
|
+
Two deferred tools, not the filesystem:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
addTools("configGet") → read the current config (secrets come back masked)
|
|
25
|
+
addTools("configPatch") → change it (the user approves each change)
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Load them with `addTools` first — they are not resident, so they are not in the tool list until then. Both work only in a local desktop session: unavailable in an IM conversation, and in a subagent.
|
|
29
|
+
|
|
30
|
+
`configGet` masks every secret: API keys show as "configured" but never their value; MCP `env`/`headers`/`command`/`args`/`url` and channel `config` are omitted. A stored key can be confirmed present, never read back. Never read `~/.taco/taco.json` with the `read` tool — it holds API keys in plaintext, and reading it puts them in the conversation.
|
|
31
|
+
|
|
32
|
+
`configPatch` takes a `patch` with only the fields to change; the rest keep their value. The user sees a prompt listing the changed fields and must approve before anything is written. The `allow` / `deny` arrays are **replaced wholesale**, not merged — send the complete list. Schema: `TacoGlobalConfigShape` in `packages/protocol/src/config.ts`.
|
|
33
|
+
|
|
34
|
+
Accepted fields:
|
|
35
|
+
|
|
36
|
+
- `defaultModel` / `defaultProvider` — single strings; no restart needed if hot-reload picks it up.
|
|
37
|
+
- `systemPrompt` — free text. Quote carefully if it contains newlines or colons.
|
|
38
|
+
- `thinkingLevel` — `"off" | "minimal" | "low" | "medium" | "high" | "xhigh"`.
|
|
39
|
+
- `compaction` — `{ enabled, threshold }` with threshold in 0–1.
|
|
40
|
+
- `commandPermissions` — `{ mode: "ask" | "auto", allow?: string[], deny?: string[] }`. Glob patterns; deny wins and asks. Unmatched commands ask in `ask`, pass in `auto`. Built-in high-risk commands, parse failures and unauthorized `cd` always ask.
|
|
41
|
+
- `instructions` — `{ enabled: boolean, files: { claudeMd?: boolean, agentsMd?: boolean, designMd?: boolean }, inheritToSubagents: boolean }`.
|
|
42
|
+
|
|
43
|
+
**Secrets cannot be set through these tools.** `configPatch` rejects API keys, MCP servers, and channels, because their secret fields are masked on read and a partial write would erase them. When the ask involves one of those — `customProviders` (array of `{ id, name, api, baseUrl, models: [{ id }] }`, `api` is `"chatcomplete"` for OpenAI-compatible endpoints), `mcpServers` (array of `{ id, transport, enabled, command?, args?, url?, env?, alwaysLoaded? }`, `transport` is `"stdio" | "http"`, `alwaysLoaded` lists tool names always in the toolset), or `channels` (array of `{ channelId, manifest: { name, version }, config }`, `channelId` must match `/^[a-z0-9][a-z0-9-]*$/`, credentials live separately at `$TACO_HOME/channels/<channelId>.json`) — stop and point the user at the desktop settings pane. That path writes the secret without echoing it back.
|
|
17
44
|
|
|
18
45
|
## Skills: directory choice
|
|
19
46
|
|
|
@@ -26,9 +53,7 @@ Four user-writable directories in priority order (first match by name wins):
|
|
|
26
53
|
|
|
27
54
|
Default to **global** (option 2) when the user hasn't specified. Use `askUser` with `scope` as the header when ambiguous — Global first, Project-local second. Never write to `<sidecar>/skills/builtin/` — it ships with taco and is overwritten by upgrades.
|
|
28
55
|
|
|
29
|
-
`write` reaches the workspace and `$TACO_HOME/{skills,agents}/` (local only); elsewhere needs user-approved `shell`.
|
|
30
|
-
|
|
31
|
-
New skills only show up in `<available_skills>` after a new session (the system prompt is frozen at boot); the directory itself hot-reloads in ~300ms. For body composition, frontmatter keys, scripts-vs-body tradeoffs, and `runAs` / `inlineOnly` choices, defer to the `create-skill` skill.
|
|
56
|
+
`write` reaches the workspace and `$TACO_HOME/{skills,agents}/` (local only); elsewhere needs user-approved `shell`. New skills only show up in `<available_skills>` after a new session (the system prompt is frozen at boot); the directory itself hot-reloads in ~300ms. For body composition, frontmatter keys, scripts-vs-body tradeoffs, and `runAs` / `inlineOnly` choices, defer to the `create-skill` skill.
|
|
32
57
|
|
|
33
58
|
## Agents: directory choice and layout
|
|
34
59
|
|
|
@@ -39,60 +64,28 @@ Agents live in `*.md` files in one of four user-writable directories (last-wins
|
|
|
39
64
|
3. `$TACO_HOME/agents/` (default `~/.taco/agents/`)
|
|
40
65
|
4. `<cwd>/.taco/agents/` — highest priority; project-local wins
|
|
41
66
|
|
|
42
|
-
Default to **global** (option 3) for personal agents. Use project-local only when the agent is bound to this repo's conventions. File name should match the `name` frontmatter so it's greppable.
|
|
67
|
+
Default to **global** (option 3) for personal agents. Use project-local only when the agent is bound to this repo's conventions. Use `askUser` with `scope` as the header when ambiguous — Global first, Project-local second. In an IM conversation there is no project directory, so write global only. File name should match the `name` frontmatter so it's greppable.
|
|
43
68
|
|
|
44
|
-
|
|
69
|
+
A project-local agent shadows a global one of the same name for this workspace only; check both directories first and tell the user when a copy would be shadowed.
|
|
45
70
|
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
name: explorer
|
|
49
|
-
description: Read-only codebase search specialist.
|
|
50
|
-
whenToUse: "Use when the task is to find, search, locate, or trace code."
|
|
51
|
-
tools: [read, grep, glob, shell]
|
|
52
|
-
maxTurns: 30
|
|
53
|
-
context: independent # or "fork" — gives the subagent this conversation's transcript
|
|
54
|
-
---
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
`fewShots` is also supported: a YAML list of `{ user, assistant }` pairs injected ahead of the body to demonstrate the contract. Required: `name`, `description`. `whenToUse` is preferred over `description` — `agent` tool's hint block surfaces `whenToUse` when the model is choosing a subagent.
|
|
58
|
-
|
|
59
|
-
## Remote skill install
|
|
60
|
-
|
|
61
|
-
The user points at a URL. Three common shapes:
|
|
71
|
+
Frontmatter (all keys taco reads; pi loads with these but ignores unknowns): `name`, `description`, `whenToUse`, `tools` (a whitelist of tool names), `maxTurns`, `context` (`independent`, or `fork` to give the subagent this conversation's transcript), `runtime`, `permissionMode`, `cwd`, and `fewShots` — a YAML list of `{ user, assistant }` pairs injected ahead of the body to demonstrate the contract.
|
|
62
72
|
|
|
63
|
-
|
|
64
|
-
- **A path inside a repo** — `https://github.com/<owner>/<repo>/tree/<ref>/<path>` — fetch the tarball (`curl -L | tar -xz -C <staging>`) and copy only the named directory.
|
|
65
|
-
- **A bare tarball or git URL** — same flow, treat the unpacked root as the candidate.
|
|
73
|
+
`name` and `description` are required; `whenToUse` is preferred over `description` — the `agent` tool's hint block surfaces `whenToUse` when the model is choosing a subagent.
|
|
66
74
|
|
|
67
|
-
|
|
75
|
+
A `runtime: claude-code` agent takes `cwd`: the absolute directory it always runs in, fixed when the definition is written. Pick the workspace directory or one of its associated directories, and ask the user which one when it is not obvious. Omitted = the calling workspace's directory. The path applies from every workspace that calls the agent, so a global agent with a `cwd` sends every caller — IM conversations included — into that directory; say so to the user before writing one.
|
|
68
76
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
## Patching `$TACO_HOME/taco.json`
|
|
72
|
-
|
|
73
|
-
The file is JSON. Read it, merge the changed fields, and write the full result back via `shell` (temp file + `mv`); partial writes drop fields. Permissions stay `0600`.
|
|
74
|
-
|
|
75
|
-
Schema: `TacoGlobalConfigShape` in `packages/protocol/src/config.ts`. The masked IPC view (`TacoGlobalConfigView`) strips `anthropicApiKey`, `openaiApiKey`, `apiKeys.*`, `mcpServers[i].{env,headers,command,args,url,cwd}`, and `channels[i].config` — disk keeps plaintext, only IPC frames mask.
|
|
77
|
+
## Remote skill install
|
|
76
78
|
|
|
77
|
-
|
|
79
|
+
The user points at a URL. Three shapes: a public GitHub repo with a top-level `SKILL.md` (`git clone --depth 1`, then move `SKILL.md` into `<target>/<repoName>/`), a path inside a repo (fetch the tarball with `curl -L | tar -xz -C <staging>`, copy the named directory), or a bare tarball or git URL (same flow, treat the unpacked root as the candidate).
|
|
78
80
|
|
|
79
|
-
- `
|
|
80
|
-
- `systemPrompt` — free text. Quote carefully if it contains newlines or colons.
|
|
81
|
-
- `thinkingLevel` — `"off" | "minimal" | "low" | "medium" | "high" | "xhigh"`.
|
|
82
|
-
- `compaction` — `{ enabled: boolean, threshold: number (0–1) }`.
|
|
83
|
-
- `customProviders` — array of `{ id, name, api, baseUrl, models: [{ id }] }`. `api` is `"chatcomplete"` for OpenAI-compatible endpoints.
|
|
84
|
-
- `mcpServers` — array of `{ id, transport, enabled, command?, args?, url?, env?, alwaysLoaded? }`. `transport` is `"stdio" | "http"`. `alwaysLoaded` is an array of tool names that should always be in the toolset (skip lazy discovery).
|
|
85
|
-
- `channels` — array of `{ channelId, manifest: { name, version }, config: Record<string, unknown> }`. `channelId` must match `/^[a-z0-9][a-z0-9-]*$/`. Channel credentials live separately at `$TACO_HOME/channels/<channelId>.json` under the SDK's own key — don't write secrets into `taco.json`.
|
|
86
|
-
- `commandPermissions` — `{ mode: "ask" | "auto", allow?: string[], deny?: string[] }`. Glob patterns; deny wins and asks. Unmatched commands ask in `ask`, pass in `auto`. Built-in high-risk commands (force delete/push, publish, uploads), parse failures and unauthorized `cd` always ask.
|
|
87
|
-
- `instructions` — `{ enabled: boolean, files: { claudeMd?: boolean, agentsMd?: boolean, designMd?: boolean }, inheritToSubagents: boolean }`.
|
|
88
|
-
- `extensions` / `disabledExtensions` — arrays of extension package names.
|
|
81
|
+
Stage into `mktemp -d` to keep the workspace clean, then copy just the skill directory into the target. Validate `name` + `description` in frontmatter before writing. If a higher-priority directory already has a skill with the same `name`, warn — first-wins means the new copy will be shadowed.
|
|
89
82
|
|
|
90
|
-
|
|
83
|
+
Ask for the target directory with the same `scope` question used for local creation.
|
|
91
84
|
|
|
92
85
|
## The loop
|
|
93
86
|
|
|
94
|
-
1. Read what's there —
|
|
87
|
+
1. Read what's there — the config via `configGet`, the candidate skill/agent directories, any same-named entry that would be shadowed.
|
|
95
88
|
2. Confirm scope and target with `askUser` when ambiguous — no narration.
|
|
96
|
-
3. Make the change. Skills/agents: write the file. `
|
|
89
|
+
3. Make the change. Skills/agents: write the file. Config: `configPatch`. Remote install: stage, validate, copy.
|
|
97
90
|
4. Verify on a new session. Tell the user to start one before reporting a regression.
|
|
98
91
|
5. If something doesn't load, read the sidecar log or ask what the SkillsPane diagnostics show — a missing or empty `description` is the most common reason a skill silently fails to load.
|