@open-mercato/cezar 0.9.1-pr666.763 → 0.9.1-pr669.765

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.
Files changed (27) hide show
  1. package/README.md +0 -2
  2. package/dist/server/server.d.ts +0 -6
  3. package/dist/server/server.js +2 -28
  4. package/dist/server/server.js.map +1 -1
  5. package/dist/workspace/config.d.ts +0 -34
  6. package/dist/workspace/config.js +0 -17
  7. package/dist/workspace/config.js.map +1 -1
  8. package/package.json +1 -1
  9. package/web/dist/assets/{compare-variants-D2aQiF7R.js → compare-variants-DFmk8ywc.js} +1 -1
  10. package/web/dist/assets/{diff-BBZnRYSb.js → diff-Cru108Ob.js} +2 -2
  11. package/web/dist/assets/{diff-view-Dq71Zbvu.js → diff-view-BxgOxwEX.js} +1 -1
  12. package/web/dist/assets/{git-toolbar-CUas1Ctw.js → git-toolbar-BZ1nFOSn.js} +1 -1
  13. package/web/dist/assets/{github-BlGcTIMi.js → github-Du7pz4J2.js} +1 -1
  14. package/web/dist/assets/index-B4FnnuuW.js +30 -0
  15. package/web/dist/assets/{index-C2MYcg0H.css → index-Lz_3un5h.css} +1 -1
  16. package/web/dist/assets/{repo-git-BVlAFkRY.js → repo-git-CNavkyoo.js} +1 -1
  17. package/web/dist/assets/{run-diff-DnLvos1T.js → run-diff-BiSarcbn.js} +1 -1
  18. package/web/dist/assets/{run-header-DTc9w4yK.js → run-header-D6xzGJKA.js} +1 -1
  19. package/web/dist/assets/{skills-DNZ9-nCa.js → skills-CdOeKVl2.js} +1 -1
  20. package/web/dist/assets/{task-changes-rjYCJ4Zm.js → task-changes-CslPVfgB.js} +1 -1
  21. package/web/dist/assets/{task-commits-ZMIG1X-m.js → task-commits-C2x9rub7.js} +1 -1
  22. package/web/dist/assets/{task-files-Dp0S3r8a.js → task-files-7MynyZiE.js} +1 -1
  23. package/web/dist/assets/{task-thread-d03mlj3n.js → task-thread-CYCrBbsQ.js} +1 -1
  24. package/web/dist/assets/{use-desktop-k00RHcKE.js → use-desktop-VJlEigWx.js} +1 -1
  25. package/web/dist/assets/{workflows-D5yi0BsE.js → workflows-BAV3iIVz.js} +1 -1
  26. package/web/dist/index.html +2 -2
  27. package/web/dist/assets/index-BzSnaFpC.js +0 -30
package/README.md CHANGED
@@ -435,8 +435,6 @@ Useful environment variables:
435
435
  | `CEZ_BROWSE_ROOT=~/` | Default root for **Add project → Open local folder…**. The picker cannot navigate above it; a saved workspace value overrides the environment default and must name an existing folder. |
436
436
  | `CEZ_PROJECTS_DIR=~/cezar/projects` | Default destination for **Clone from GitHub**. Saved workspace settings override it, and missing directories are created recursively. |
437
437
  | `CEZ_SKILLS_AUTO_UPDATE=0` | Disable automatic checks and updates for upstream-CLI-tracked Open Mercato skill installations. On by default; a saved global Skills setting overrides this environment default. Checks are delayed, bounded, cached, and non-blocking. |
438
- | `CEZ_AUTONOMOUS_DEFAULT=0` | Seed the New Task Autonomous default (`0` or `1`). Without a seed, skills default on and workflows off; a saved global Resources setting overrides it. |
439
- | `CEZ_WORKTREE_DEFAULT=1` | Seed the New Task Worktree default (`0` or `1`). Without a seed, eligible runs default on; a saved global Resources setting overrides it. |
440
438
  | `CEZ_SINGLE_PROJECT=1` | Opt into a launch-project-only cockpit: only the exact value `1` enables it. Project add, edit, checkout, folder browsing, and removal are refused and only the launch project is shown. Off by default; stored registry rows are retained, so unsetting it and restarting restores the full multi-project workspace without migration or data loss. |
441
439
  | `GITHUB_TOKEN` | Fallback for GitHub reads/PRs when `gh` isn't authenticated. |
