@paean-ai/zero-cli 0.2.12 → 0.2.13
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/README.md +4 -0
- package/dist/_cli.js +1031 -1031
- package/package.json +1 -3
- package/scripts/create-stubs.sh +0 -43
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paean-ai/zero-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
4
4
|
"description": "Zero - AI coding agent CLI, multi-model support (Claude, Gemini, GLM, Qwen, DeepSeek)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist/cli.js",
|
|
11
11
|
"dist/_cli.js",
|
|
12
|
-
"scripts/create-stubs.sh",
|
|
13
12
|
"README.md",
|
|
14
13
|
"LICENSE"
|
|
15
14
|
],
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
"build:publish": "ZERO_BUILD_PUBLISH=1 bun run build.ts",
|
|
19
18
|
"dev": "bun run src/entrypoints/cli.tsx",
|
|
20
19
|
"start": "bun run dist/cli.js",
|
|
21
|
-
"postinstall": "bash scripts/create-stubs.sh",
|
|
22
20
|
"prepublishOnly": "bun run build:publish"
|
|
23
21
|
},
|
|
24
22
|
"engines": {
|
package/scripts/create-stubs.sh
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# Create stub packages for internal Anthropic modules that are referenced
|
|
3
|
-
# by the bundled code but don't exist on npm.
|
|
4
|
-
|
|
5
|
-
set -e
|
|
6
|
-
|
|
7
|
-
NM="node_modules"
|
|
8
|
-
|
|
9
|
-
# @ant/claude-for-chrome-mcp
|
|
10
|
-
mkdir -p "$NM/@ant/claude-for-chrome-mcp"
|
|
11
|
-
cat > "$NM/@ant/claude-for-chrome-mcp/package.json" << 'JSON'
|
|
12
|
-
{"name":"@ant/claude-for-chrome-mcp","version":"0.0.1","main":"index.js","type":"module"}
|
|
13
|
-
JSON
|
|
14
|
-
cat > "$NM/@ant/claude-for-chrome-mcp/index.js" << 'JS'
|
|
15
|
-
export const BROWSER_TOOLS = [];
|
|
16
|
-
export function createClaudeForChromeMcpServer() { return null; }
|
|
17
|
-
export default {};
|
|
18
|
-
JS
|
|
19
|
-
|
|
20
|
-
# @anthropic-ai/mcpb
|
|
21
|
-
mkdir -p "$NM/@anthropic-ai/mcpb"
|
|
22
|
-
cat > "$NM/@anthropic-ai/mcpb/package.json" << 'JSON'
|
|
23
|
-
{"name":"@anthropic-ai/mcpb","version":"0.0.1","main":"index.js","type":"module"}
|
|
24
|
-
JSON
|
|
25
|
-
cat > "$NM/@anthropic-ai/mcpb/index.js" << 'JS'
|
|
26
|
-
export const McpbManifestSchema = { safeParse: () => ({ success: false, error: new Error('mcpb stub') }) };
|
|
27
|
-
export async function getMcpConfigForManifest() { return {}; }
|
|
28
|
-
export default {};
|
|
29
|
-
JS
|
|
30
|
-
|
|
31
|
-
# modifiers-napi
|
|
32
|
-
mkdir -p "$NM/modifiers-napi"
|
|
33
|
-
cat > "$NM/modifiers-napi/package.json" << 'JSON'
|
|
34
|
-
{"name":"modifiers-napi","version":"0.0.1","main":"index.js"}
|
|
35
|
-
JSON
|
|
36
|
-
cat > "$NM/modifiers-napi/index.js" << 'JS'
|
|
37
|
-
module.exports = {
|
|
38
|
-
prewarm: function() {},
|
|
39
|
-
isModifierPressed: function() { return false; }
|
|
40
|
-
};
|
|
41
|
-
JS
|
|
42
|
-
|
|
43
|
-
echo "✓ Stub packages created"
|