Skip to content

Commit 3d4cb09

Browse files
feat: monorepo 构建完成
1 parent 751a684 commit 3d4cb09

24 files changed

Lines changed: 257 additions & 111 deletions

File tree

bun.lock

Lines changed: 73 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,20 @@
33
"version": "1.0.0",
44
"private": true,
55
"type": "module",
6+
"workspaces": [
7+
"packages/*",
8+
"packages/@ant/*"
9+
],
610
"scripts": {
711
"build": "bun build src/entrypoints/cli.tsx --outdir dist --target bun",
812
"dev": "bun run --watch src/entrypoints/cli.tsx"
913
},
1014
"dependencies": {
1115
"@alcalzone/ansi-tokenize": "^0.3.0",
16+
"@ant/claude-for-chrome-mcp": "workspace:*",
17+
"@ant/computer-use-input": "workspace:*",
18+
"@ant/computer-use-mcp": "workspace:*",
19+
"@ant/computer-use-swift": "workspace:*",
1220
"@anthropic-ai/bedrock-sdk": "^0.26.4",
1321
"@anthropic-ai/claude-agent-sdk": "latest",
1422
"@anthropic-ai/foundry-sdk": "^0.2.3",
@@ -19,6 +27,7 @@
1927
"@aws-sdk/client-bedrock": "latest",
2028
"@aws-sdk/client-bedrock-runtime": "latest",
2129
"@aws-sdk/client-sts": "^3.1020.0",
30+
"@aws-sdk/credential-provider-node": "^3.972.28",
2231
"@aws-sdk/credential-providers": "latest",
2332
"@azure/identity": "^4.13.1",
2433
"@commander-js/extra-typings": "latest",
@@ -41,10 +50,12 @@
4150
"@opentelemetry/sdk-logs": "latest",
4251
"@opentelemetry/sdk-metrics": "latest",
4352
"@opentelemetry/sdk-trace-base": "latest",
53+
"@opentelemetry/semantic-conventions": "latest",
4454
"@smithy/core": "latest",
4555
"@smithy/node-http-handler": "latest",
4656
"ajv": "latest",
4757
"asciichart": "latest",
58+
"audio-capture-napi": "workspace:*",
4859
"auto-bind": "latest",
4960
"axios": "latest",
5061
"bidi-js": "latest",
@@ -54,22 +65,26 @@
5465
"cli-boxes": "latest",
5566
"cli-highlight": "^2.1.11",
5667
"code-excerpt": "latest",
68+
"color-diff-napi": "workspace:*",
5769
"diff": "latest",
5870
"emoji-regex": "latest",
5971
"env-paths": "latest",
6072
"execa": "latest",
73+
"fflate": "latest",
6174
"figures": "latest",
6275
"fuse.js": "latest",
6376
"get-east-asian-width": "latest",
6477
"google-auth-library": "latest",
6578
"highlight.js": "latest",
6679
"https-proxy-agent": "latest",
6780
"ignore": "latest",
81+
"image-processor-napi": "workspace:*",
6882
"indent-string": "latest",
6983
"jsonc-parser": "^3.3.1",
7084
"lodash-es": "latest",
7185
"lru-cache": "latest",
7286
"marked": "latest",
87+
"modifiers-napi": "workspace:*",
7388
"p-map": "latest",
7489
"picomatch": "latest",
7590
"plist": "^3.1.0",
@@ -89,7 +104,9 @@
89104
"turndown": "^7.2.2",
90105
"type-fest": "latest",
91106
"undici": "latest",
107+
"url-handler-napi": "workspace:*",
92108
"usehooks-ts": "latest",
109+
"vscode-jsonrpc": "latest",
93110
"vscode-languageserver-protocol": "latest",
94111
"vscode-languageserver-types": "latest",
95112
"wrap-ansi": "latest",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "@ant/claude-for-chrome-mcp",
3+
"version": "1.0.0",
4+
"private": true,
5+
"type": "module",
6+
"main": "./src/index.ts",
7+
"types": "./src/index.ts"
8+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export const BROWSER_TOOLS: any[] = []
2+
3+
export class ClaudeForChromeContext {}
4+
5+
export class Logger {}
6+
7+
export type PermissionMode = any
8+
9+
export function createClaudeForChromeMcpServer(..._args: any[]): any {
10+
return null
11+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "@ant/computer-use-input",
3+
"version": "1.0.0",
4+
"private": true,
5+
"type": "module",
6+
"main": "./src/index.ts",
7+
"types": "./src/index.ts"
8+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export class ComputerUseInput {}
2+
export class ComputerUseInputAPI {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "@ant/computer-use-mcp",
3+
"version": "1.0.0",
4+
"private": true,
5+
"type": "module",
6+
"main": "./src/index.ts",
7+
"types": "./src/index.ts",
8+
"exports": {
9+
".": "./src/index.ts",
10+
"./sentinelApps": "./src/sentinelApps.ts",
11+
"./types": "./src/types.ts"
12+
}
13+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
export const API_RESIZE_PARAMS: any = {}
2+
3+
export class ComputerExecutor {}
4+
5+
export type ComputerUseSessionContext = any
6+
export type CuCallToolResult = any
7+
export type CuPermissionRequest = any
8+
export type CuPermissionResponse = any
9+
export const DEFAULT_GRANT_FLAGS: any = {}
10+
export type DisplayGeometry = any
11+
export type FrontmostApp = any
12+
export type InstalledApp = any
13+
export type ResolvePrepareCaptureResult = any
14+
export type RunningApp = any
15+
export type ScreenshotDims = any
16+
export type ScreenshotResult = any
17+
18+
export function bindSessionContext(..._args: any[]): any {
19+
return null
20+
}
21+
22+
export function buildComputerUseTools(..._args: any[]): any[] {
23+
return []
24+
}
25+
26+
export function createComputerUseMcpServer(..._args: any[]): any {
27+
return null
28+
}
29+
30+
export const targetImageSize: any = null
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const sentinelApps: string[] = []
2+
3+
export function getSentinelCategory(_appName: string): string | null {
4+
return null
5+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export type ComputerUseConfig = any
2+
export type ComputerUseHostAdapter = any
3+
export type CoordinateMode = any
4+
export type CuPermissionRequest = any
5+
export type CuPermissionResponse = any
6+
export type CuSubGates = any
7+
export const DEFAULT_GRANT_FLAGS: any = {}
8+
export type Logger = any

0 commit comments

Comments
 (0)