@polderlabs/bizar 10.4.0 → 10.4.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.
@@ -78,10 +78,6 @@ import { createAuditRouter } from './routes/audit.mjs';
78
78
  // Pillar D — Self-learning: GET /api/decisions returns decisions log + tamper status.
79
79
  import { createDecisionsRouter } from './routes/decisions.mjs';
80
80
  import { attachUserContext } from './auth.mjs';
81
- // Sprint S10 — v8 dashboard live data. /api/goals parses .bizar/PROGRESS.md;
82
- // /api/cc-agents exposes `claude agents --json` enriched with worktree + counts.
83
- import { createGoalsRouter } from './routes/goals.mjs';
84
- import { createCCAgentsRouter } from './routes/agents-cc.mjs';
85
81
 
86
82
  /**
87
83
  * @param {object} deps
@@ -9,6 +9,7 @@
9
9
  */
10
10
  import { existsSync, readFileSync } from 'node:fs';
11
11
  import { join } from 'node:path';
12
+ import express from 'express';
12
13
  import { wrap } from './_shared.mjs';
13
14
 
14
15
  /**
@@ -17,7 +18,7 @@ import { wrap } from './_shared.mjs';
17
18
  * @returns {import('express').Router}
18
19
  */
19
20
  export function createAuditRouter({ projectRoot }) {
20
- const router = require('express').Router();
21
+ const router = express.Router();
21
22
  const LATEST = join(projectRoot, '.harness', 'audit', 'latest.json');
22
23
 
23
24
  router.get('/audit', wrap(async (_req, res) => {
package/cli/provision.mjs CHANGED
@@ -928,3 +928,11 @@ if (import.meta.url === `file://${process.argv[1]}`) {
928
928
  process.exit(1);
929
929
  });
930
930
  }
931
+
932
+ // Back-compat alias — v10.0.0 historical API. 'bizar update' historically
933
+ // called `runUpdate(args)`; we collapsed install + update onto
934
+ // `runProvision({ mode: 'update', ... })`. Keep `runUpdate` importable so
935
+ // `cli/commands/install.mjs` (which still uses the historical signature)
936
+ // works without modification.
937
+ export const runUpdate = (subargs, opts = {}) =>
938
+ runProvision({ ...opts, mode: 'update', subargs });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polderlabs/bizar",
3
- "version": "10.4.0",
3
+ "version": "10.4.2",
4
4
  "description": "Norse-pantheon multi-agent system for Claude Code — 14 agents across 4 cost tiers with cost-aware routing, plans, and a configurable agent harness. Ships as a single npm package with the dashboard server, Claude Code MCP server, and typed SDK.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polderlabs/bizar-sdk",
3
- "version": "10.4.0",
3
+ "version": "10.4.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",