-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
186 lines (186 loc) · 11.9 KB
/
Copy pathpackage.json
File metadata and controls
186 lines (186 loc) · 11.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"name": "idbots",
"private": true,
"license": "MIT",
"author": "Sunny Fung",
"version": "0.5.9",
"main": "dist-electron/main.js",
"engines": {
"node": ">=24 <25"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"check:cross-platform-paths": "node scripts/check-cross-platform-paths.js",
"check:dsh-deps": "node scripts/check-dsh-runtime-deps.cjs",
"check:cross-platform-paths:full": "node scripts/check-cross-platform-paths.js --with-build",
"test:memory": "npx rimraf dist-electron && npm run build && npm run compile:electron && node --test tests/memoryScopeResolver.test.mjs tests/memoryScopeParse.test.mjs tests/memoryScopeList.test.mjs tests/memorySessionScope.test.mjs tests/memoryMigrationInference.test.mjs tests/memoryScopedCrud.test.mjs tests/memoryScopedRecall.test.mjs tests/memoryPromptBlocks.test.mjs tests/privateChatScopedMemory.test.mjs tests/metaidContactView.test.mjs tests/memoryHygieneService.test.mjs tests/teamCultureStore.test.mjs tests/teamCultureDistillation.test.mjs",
"test:wallet": "npm run compile:electron && node --test tests/metabotWalletService.test.mjs",
"test:im-gateway": "npm run compile:electron && node --test tests/imGatewayConnectivity.test.mjs",
"test:subsidy": "npm run compile:electron && node --test tests/mvcSubsidyService.test.mjs",
"test:knowledge-base": "npm run compile:electron && node --test tests/knowledgeBaseText.test.mjs tests/knowledgeBaseIndexStore.test.mjs tests/knowledgeBaseService.test.mjs tests/knowledgeBaseAgentTools.test.mjs",
"test:metaweb": "npm run compile:electron && node --test tests/metawebUriLinks.test.mjs tests/postSimpleNoteAgentTools.test.mjs tests/postBuzzAgentTools.test.mjs tests/omniCasterAgentTools.test.mjs tests/privateChatAgentTools.test.mjs tests/groupChatAgentTools.test.mjs tests/groupTaskDeliverableParser.test.mjs tests/socialRecallAgentTools.test.mjs && npx tsx --test tests/markdownContentBotBrowserUri.test.tsx",
"test:metaweb-study": "npm run compile:electron && node --test tests/metawebStudyJobStore.test.mjs tests/metawebStudyService.test.mjs",
"test:release-regressions": "npm run test:group-tasks && npm run test:skill-assignment && npm run test:cowork-proxy",
"test:workspace-instructions": "node --test tests/workspaceInstructionsBoundary.test.mjs tests/coworkSessionDetailGitBranch.test.mjs",
"test:group-tasks": "npm run compile:electron && node --test tests/groupTaskDaemon.test.mjs tests/groupTaskDaemonProtocol.test.mjs tests/groupTaskCheckpoints.test.mjs tests/groupTaskPlanChange.test.mjs tests/groupTaskRemotePresence.test.mjs tests/groupTaskService.test.mjs tests/groupTaskStaffing.test.mjs tests/groupTaskCandidateSearch.test.mjs tests/groupTaskEntropyP0.test.mjs",
"test:skill-assignment": "npm run compile:electron && node --test tests/skillAssignmentStore.test.mjs tests/metabotManageService.test.mjs tests/metabotManageAgentTools.test.mjs tests/chatSkillAuthorization.test.mjs tests/skillAgentTools.test.mjs",
"test:cowork-proxy": "npm run compile:electron && node --test tests/coworkProxyBindHost.test.mjs tests/coworkProxyScheduledTasksApi.test.mjs tests/coworkTurnSubmission.test.mjs",
"test:pinned-skills": "node --test tests/pinnedSkillBackstop.test.mjs tests/botInternetComposerReuse.test.mjs",
"test:update": "npx rimraf dist-electron && npm run build && npm run compile:electron && node --test tests/appUpdateResumableDownload.test.mjs tests/appUpdateSilentFlowStatic.test.mjs tests/appUpdateUi.test.mjs",
"test:cognitive-phase2": "npm run compile:electron && node scripts/test_cognitive_phase2.mjs",
"test:cognitive-hook": "npm run compile:electron && node scripts/test_cognitive_hook.mjs",
"test:gig-square": "npm run compile:electron && node scripts/gig-square-self-test.mjs",
"test:live-private-chat": "npx tsx scripts/test_live_private_chat.ts",
"test:rpc": "npx ts-node test_rpc.ts",
"test:read-pin": "npx ts-node -P electron-tsconfig.json test_read_pin.ts",
"preview": "vite preview",
"compile:electron": "npx -p typescript@5 tsc --project electron-tsconfig.json",
"sync:man-p2p": "node scripts/sync-man-p2p-binary.mjs",
"build:skills": "node scripts/build-skills.js && node scripts/build-web-search-skill.js",
"build:skill:web-search": "node scripts/build-web-search-skill.js",
"start:electron": "cross-env NODE_ENV=development IDBOTS_DISABLE_SINGLE_INSTANCE_LOCK=1 ELECTRON_START_URL=http://127.0.0.1:5175 electron .",
"preelectron:dev": "npm run check:dsh-deps",
"electron:dev": "npx rimraf dist-electron && npm run compile:electron && npm run build:skills && concurrently \"vite --host 127.0.0.1 --port 5175\" \"wait-on -v -t 120000 -d 10000 http://127.0.0.1:5175 && node scripts/wait-electron-dev-build.mjs dist-electron && npm run start:electron\"",
"electron:dev:fresh": "npx rimraf .dev-userdata-fresh .dev-appdata-fresh && cross-env IDBOTS_USER_DATA_PATH=./.dev-userdata-fresh IDBOTS_APP_DATA_PATH=./.dev-appdata-fresh npm run electron:dev",
"postinstall": "patch-package && electron-builder install-app-deps && npm install --prefix SKILLs/web-search && npm install --prefix dsh-runtime",
"pack": "npm run setup:mingit && npm run setup:python-win && npm run setup:ffmpeg && npm run build && npm run compile:electron && npm run build:skills && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --dir",
"dist": "npm run setup:mingit && npm run setup:python-win && npm run setup:ffmpeg:all && npm run build && npm run compile:electron && npm run build:skills && electron-builder",
"dist:mac": "node scripts/run-electron-builder-mac.mjs --mac --config electron-builder.json",
"predist:mac": "npm run setup:ffmpeg:all && npm run build && npm run compile:electron && npm run build:skills",
"dist:mac:x64": "npm run build && npm run compile:electron && npm run build:skills && electron-builder --mac --x64",
"dist:mac:arm64": "npm run build && npm run compile:electron && npm run build:skills && electron-builder --mac --arm64",
"dist:mac:universal": "npm run build && npm run compile:electron && npm run build:skills && electron-builder --mac --universal",
"dist:win": "npm run setup:mingit && npm run setup:python-win && npm run setup:ffmpeg:all && npm run build && npm run compile:electron && npm run build:skills && electron-builder --win --x64",
"dist:linux": "npm run build && npm run compile:electron && npm run build:skills && electron-builder --linux",
"sandbox:image:mac": "bash scripts/build-sandbox-image-mac.sh",
"sandbox:image:win:mac": "bash scripts/build-sandbox-image-win-on-mac.sh",
"sandbox:image:docker": "bash scripts/build-sandbox-image-docker.sh",
"clean:release": "rimraf release",
"generate:tray-icons": "node scripts/generate-tray-icons.js",
"setup:mingit": "node scripts/setup-mingit.js",
"setup:python-win": "node scripts/setup-python-runtime.js",
"setup:ffmpeg": "node scripts/setup-ffmpeg.js",
"setup:ffmpeg:all": "node scripts/setup-ffmpeg.js --required",
"regenerate:icon": "bash scripts/regenerate-mac-icon.sh",
"fix:mac-icon": "bash scripts/fix-mac-icon-display.sh",
"test:dsh": "npx rimraf dist-electron && npm run build && npm run compile:electron && node --test --test-concurrency=1 tests/dshStreamUiGate.test.mjs tests/dshReasoningEffort.test.mjs tests/dshKernelEventMapper.test.mjs tests/dshKernelRuntime.test.mjs tests/coworkKernelRouting.test.mjs tests/coworkDshIntegration.test.mjs tests/coworkDshSessionTypes.test.mjs tests/coworkDshStallWatchdog.test.mjs tests/coworkDshDeletePolicy.test.mjs tests/coworkDshWebSearch.test.mjs tests/dshUsageProjection.test.mjs tests/dshPluginManager.test.mjs tests/dshKernelDefault.test.mjs tests/coworkDshModelSwitch.test.mjs tests/coworkDshWarmup.test.mjs tests/coworkDshSessionWorkspace.test.mjs tests/win32StdioCommand.test.mjs tests/dshSkillSessionEnv.test.mjs tests/llmSafeText.test.mjs && cd dsh-runtime && npm test",
"test:twin-orchestration": "npm run compile:electron && node --test tests/twinOrchestrationService.test.mjs tests/twinWorkerSessionStop.test.mjs tests/orchestratorCoworkBridgeSkillIds.test.mjs",
"preelectron:dev:dsh": "npm run check:dsh-deps",
"electron:dev:dsh": "cross-env IDBOTS_USER_DATA_PATH=./.dev-userdata-dsh IDBOTS_APP_DATA_PATH=./.dev-appdata-dsh concurrently \"vite --host 127.0.0.1 --port 5185\" \"wait-on -v -t 120000 -d 10000 http://127.0.0.1:5185 && node scripts/wait-electron-dev-build.mjs dist-electron && cross-env NODE_ENV=development IDBOTS_DISABLE_SINGLE_INSTANCE_LOCK=1 ELECTRON_START_URL=http://127.0.0.1:5185 electron .\""
},
"dependencies": {
"@anthropic-ai/sdk": "^0.115.0",
"@electron/remote": "^2.0.12",
"@grammyjs/runner": "^2.0.0",
"@headlessui/react": "^1.7.18",
"@heroicons/react": "^2.1.1",
"@larksuiteoapi/node-sdk": "^1.73.0",
"@metalet/utxo-wallet-service": "^0.3.33-beta.5",
"@modelcontextprotocol/sdk": "^1.30.0",
"@opcat-labs/scrypt-ts-opcat": "^4.1.1",
"@openagentinternet/agent-browser-core": "0.5.3",
"@openagentinternet/agent-browser-host-contract": "0.5.3",
"@openagentinternet/agent-browser-name-resolvers": "0.5.3",
"@openagentinternet/agent-browser-ui": "0.5.3",
"@reduxjs/toolkit": "^2.2.1",
"@scure/bip39": "^1.6.0",
"@types/uuid": "^10.0.0",
"adm-zip": "^0.6.0",
"bufferutil": "^4.1.0",
"cron-parser": "^5.5.0",
"crypto-js": "^4.2.0",
"dingtalk-stream": "^2.1.4",
"discord.js": "^14.27.0",
"dompurify": "^3.4.13",
"electron-log": "^5.4.3",
"extract-zip": "^2.0.1",
"fast-xml-parser": "^5.11.0",
"form-data": "^4.0.6",
"grammy": "^1.21.0",
"js-yaml": "^4.3.1",
"katex": "^0.16.21",
"mammoth": "^1.12.1",
"mermaid": "^10.9.8",
"meta-contract": "^0.4.16",
"pdfjs-dist": "^6.2.108",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^10.0.0",
"react-redux": "^9.1.0",
"react-syntax-highlighter": "^16.1.1",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"socket.io-client": "^4.8.3",
"sql.js": "^1.13.0",
"telnet": "^0.0.1",
"turndown": "^7.2.4",
"utf-8-validate": "^6.0.6",
"uuid": "^11.1.1",
"xlsx": "^0.18.5",
"yazl": "^3.3.1",
"zod": "^4.3.6"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.16",
"@types/adm-zip": "^0.5.7",
"@types/crypto-js": "^4.2.2",
"@types/dompurify": "^3.0.5",
"@types/extract-zip": "^2.0.1",
"@types/node": "^24.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/sql.js": "^1.4.9",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitejs/plugin-react": "^4.2.1",
"7zip-bin": "^5.2.0",
"autoprefixer": "^10.4.17",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "41.10.5",
"electron-builder": "^24.12.0",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"patch-package": "^8.0.1",
"postcss": "^8.4.35",
"rimraf": "^5.0.5",
"tailwindcss": "^3.4.1",
"typescript": "^5.7.3",
"vite": "^5.1.4",
"vite-plugin-electron": "^0.28.0",
"vite-plugin-electron-renderer": "^0.14.5",
"wait-on": "^7.2.0"
},
"description": "[中文](README_zh.md)",
"keywords": [],
"overrides": {
"elliptic": "6.6.1",
"bn.js": "4.12.5",
"axios": "1.19.0",
"ws": "8.21.3",
"undici": "6.28.0",
"protobufjs": "7.6.5",
"lodash": "4.18.1",
"lodash-es": "4.18.1",
"follow-redirects": "1.16.0",
"socket.io-parser": "4.2.7",
"@protobufjs/utf8": "1.1.2",
"mvc-scrypt": {
"tmp": "0.2.7"
}
},
"allowScripts": {
"bufferutil@4.1.0": true,
"esbuild@0.21.5": true,
"fsevents@2.3.3": true,
"mvc-scrypt@0.1.2": true,
"protobufjs@7.6.5": true,
"utf-8-validate@6.0.6": true,
"electron@41.10.5": true
}
}