@taco-ai/sidecar-win32-x64 0.2.7 → 0.2.9

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/manifest.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
- "sidecarVersion": "0.2.7",
2
+ "sidecarVersion": "0.2.9",
3
3
  "nodeVersion": "22.21.1",
4
4
  "nodePinned": "22.21.1",
5
5
  "target": "x86_64-pc-windows-msvc",
6
- "bundleSha256": "ea3b6b7bb50295a9e9c58080fb6b5a27090bc5dba14de43f702ad4035d061bf6",
6
+ "bundleSha256": "e640906e997cb83f015f05bae57efc177b549de5ae96221c79e81a9551a7c87e",
7
7
  "runtimeSha256": "471961cb355311c9a9dd8ba417eca8269ead32a2231653084112554cda52e8b3",
8
8
  "daemonMode": true,
9
- "builtAt": "2026-09-22T18:59:30.774Z"
9
+ "builtAt": "2026-10-15T16:10:25.726Z"
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taco-ai/sidecar-win32-x64",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Taco sidecar Node runtime for win32 x64",
5
5
  "type": "module",
6
6
  "os": [
@@ -89,7 +89,7 @@ State what is out of scope too. A reviewer told only "review the auth change" wi
89
89
 
90
90
  ### 5. Dispatch in one turn
91
91
 
92
- Issue every `agent` call in the same assistant message. The `agent` tool is `executionMode: parallel`, so the harness runs the batch concurrently:
92
+ Issue every `agent` call in the same assistant message. The harness runs every tool call in one turn concurrently:
93
93
 
94
94
  ```text
95
95
  agent(subagent_type=reviewer, context=fork, description="architecture lens", prompt="...")
@@ -98,7 +98,7 @@ agent(subagent_type=reviewer, context=independent, description="ripple lens",
98
98
  agent(subagent_type=reviewer, context=fork, description="UX lens", prompt="...")
99
99
  ```
100
100
 
101
- > **Keep the batch pure.** If any call in the turn is a sequential tool (most write tools, `askUser`, `planEnter`/`planExit`), the harness degrades the **whole batch** to sequential and you lose the concurrency. Do sequential prerequisites — including the Step 1 `git diff` — in an earlier turn.
101
+ > **Prerequisites go in an earlier turn.** Calls in the same turn start together with no ordering between them, so a prerequisite placed here races the reviewers it was meant to feed. Do them — including the Step 1 `git diff` — in an earlier turn.
102
102
 
103
103
  > **Reviewers cannot fan out further.** The `agent` tool is removed at depth ≥ 1, so a reviewer cannot spawn sub-reviewers. All dispatch happens from here.
104
104
 
@@ -65,7 +65,7 @@ Match the subagent type by capability, not by tool overlap. The harness enforces
65
65
  - `explorer` — read-only search/tracing; **cannot modify files** (right for diagnosis: read code, summarise findings)
66
66
  - `verification` — adversarial tester; runs builds, tests, checks; returns PASS/FAIL/PARTIAL verdict
67
67
 
68
- If neither built-in matches, list available types via the system-prompt `tool_summary` block (see `agents.list` RPC) — user-defined `.taco/agents/<name>.md` entries appear there too.
68
+ If neither built-in matches, list available types via the system prompt's `<available_agents>` block — user-defined `.taco/agents/<name>.md` entries appear there too.
69
69
 
70
70
  ### 3. Compose Self-Contained Prompts
71
71
 
@@ -79,7 +79,7 @@ Each subagent gets:
79
79
 
80
80
  ### 4. Dispatch in One Turn
81
81
 
82
- Issue all `agent` calls in the same assistant message. The harness detects every call's `executionMode` and runs `Promise.all` over the batch when none are `sequential`:
82
+ Issue all `agent` calls in the same assistant message. The harness runs every tool call in one turn concurrently:
83
83
 
84
84
  ```text
85
85
  agent(subagent_type=explorer, description="...", prompt="...") # tc-1
@@ -88,7 +88,7 @@ agent(subagent_type=explorer, description="...", prompt="...") # tc-3
88
88
  # All three spawn concurrently. Your turn does not serialise them.
89
89
  ```
90
90
 
91
- > **Important — keep the batch pure.** If even one call in the same turn is a `sequential` tool (most write tools, askUser, planEnter/planExit), the harness degrades the **entire batch** to sequential. If you need a sequential prerequisite, do it in the **previous** turn so the fan-out batch stays pure.
91
+ > **Important — prerequisites go in an earlier turn.** Calls in the same turn start together with no ordering between them. If the subagents need something done first (a `git diff` to paste in, a file written), do it in the **previous** turn — a prerequisite placed in the fan-out turn races the agents it was meant to feed.
92
92
 
93
93
  > **Important — `parentToolCallId` is unique per call.** Each `agent` invocation carries a different `toolCallId`, so the harness routes every subagent's `subagent.spawned` push and live `session.event` stream to the right card on the desktop. You do not need to coordinate IDs.
94
94
 
@@ -143,7 +143,7 @@ Return: a short summary of root cause and the changes you made (file paths + one
143
143
  **❌ Vague output:** "Fix it" — you do not know what changed.
144
144
  **✅ Specific:** "Return summary of root cause and changes" — concrete deliverable.
145
145
 
146
- **❌ Mixing execution modes in one batch:** adding one `edit` (sequential) call alongside three `agent` (parallel) calls makes the whole batch sequential — you lose the speedup. Keep parallel-only batches together.
146
+ **❌ Putting a prerequisite in the fan-out turn:** an `edit` or `shell` call issued alongside three `agent` calls does not run first — all four start together, so the agents may read the file before the edit lands. Do the prerequisite in an earlier turn.
147
147
 
148
148
  ## When NOT to Use
149
149
 
@@ -26,6 +26,8 @@ Four user-writable directories in priority order (first match by name wins):
26
26
 
27
27
  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
28
 
29
+ `write` reaches the workspace and `$TACO_HOME/{skills,agents}/` (local only); elsewhere needs user-approved `shell`.
30
+
29
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.
30
32
 
31
33
  ## Agents: directory choice and layout
@@ -68,7 +70,7 @@ Ask the user for the target directory with the same `scope` question used for lo
68
70
 
69
71
  ## Patching `$TACO_HOME/taco.json`
70
72
 
71
- The file is JSON. Read it, build a partial object with only the changed fields, write back atomically (use `write` only after a full read — partial writes drop untouched fields). Permissions stay `0600`.
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`.
72
74
 
73
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.
74
76
 
@@ -81,7 +83,7 @@ Common patches:
81
83
  - `customProviders` — array of `{ id, name, api, baseUrl, models: [{ id }] }`. `api` is `"chatcomplete"` for OpenAI-compatible endpoints.
82
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).
83
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`.
84
- - `commandPermissions` — `{ mode: "ask" | "allowlist", rules: string[] }`. Rules are glob-shaped patterns the sidecar evaluates against shell commands.
86
+ - `commandPermissions` — `{ mode: "ask" | "auto", rules: string[] }`. Rules are glob-shaped patterns the sidecar evaluates against shell commands. `auto` additionally runs strictly read-only commands without prompting; any other mode value is silently treated as `ask`.
85
87
  - `instructions` — `{ enabled: boolean, files: { claudeMd?: boolean, agentsMd?: boolean, designMd?: boolean }, inheritToSubagents: boolean }`.
86
88
  - `extensions` / `disabledExtensions` — arrays of extension package names.
87
89