442
440
  | `CEZ_ENV_PASSTHROUGH=A,B` | Forward these extra host env vars to spawned agents. By default agents get a least-privilege env (safe shell/toolchain vars + the backend's own auth + `GITHUB_TOKEN` + `CEZ_*`), not your full environment — use this to add a var an agent needs. |
@@ -162,12 +162,6 @@ export interface WorkspaceConfigResponse {
162
162
  /** Stored override; null means inherit CEZ_SKILLS_AUTO_UPDATE, then true. */
163
163
  skillsAutoUpdate: boolean | null;
164
164
  effectiveSkillsAutoUpdate: boolean;
165
- composerDefaults: {
166
- autonomous: boolean | null;
167
- worktree: boolean | null;
168
- inheritedAutonomous: boolean | 'source-dependent';
169
- inheritedWorktree: boolean;
170
- };
171
165
  resources: {
172
166
  maxParallel: number;
173
167
  maxMonitoringSessions: number;
@@ -31,7 +31,7 @@ import { gatedSkillsRepos, loadConfig, resolveWorktreeRetention } from '../confi
31
31
  import { findConfigFile } from '../agent-config/catalog.js';
32
32
  import { readConfigFile, writeConfigFile } from '../agent-config/files.js';
33
33
  import { listAgentConfig } from '../agent-config/service.js';
34
- import { PROJECT_ID_RE, defaultWorkspaceConfig, effectiveSkillsAutoUpdate, loadWorkspaceConfig, mergeWriteWorkspaceConfig, effectiveComposerDefault, } from '../workspace/config.js';
34
+ import { PROJECT_ID_RE, defaultWorkspaceConfig, effectiveSkillsAutoUpdate, loadWorkspaceConfig, mergeWriteWorkspaceConfig, } from '../workspace/config.js';
35
35
  import { allocateProjectSlug, listProjects, probeProjectStatus, registerProject, removeProject, shouldRegisterProject, } from '../workspace/projects.js';
36
36
  import { mergeWriteWorkspaceUiState, readWorkspaceUiState } from '../workspace/ui-state.js';
37
37
  import { checkoutRepo } from './checkout.js';
@@ -1501,16 +1501,6 @@ export function createApp(deps) {
1501
1501
  projectsDir: config.projectsDir,
1502
1502
  skillsAutoUpdate: config.skillsAutoUpdate ?? null,
1503
1503
  effectiveSkillsAutoUpdate: effectiveSkillsAutoUpdate(config),
1504
- composerDefaults: {
1505
- autonomous: config.composerDefaults.autonomous ?? null,
1506
- worktree: config.composerDefaults.worktree ?? null,
1507
- inheritedAutonomous: process.env.CEZ_AUTONOMOUS_DEFAULT === '0'
1508
- ? false
1509
- : process.env.CEZ_AUTONOMOUS_DEFAULT === '1'
1510
- ? true
1511
- : 'source-dependent',
1512
- inheritedWorktree: effectiveComposerDefault(undefined, process.env.CEZ_WORKTREE_DEFAULT, true),
1513
- },
1514
1504
  resources: {
1515
1505
  maxParallel: config.resources.maxParallel,
1516
1506
  maxMonitoringSessions: config.resources.maxMonitoringSessions,
@@ -1527,12 +1517,6 @@ export function createApp(deps) {
1527
1517
  browseRoot: z.string().trim().min(1).max(4096).optional(),
1528
1518
  projectsDir: z.string().trim().min(1).max(4096).optional(),
1529
1519
  skillsAutoUpdate: z.boolean().nullable().optional(),
1530
- composerDefaults: z
1531
- .object({
1532
- autonomous: z.boolean().nullable().optional(),
1533
- worktree: z.boolean().nullable().optional(),
1534
- })
1535
- .optional(),
1536
1520
  resources: z
1537
1521
  .object({
1538
1522
  maxParallel: z.number().int().min(1).max(16).optional(),
@@ -1548,7 +1532,7 @@ export function createApp(deps) {
1548
1532
  if (!parsed.success) {
1549
1533
  return c.json({ error: parsed.error.issues.map((i) => i.message).join('; ') }, 400);
1550
1534
  }
1551
- const { browseRoot, projectsDir, skillsAutoUpdate, composerDefaults, resources } = parsed.data;
1535
+ const { browseRoot, projectsDir, skillsAutoUpdate, resources } = parsed.data;
1552
1536
  for (const [configuredRoot, create] of [
1553
1537
  [browseRoot, false],
1554
1538
  [projectsDir, true],
@@ -1591,16 +1575,6 @@ export function createApp(deps) {
1591
1575
  delete config.skillsAutoUpdate;
1592
1576
  else if (skillsAutoUpdate !== undefined)
1593
1577
  config.skillsAutoUpdate = skillsAutoUpdate;
1594
- if (composerDefaults?.autonomous === null)
1595
- delete config.composerDefaults.autonomous;
1596
- else if (composerDefaults?.autonomous !== undefined) {
1597
- config.composerDefaults.autonomous = composerDefaults.autonomous;
1598
- }
1599
- if (composerDefaults?.worktree === null)
1600
- delete config.composerDefaults.worktree;
1601
- else if (composerDefaults?.worktree !== undefined) {
1602
- config.composerDefaults.worktree = composerDefaults.worktree;
1603
- }
1604
1578
  if (resources?.maxParallel !== undefined)
1605
1579
  config.resources.maxParallel = resources.maxParallel;
1606
1580
  if (resources?.maxMonitoringSessions !== undefined) {