openclaw/package.json

90 lines
3.1 KiB
JSON
Raw Normal View History

{
2026-03-04 13:23:34 -08:00
"name": "denchclaw",
"version": "2.0.14",
2026-03-04 19:46:13 -08:00
"description": "Fully Managed OpenClaw Framework for managing your CRM, Sales Automation and Outreach agents. The only local productivity tool you need.",
2026-01-31 21:13:13 +09:00
"keywords": [],
2026-03-04 19:46:13 -08:00
"homepage": "https://github.com/DenchHQ/DenchClaw#readme",
"bugs": {
2026-03-04 19:46:13 -08:00
"url": "https://github.com/DenchHQ/DenchClaw/issues"
},
2026-01-31 21:13:13 +09:00
"license": "MIT",
2026-03-04 19:46:13 -08:00
"author": "Kumar Abhirup <kumar@dench.com>, Dench.com <support@dench.com>",
"repository": {
"type": "git",
2026-03-04 19:46:13 -08:00
"url": "git+https://github.com/DenchHQ/DenchClaw.git"
},
"bin": {
"dench": "denchclaw.mjs",
"denchclaw": "denchclaw.mjs"
},
2025-12-21 03:48:23 +01:00
"files": [
Web app: switch to Next.js standalone build for npm packaging Ship a self-contained standalone server with the npm package so `npm i -g ironclaw` can serve the web UI without runtime `npm install` or `next build`. This eliminates the fragile first-boot build step and cuts the cold-start time for the gateway web app. Changes: - next.config.ts: enable `output: "standalone"` and set `outputFileTracingRoot` to the monorepo root so pnpm workspace deps are traced correctly. Remove the now-unnecessary manual webpack externals for Node.js built-ins. - package.json: update `files` to ship only the standalone build output, static assets, and public dir (instead of the entire `apps/web/` tree). Add `web:build` and `web:prepack` to the `prepack` script so the standalone server is built and its static/public assets are copied into place before publish. Bump version to 2026.2.10-1.5. - server-web-app.ts: rewrite the web app lifecycle to prefer the pre-built standalone `server.js` in production. Add `resolveStandaloneServerJs`, `hasStandaloneBuild`, `hasLegacyNextBuild`, and `isInWorkspace` helpers. In dev workspaces, fall back to building on-the-fly or legacy `next start`. Export key functions for testability. - server-web-app.test.ts: add comprehensive unit tests covering path resolution, standalone/legacy build detection, ensureWebAppBuilt scenarios (skip, disabled, dev, standalone, legacy, missing), startWebAppIfEnabled (skip, disabled, null config, missing dir, standalone start, missing build error, default port, graceful stop). - workspace-sidebar.tsx: update sidebar branding to "Ironclaw". Published as ironclaw@2026.2.10-1.5. Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 19:03:01 -08:00
"apps/web/.next/standalone/",
"apps/web/.next/static/",
"apps/web/public/",
"LICENSE",
"denchclaw.mjs",
"README.md",
"assets/",
"dist/",
"extensions/",
2026-02-03 22:04:17 +09:00
"skills/"
2025-12-21 03:48:23 +01:00
],
2026-01-31 21:13:13 +09:00
"type": "module",
refactor!: IronClaw v2.0 - external OpenClaw runtime BREAKING CHANGE: Convert repository to IronClaw-only package with strict external dependency on globally installed `openclaw` runtime. ### Changes - Remove entire OpenClaw core source from repository (src/agents/*, src/acp/*, src/commands/*, and related modules) - Implement CLI delegation: non-bootstrap commands now delegate to global `openclaw` binary via external contract - Remove local OpenClaw path resolution from web app; always spawn global `openclaw` binary instead of local scripts - Rename package.json scripts: `pnpm openclaw` → `pnpm ironclaw`, `openclaw:rpc` → `ironclaw:rpc` - Update bootstrap flow to verify and install global OpenClaw when missing - Migrate web workspace/profile logic to align with OpenClaw state paths - Add migration contract tests for stream-json, session subscribe, and profile resolution behaviors - Update build/release pipeline for IronClaw-only artifacts - Update documentation for new peer + global installation model ### Architecture IronClaw is now strictly a frontend/UI/bootstrap layer: - `npx ironclaw` bootstraps OpenClaw (if missing), runs guided onboarding - IronClaw UI serves on localhost:3100 - OpenClaw Gateway runs on standard port 18789 - Communication via stable CLI contracts and Gateway WebSocket protocol only ### Migration Users must have `openclaw` installed globally: npm install -g openclaw Existing IronClaw profiles and sessions remain compatible through gateway protocol stability. Refs: bootstrap_dev_testing, ironclaw_frontend_split, strict-external-openclaw
2026-03-01 16:11:40 -08:00
"main": "dist/entry.js",
2026-01-31 21:13:13 +09:00
"exports": {
refactor!: IronClaw v2.0 - external OpenClaw runtime BREAKING CHANGE: Convert repository to IronClaw-only package with strict external dependency on globally installed `openclaw` runtime. ### Changes - Remove entire OpenClaw core source from repository (src/agents/*, src/acp/*, src/commands/*, and related modules) - Implement CLI delegation: non-bootstrap commands now delegate to global `openclaw` binary via external contract - Remove local OpenClaw path resolution from web app; always spawn global `openclaw` binary instead of local scripts - Rename package.json scripts: `pnpm openclaw` → `pnpm ironclaw`, `openclaw:rpc` → `ironclaw:rpc` - Update bootstrap flow to verify and install global OpenClaw when missing - Migrate web workspace/profile logic to align with OpenClaw state paths - Add migration contract tests for stream-json, session subscribe, and profile resolution behaviors - Update build/release pipeline for IronClaw-only artifacts - Update documentation for new peer + global installation model ### Architecture IronClaw is now strictly a frontend/UI/bootstrap layer: - `npx ironclaw` bootstraps OpenClaw (if missing), runs guided onboarding - IronClaw UI serves on localhost:3100 - OpenClaw Gateway runs on standard port 18789 - Communication via stable CLI contracts and Gateway WebSocket protocol only ### Migration Users must have `openclaw` installed globally: npm install -g openclaw Existing IronClaw profiles and sessions remain compatible through gateway protocol stability. Refs: bootstrap_dev_testing, ironclaw_frontend_split, strict-external-openclaw
2026-03-01 16:11:40 -08:00
".": "./dist/entry.js",
"./cli-entry": "./denchclaw.mjs"
2026-01-31 21:13:13 +09:00
},
"scripts": {
"build": "tsdown",
"build:plugin-env": "node scripts/build-plugin-env.mjs",
"check": "pnpm format:check && pnpm lint",
"denchclaw": "node denchclaw.mjs",
"dev": "node denchclaw.mjs",
"format": "oxfmt --write",
"format:check": "oxfmt --check",
"lint": "oxlint --type-aware",
"prepack": "pnpm build:plugin-env && pnpm build && pnpm web:build && pnpm web:prepack",
"start": "node denchclaw.mjs",
"test": "pnpm test:cli && pnpm --dir apps/web test",
"test:cli": "vitest run --config vitest.unit.config.ts src/cli/run-main.test.ts src/cli/bootstrap-external.test.ts src/cli/bootstrap-external.bootstrap-command.test.ts src/cli/workspace-seed.test.ts src/cli/web-runtime.test.ts src/cli/web-runtime-command.test.ts src/cli/flatten-standalone-deps.test.ts",
"test:web": "pnpm --dir apps/web test",
"web:build": "pnpm --dir apps/web build",
"web:dev": "pnpm --dir apps/web dev",
Web app: switch to Next.js standalone build for npm packaging Ship a self-contained standalone server with the npm package so `npm i -g ironclaw` can serve the web UI without runtime `npm install` or `next build`. This eliminates the fragile first-boot build step and cuts the cold-start time for the gateway web app. Changes: - next.config.ts: enable `output: "standalone"` and set `outputFileTracingRoot` to the monorepo root so pnpm workspace deps are traced correctly. Remove the now-unnecessary manual webpack externals for Node.js built-ins. - package.json: update `files` to ship only the standalone build output, static assets, and public dir (instead of the entire `apps/web/` tree). Add `web:build` and `web:prepack` to the `prepack` script so the standalone server is built and its static/public assets are copied into place before publish. Bump version to 2026.2.10-1.5. - server-web-app.ts: rewrite the web app lifecycle to prefer the pre-built standalone `server.js` in production. Add `resolveStandaloneServerJs`, `hasStandaloneBuild`, `hasLegacyNextBuild`, and `isInWorkspace` helpers. In dev workspaces, fall back to building on-the-fly or legacy `next start`. Export key functions for testability. - server-web-app.test.ts: add comprehensive unit tests covering path resolution, standalone/legacy build detection, ensureWebAppBuilt scenarios (skip, disabled, dev, standalone, legacy, missing), startWebAppIfEnabled (skip, disabled, null config, missing dir, standalone start, missing build error, default port, graceful stop). - workspace-sidebar.tsx: update sidebar branding to "Ironclaw". Published as ironclaw@2026.2.10-1.5. Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 19:03:01 -08:00
"web:install": "pnpm --dir apps/web install",
"web:prepack": "cp -r apps/web/public apps/web/.next/standalone/apps/web/public && cp -r apps/web/.next/static apps/web/.next/standalone/apps/web/.next/static && node scripts/flatten-standalone-deps.mjs",
"deploy": "set -a && source .env && set +a && bash scripts/deploy.sh",
"deploy:major": "set -a && source .env && set +a && bash scripts/deploy.sh --bump major",
"deploy:minor": "set -a && source .env && set +a && bash scripts/deploy.sh --bump minor",
"deploy:patch": "set -a && source .env && set +a && bash scripts/deploy.sh --bump patch"
},
"dependencies": {
2026-02-13 09:43:41 +09:00
"@clack/prompts": "^1.0.1",
"chalk": "^5.6.2",
"commander": "^14.0.3",
Ironclaw rebrand: new identity, animated CLI banner, and iron palette Rebrand the project from the OpenClaw/Lobster identity to Ironclaw with a new iron-metallic visual language across CLI and web UI. ## CLI identity - Rename default CLI name from `openclaw` to `ironclaw` (keep `openclaw` in KNOWN_CLI_NAMES and regex for backward compat) - Set process.title to `ironclaw`; update all `[openclaw]` log prefixes to `[ironclaw]` - Add `IRONCLAW_*` env var checks (IRONCLAW_HIDE_BANNER, IRONCLAW_NO_RESPAWN, IRONCLAW_NODE_OPTIONS_READY, IRONCLAW_TAGLINE_INDEX) with fallback to legacy `OPENCLAW_*` variants ## Animated ASCII banner - Replace the old lobster block-art with a figlet "ANSI Shadow" font IRONCLAW ASCII wordmark - Add `gradient-string` dependency for terminal gradient rendering - Implement iron shimmer animation: a bright highlight sweeps across the ASCII art (~2.5 s at 12 fps, 3 full gradient cycles) using a rotating iron-to-silver color array - Make `emitCliBanner` async to support the animation; update all call sites (preaction hook, route, run-main) to await it - Move banner emission earlier in `runCli()` so it appears for all invocations (bare command, subcommands, help) with the existing bannerEmitted guard preventing double-emission ## Iron palette and theme - Rename LOBSTER_PALETTE → IRON_PALETTE in `src/terminal/palette.ts` with new cool-steel color tokens (steel grey accent, bright silver highlight, dark iron dim, steel bl info) - Re-export LOBSTER_PALETTE as backward-compatible alias - Update `src/terminal/theme.ts` to import and use IRON_PALETTE ## Tagline cleanup - Remove lobster-themed, Apple-specific, and platform-joke taglines - Fix smart-quote and em-dash formatting across remaining taglines - Add "Holiday taglines" comment grouping for date-gated entries ## Web UI - Add `framer-motion`, `fuse.js`, and `next-themes` to web app deps - Add custom font files: Bookerly (regular/bold/italic), SpaceGrotesk (light/regular/medium/semibold/bold), FoundationTitlesHand - Update chat panel labels: "OpenClaw Chat" → "Ironclaw Chat", "Message OpenClaw..." → "Message Ironclaw..." - Update sidebar header: "OpenClaw Dench" → "Ironclaw" - CSS formatting cleanup: expand single-lins, add consistent blank lines between selector blocks, normalize child combinator spacing (li > ul → li>ul)
2026-02-11 23:26:05 -08:00
"gradient-string": "^3.0.0",
"json5": "^2.2.3",
"posthog-node": "^5.27.1",
"tslog": "^4.10.2"
},
"devDependencies": {
"@types/node": "^25.3.0",
2026-02-21 14:35:10 +01:00
"oxfmt": "0.34.0",
"oxlint": "^1.49.0",
"oxlint-tsgolint": "^0.14.2",
2026-02-05 19:36:36 +09:00
"tsdown": "^0.20.3",
"typescript": "^5.9.3",
2026-01-31 17:11:05 +09:00
"vitest": "^4.0.18"
2025-11-24 17:33:59 +01:00
},
2026-01-31 21:13:13 +09:00
"peerDependencies": {
refactor!: IronClaw v2.0 - external OpenClaw runtime BREAKING CHANGE: Convert repository to IronClaw-only package with strict external dependency on globally installed `openclaw` runtime. ### Changes - Remove entire OpenClaw core source from repository (src/agents/*, src/acp/*, src/commands/*, and related modules) - Implement CLI delegation: non-bootstrap commands now delegate to global `openclaw` binary via external contract - Remove local OpenClaw path resolution from web app; always spawn global `openclaw` binary instead of local scripts - Rename package.json scripts: `pnpm openclaw` → `pnpm ironclaw`, `openclaw:rpc` → `ironclaw:rpc` - Update bootstrap flow to verify and install global OpenClaw when missing - Migrate web workspace/profile logic to align with OpenClaw state paths - Add migration contract tests for stream-json, session subscribe, and profile resolution behaviors - Update build/release pipeline for IronClaw-only artifacts - Update documentation for new peer + global installation model ### Architecture IronClaw is now strictly a frontend/UI/bootstrap layer: - `npx ironclaw` bootstraps OpenClaw (if missing), runs guided onboarding - IronClaw UI serves on localhost:3100 - OpenClaw Gateway runs on standard port 18789 - Communication via stable CLI contracts and Gateway WebSocket protocol only ### Migration Users must have `openclaw` installed globally: npm install -g openclaw Existing IronClaw profiles and sessions remain compatible through gateway protocol stability. Refs: bootstrap_dev_testing, ironclaw_frontend_split, strict-external-openclaw
2026-03-01 16:11:40 -08:00
"openclaw": ">=2026.1.0"
2026-01-31 21:13:13 +09:00
},
"engines": {
"node": ">=22.12.0"
},
"packageManager": "pnpm@10.23.0",
"pnpm": {
"minimumReleaseAge": 2880
}
2026-01-25 14:16:15 +00:00
}