@taco-ai/sidecar-win32-x64 0.4.2 → 0.4.4
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/lib/codexCommunicationBridge.mjs +12 -12
- package/lib/index.mjs +603 -589
- package/manifest.json +4 -4
- package/package.json +1 -1
- package/skills/builtin/taco-configure/SKILL.md +42 -48
package/manifest.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sidecarVersion": "0.4.
|
|
2
|
+
"sidecarVersion": "0.4.4",
|
|
3
3
|
"nodeVersion": "22.21.1",
|
|
4
4
|
"nodePinned": "22.21.1",
|
|
5
5
|
"target": "x86_64-pc-windows-msvc",
|
|
6
|
-
"bundleSha256": "
|
|
7
|
-
"codexCommunicationBridgeSha256": "
|
|
6
|
+
"bundleSha256": "d8987a52a1263397f8b67ca3588f271773795fac781d77af07f7b04bd3448322",
|
|
7
|
+
"codexCommunicationBridgeSha256": "74cce320872c030bcd1d801acf5982447f3407d4d946bbc8044c92b06f48c076",
|
|
8
8
|
"runtimeSha256": "471961cb355311c9a9dd8ba417eca8269ead32a2231653084112554cda52e8b3",
|
|
9
9
|
"daemonMode": true,
|
|
10
|
-
"builtAt": "2026-11-
|
|
10
|
+
"builtAt": "2026-11-25T19:15:03.916Z"
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,91 +1,85 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: taco-configure
|
|
3
|
-
description: Use when
|
|
3
|
+
description: Use when changing the application's own setup — installing a skill from a URL, writing an agent definition, or editing the global config (default model, thinking level, system prompt, instructions, command permissions). For authoring a new skill from scratch, prefer the `create-skill` skill.
|
|
4
4
|
metadata:
|
|
5
|
-
version: "1.
|
|
5
|
+
version: "1.2.0"
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
# Configuring
|
|
8
|
+
# Configuring the application
|
|
9
9
|
|
|
10
|
-
`create-skill` covers skill
|
|
10
|
+
`create-skill` covers writing a skill from scratch. This skill covers the rest: installing a skill someone else wrote, defining agents, and patching the global config. Reach for it when the ask touches global state rather than one SKILL.md.
|
|
11
11
|
|
|
12
12
|
## Read first
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
- **Global config** — read it with the `configGet` tool (below).
|
|
15
|
+
- **Skills and agents** — the resolved skill search paths are in the `skill` tool's description; read them there rather than guessing, they depend on `TACO_HOME` and the workspace. The agent directories are listed in the Agents section below.
|
|
16
|
+
- **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 hold secrets it has not written back yet.
|
|
15
17
|
|
|
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/`.
|
|
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
18
|
## Global config: use the config tools
|
|
20
19
|
|
|
21
|
-
Two deferred tools,
|
|
20
|
+
Two deferred tools, listed in the system prompt's `<deferred_tools>` section:
|
|
22
21
|
|
|
23
22
|
```
|
|
24
|
-
addTools("configGet"
|
|
25
|
-
addTools("configPatch") → change it (the user approves each change)
|
|
23
|
+
addTools({ toolNames: "configGet,configPatch" })
|
|
26
24
|
```
|
|
27
25
|
|
|
28
|
-
Load them
|
|
26
|
+
Load them before use — they are not resident, so they are absent from the tool list until then. Both work only in a local desktop session: an IM conversation is driven by a third party, and a subagent runs without the user watching.
|
|
29
27
|
|
|
30
|
-
`configGet`
|
|
28
|
+
`configGet` returns the masked config. A stored key comes back as `{ configured: true, mask: "sk-ant-…AbCd" }` — you can confirm it is set and see a few characters of it, never read it back. MCP servers and channels are dropped from the response entirely. Provider entries are visible; their keys live in `apiKeys` and are masked there. Never read the config file with the `read` tool: it holds API keys in plaintext, and reading it puts them in the conversation.
|
|
31
29
|
|
|
32
|
-
`configPatch` takes a `patch`
|
|
30
|
+
`configPatch` takes a `patch` naming only the fields to change; everything else keeps its value. The user sees a prompt naming the changed fields and must approve before anything is written.
|
|
33
31
|
|
|
34
|
-
Accepted fields:
|
|
32
|
+
Accepted fields — this is the whole list:
|
|
35
33
|
|
|
36
|
-
- `defaultModel` / `defaultProvider` — single strings
|
|
37
|
-
- `systemPrompt` — free text.
|
|
38
|
-
- `thinkingLevel` — `"off" | "minimal" | "low" | "medium" | "high" | "xhigh"`.
|
|
39
|
-
- `compaction` — `{ enabled
|
|
40
|
-
- `
|
|
41
|
-
- `
|
|
34
|
+
- `defaultModel` / `defaultProvider` — single strings.
|
|
35
|
+
- `systemPrompt` — free text.
|
|
36
|
+
- `thinkingLevel` — `"off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max"`.
|
|
37
|
+
- `compaction` — `{ enabled?, threshold? }`; threshold is 0.1–0.95.
|
|
38
|
+
- `instructions` — `{ enabled?, files?: { claudeMd?, agentsMd?, designMd? }, inheritToSubagents? }`. A nested merge: naming one file leaves the others alone.
|
|
39
|
+
- `commandPermissions` — `{ mode?: "ask" | "auto", allow?: string[], deny?: string[] }`. Glob patterns; deny wins and asks. Unmatched commands ask in `ask` mode and pass in `auto`. Built-in high-risk commands, parse failures and unauthorized `cd` always ask.
|
|
42
40
|
|
|
43
|
-
|
|
41
|
+
`allow` / `deny` are **replaced wholesale**, not merged — send the complete list. An omitted array keeps its value; `[]` clears it.
|
|
44
42
|
|
|
45
|
-
|
|
43
|
+
**Secrets are not settable here.** API keys, provider definitions, MCP servers, channels and the outbound `userAgent` are entered by the user in the desktop settings pane — Providers & Models for providers and request identity, the channel and MCP panes for the rest. Those paths write the secret without echoing it back. A patch naming one of these fields is refused before the user is even asked, so do not offer it as an option.
|
|
46
44
|
|
|
47
|
-
|
|
45
|
+
The `userAgent` is the identity every provider request presents, so only the user changes it (Providers & Models → Request identity). If the ask is "make the provider stop seeing this product", point them there.
|
|
48
46
|
|
|
49
|
-
|
|
50
|
-
2. `$TACO_HOME/skills/` (default `~/.taco/skills/`) — global
|
|
51
|
-
3. `~/.claude/skills/`
|
|
52
|
-
4. `~/.pi/skills/`
|
|
47
|
+
The `productName` field sets the assistant’s name in its prompts. Ask the user to edit `$TACO_HOME/taco.json` and restart the sidecar. There is no desktop setting for this field, and `configPatch` cannot change it.
|
|
53
48
|
|
|
54
|
-
|
|
49
|
+
## Skills: where to put one
|
|
55
50
|
|
|
56
|
-
|
|
51
|
+
Skills resolve first-match-by-name across the search paths, so a project-local skill shadows a global one of the same name. Default to the global directory (`$TACO_HOME/skills/`, typically `~/.taco/skills/`) when the user has not said otherwise; use `askUser` with `scope` as the header when the choice matters — Global first, Project-local second. Never write to the builtin directory: it ships with the runtime and upgrades overwrite it.
|
|
57
52
|
|
|
58
|
-
|
|
53
|
+
Saving is enough — the directory is watched and the catalog reloads a moment later. If the running session's `<available_skills>` does not pick the skill up, start a new session.
|
|
59
54
|
|
|
60
|
-
|
|
55
|
+
`write` reaches the workspace and its associated directories, plus `$TACO_HOME/skills` and `$TACO_HOME/agents` for a local main session. Anywhere else needs a user-approved `shell`; `$TACO_HOME` itself is never writable, because it holds the config file.
|
|
61
56
|
|
|
62
|
-
|
|
63
|
-
2. `~/.pi/agents/`
|
|
64
|
-
3. `$TACO_HOME/agents/` (default `~/.taco/agents/`)
|
|
65
|
-
4. `<cwd>/.taco/agents/` — highest priority; project-local wins
|
|
57
|
+
For body composition, frontmatter keys, scripts-vs-body tradeoffs, and `runAs` / `inlineOnly` choices, defer to the `create-skill` skill.
|
|
66
58
|
|
|
67
|
-
|
|
59
|
+
## Agents: where to put one
|
|
68
60
|
|
|
69
|
-
|
|
61
|
+
Agents are `*.md` files, one agent per file, in one of four user directories: `~/.claude/agents/`, `~/.pi/agents/`, `$TACO_HOME/agents/` (default `~/.taco/agents/`), and `<workspace>/.taco/agents/`. Agent resolution is last-wins, the opposite of skills: a project-local agent overrides a global one of the same name for that workspace. Name the file after the `name` frontmatter so it is greppable.
|
|
70
62
|
|
|
71
|
-
|
|
63
|
+
Default to the global directory (`$TACO_HOME/agents/`) for personal agents; use the project-local one only when the agent is bound to this repo's conventions. In an IM conversation there is no project directory, so write global only. Before writing a global agent, check whether a project-local one of the same name exists — it would shadow the new copy in that workspace.
|
|
72
64
|
|
|
73
|
-
`name`
|
|
65
|
+
Frontmatter the runtime reads: `name` (the only required key), `description`, `whenToUse`, `tools` (a whitelist of tool names), `maxTurns`, `timeoutMinutes`, `context` (`independent`, or `fork` to hand the subagent this conversation's transcript), `runtime` (`standard`, `claude-code`, `codex`), `permissionMode`, `cwd`, `fewShots` (a YAML list of `{ user, assistant }` pairs injected ahead of the body), and a `codex` block of codex-runtime options.
|
|
74
66
|
|
|
75
|
-
|
|
67
|
+
`whenToUse` is a one-line hint shown in the system prompt's `<available_agents>` listing — prefer it over `description`, which is only metadata.
|
|
76
68
|
|
|
77
|
-
|
|
69
|
+
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 before writing one.
|
|
78
70
|
|
|
79
|
-
|
|
71
|
+
## Installing a skill from a URL
|
|
80
72
|
|
|
81
|
-
|
|
73
|
+
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).
|
|
82
74
|
|
|
83
|
-
|
|
75
|
+
Stage into `mktemp -d` to keep the workspace clean, then copy just the skill directory into the target. Validate `name` + `description` in the frontmatter before writing. If a higher-priority path already holds a skill with the same `name`, say so — first-match-by-name means the new copy will be shadowed.
|
|
76
|
+
|
|
77
|
+
Ask for the target with the same `scope` question used for local creation.
|
|
84
78
|
|
|
85
79
|
## The loop
|
|
86
80
|
|
|
87
|
-
1. Read what
|
|
81
|
+
1. Read what is there — the config via `configGet`, the candidate skill/agent directories, any same-named entry that would be shadowed.
|
|
88
82
|
2. Confirm scope and target with `askUser` when ambiguous — no narration.
|
|
89
83
|
3. Make the change. Skills/agents: write the file. Config: `configPatch`. Remote install: stage, validate, copy.
|
|
90
|
-
4. Verify
|
|
91
|
-
5. If something
|
|
84
|
+
4. Verify. The sidecar picks a config change up as soon as it is written, but a new default model applies to new sessions — not to the chat that asked for it. A new skill lands in `<available_skills>` after the reload; start a new session if the running one does not list it.
|
|
85
|
+
5. If something does not load, read the sidecar log or ask what the SkillsPane diagnostics show. A missing or empty `description` is the one failure that drops a skill outright, and the pane names it.
|