@withtruing/companion 0.14.2 → 0.14.3

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.
@@ -174,7 +174,10 @@ export function createCompanionAttemptSourceManager(dependencies = {}) {
174
174
  const reportCleanup = dependencies.reportCleanup ?? (async () => false);
175
175
  const scheduleInterval = dependencies.setInterval ?? setInterval;
176
176
  const cancelInterval = dependencies.clearInterval ?? clearInterval;
177
- const buildsEnabled = dependencies.buildsEnabled ?? (() => process.env.WHOLE_READ_BUILDS === '1');
177
+ // On by default: Truing's server decides whether build 3 runs (its own WHOLE_READ_BUILDS switch), and a
178
+ // released connector must carry it without the user setting anything (TRUING.md §9). WHOLE_READ_BUILDS=0
179
+ // on the user's computer is an emergency off switch.
180
+ const buildsEnabled = dependencies.buildsEnabled ?? (() => process.env.WHOLE_READ_BUILDS !== '0');
178
181
  const readers = new Map();
179
182
  const activeLocations = new Set();
180
183
  const cleanupJobs = new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withtruing/companion",
3
- "version": "0.14.2",
3
+ "version": "0.14.3",
4
4
  "description": "The Truing companion: reads your code and runs AI on your own computer, for Truing.",
5
5
  "type": "module",
6
6
  "license": "MIT",