@linzumi/cli 0.0.110-beta → 1.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linzumi/cli",
3
- "version": "0.0.110-beta",
3
+ "version": "1.0.0",
4
4
  "description": "Linzumi CLI \u2014 point a Codex agent at the real code on your laptop, with your team watching and steering from shared threads.",
5
5
  "type": "module",
6
6
  "bin": {
package/scripts/build.mjs CHANGED
@@ -16,6 +16,14 @@ await build({
16
16
  target: 'node20',
17
17
  format: 'esm',
18
18
  outfile: join(packageRoot, 'dist/index.js'),
19
+ // Production hardening: minify the published CLI bundle and ship no source
20
+ // map. We already bundle to a single dist/index.js (no loose src/); minifying
21
+ // reduces accidental source/IP leakage in the npm artifact. This is NOT a
22
+ // security boundary -- the published package is public by definition, so no
23
+ // secret may live in this code and all authz stays server-side.
24
+ minify: true,
25
+ sourcemap: false,
26
+ legalComments: 'none',
19
27
  external: ['ws', 'undici', 'blessed', '@anthropic-ai/claude-agent-sdk'],
20
28
  banner: {
21
29
  js: "import { createRequire } from 'node:module';\nconst require = createRequire(import.meta.url);",