@phanthy/phanthy-code 0.1.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 ADDED
@@ -0,0 +1,139 @@
1
+ {
2
+ "name": "@phanthy/phanthy-code",
3
+ "version": "0.1.0",
4
+ "description": "phanthy code — phanthy group CLI for software engineering tasks",
5
+ "type": "module",
6
+ "bin": {
7
+ "phanthy-code": "bin/phanthy-code"
8
+ },
9
+ "files": [
10
+ "bin/phanthy-code",
11
+ "dist/cli.js",
12
+ "README.md",
13
+ "package.json"
14
+ ],
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "scripts": {
19
+ "dev": "bun run --preload ./src/init-macro.ts ./src/entrypoints/cli.tsx",
20
+ "start": "bun run ./src/entrypoints/cli.tsx",
21
+ "build": "bun build ./src/entrypoints/cli.tsx --outdir=./dist --target=bun --minify --define='MACRO.VERSION=\"0.1.0\"' --define='MACRO.PACKAGE_URL=\"@phanthy/phanthy-code\"' --define='MACRO.ISSUES_EXPLAINER=\"report the issue to phanthy group support\"'",
22
+ "build:offline:linux-x64": "bash ./scripts/build-offline-linux-x64.sh",
23
+ "typecheck": "tsc --noEmit",
24
+ "pack:check": "node ./scripts/check-npm-package.mjs",
25
+ "pack:dry-run": "npm run typecheck && npm run build && npm run pack:check && npm pack --dry-run --json --ignore-scripts --cache /private/tmp/phanthy-code-npm-cache",
26
+ "prepack": "npm run typecheck && npm run build && npm run pack:check",
27
+ "clean": "rm -rf dist/"
28
+ },
29
+ "overrides": {
30
+ "@anthropic-ai/sdk": "^0.95.1",
31
+ "@inquirer/prompts": "^8.4.3"
32
+ },
33
+ "devDependencies": {
34
+ "@alcalzone/ansi-tokenize": "^0.1.0",
35
+ "@anthropic-ai/bedrock-sdk": "^0.29.1",
36
+ "@anthropic-ai/claude-agent-sdk": "^0.2.0",
37
+ "@anthropic-ai/foundry-sdk": "^0.2.3",
38
+ "@anthropic-ai/mcpb": "^2.1.0",
39
+ "@anthropic-ai/sandbox-runtime": "^0.0.49",
40
+ "@anthropic-ai/sdk": "^0.95.1",
41
+ "@anthropic-ai/vertex-sdk": "^0.16.0",
42
+ "@aws-sdk/client-bedrock": "^3.1045.0",
43
+ "@aws-sdk/client-bedrock-runtime": "^3.700.0",
44
+ "@aws-sdk/client-sts": "^3.1045.0",
45
+ "@aws-sdk/credential-providers": "^3.1045.0",
46
+ "@azure/identity": "^4.13.1",
47
+ "@commander-js/extra-typings": "^13.0.0",
48
+ "@growthbook/growthbook": "^1.0.0",
49
+ "@modelcontextprotocol/sdk": "^1.10.0",
50
+ "@opentelemetry/api": "^1.9.0",
51
+ "@opentelemetry/api-logs": "^0.57.0",
52
+ "@opentelemetry/core": "^2.0.0",
53
+ "@opentelemetry/exporter-logs-otlp-grpc": "^0.217.0",
54
+ "@opentelemetry/exporter-logs-otlp-http": "^0.217.0",
55
+ "@opentelemetry/exporter-logs-otlp-proto": "^0.217.0",
56
+ "@opentelemetry/exporter-metrics-otlp-grpc": "^0.217.0",
57
+ "@opentelemetry/exporter-metrics-otlp-http": "^0.217.0",
58
+ "@opentelemetry/exporter-metrics-otlp-proto": "^0.217.0",
59
+ "@opentelemetry/exporter-prometheus": "^0.217.0",
60
+ "@opentelemetry/exporter-trace-otlp-grpc": "^0.217.0",
61
+ "@opentelemetry/exporter-trace-otlp-http": "^0.217.0",
62
+ "@opentelemetry/exporter-trace-otlp-proto": "^0.217.0",
63
+ "@opentelemetry/resources": "^2.0.0",
64
+ "@opentelemetry/sdk-logs": "^0.57.0",
65
+ "@opentelemetry/sdk-metrics": "^2.0.0",
66
+ "@opentelemetry/sdk-trace-base": "^2.0.0",
67
+ "@opentelemetry/semantic-conventions": "^1.30.0",
68
+ "ajv": "^8.17.0",
69
+ "asciichart": "^1.5.0",
70
+ "auto-bind": "^5.0.0",
71
+ "axios": "^1.7.0",
72
+ "bidi-js": "^1.0.0",
73
+ "chalk": "^5.4.0",
74
+ "chokidar": "^4.0.0",
75
+ "cli-boxes": "^3.0.0",
76
+ "code-excerpt": "^4.0.0",
77
+ "diff": "^9.0.0",
78
+ "emoji-regex": "^10.4.0",
79
+ "env-paths": "^3.0.0",
80
+ "execa": "^9.5.0",
81
+ "figures": "^6.1.0",
82
+ "fuse.js": "^7.0.0",
83
+ "get-east-asian-width": "^1.3.0",
84
+ "google-auth-library": "^9.15.0",
85
+ "highlight.js": "^11.11.0",
86
+ "https-proxy-agent": "^7.0.0",
87
+ "ignore": "^7.0.0",
88
+ "indent-string": "^5.0.0",
89
+ "ink": "^5.1.0",
90
+ "jsonc-parser": "^3.3.0",
91
+ "lodash-es": "^4.17.0",
92
+ "lru-cache": "^11.0.0",
93
+ "marked": "^15.0.0",
94
+ "p-map": "^7.0.0",
95
+ "picomatch": "^4.0.0",
96
+ "proper-lockfile": "^4.1.0",
97
+ "qrcode": "^1.5.0",
98
+ "react": "^19.0.0",
99
+ "react-reconciler": "^0.31.0",
100
+ "semver": "^7.7.0",
101
+ "sharp": "^0.34.5",
102
+ "shell-quote": "^1.8.0",
103
+ "signal-exit": "^4.1.0",
104
+ "stack-utils": "^2.0.0",
105
+ "strip-ansi": "^7.1.0",
106
+ "supports-hyperlinks": "^3.1.0",
107
+ "tree-kill": "^1.2.0",
108
+ "turndown": "^7.2.4",
109
+ "type-fest": "^4.30.0",
110
+ "undici": "^7.0.0",
111
+ "usehooks-ts": "^3.1.0",
112
+ "vscode-jsonrpc": "^8.2.1",
113
+ "vscode-languageserver-protocol": "^3.17.5",
114
+ "vscode-languageserver-types": "^3.17.5",
115
+ "wrap-ansi": "^9.0.0",
116
+ "ws": "^8.18.0",
117
+ "xss": "^1.0.0",
118
+ "yaml": "^2.8.4",
119
+ "zod": "^4.0.0",
120
+ "@types/bun": "^1.2.0",
121
+ "@types/lodash-es": "^4.17.12",
122
+ "@types/qrcode": "^1.5.6",
123
+ "@types/react": "^19.0.0",
124
+ "@types/react-reconciler": "^0.31.0",
125
+ "@types/semver": "^7.7.1",
126
+ "@types/shell-quote": "^1.7.5",
127
+ "@types/stack-utils": "^2.0.3",
128
+ "@types/turndown": "^5.0.6",
129
+ "@types/ws": "^8.18.1",
130
+ "typescript": "^5.7.0"
131
+ },
132
+ "engines": {
133
+ "bun": ">=1.2.0"
134
+ },
135
+ "os": [
136
+ "darwin",
137
+ "linux"
138
+ ]
139
+ }