recoder-code 2.5.2 → 2.5.3

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.
Files changed (44) hide show
  1. package/dist/index.js +0 -0
  2. package/dist/src/commands/context/index.js +2 -2
  3. package/dist/src/commands/mcp/marketplace.d.ts +6 -0
  4. package/dist/src/commands/mcp/marketplace.js +448 -0
  5. package/dist/src/commands/mcp.js +2 -0
  6. package/dist/src/commands/parallel.d.ts +20 -0
  7. package/dist/src/commands/parallel.js +133 -0
  8. package/dist/src/commands/recoderWeb.js +184 -5
  9. package/dist/src/commands/web/diff.d.ts +13 -0
  10. package/dist/src/commands/web/diff.js +235 -0
  11. package/dist/src/commands/web/link.d.ts +11 -0
  12. package/dist/src/commands/web/link.js +96 -0
  13. package/dist/src/commands/web/pull.d.ts +13 -0
  14. package/dist/src/commands/web/pull.js +203 -0
  15. package/dist/src/commands/web/status.d.ts +10 -0
  16. package/dist/src/commands/web/status.js +104 -0
  17. package/dist/src/commands/web/unlink.d.ts +10 -0
  18. package/dist/src/commands/web/unlink.js +45 -0
  19. package/dist/src/commands/web/watch.d.ts +14 -0
  20. package/dist/src/commands/web/watch.js +360 -0
  21. package/dist/src/commands/web.js +12 -0
  22. package/dist/src/config/config.js +6 -2
  23. package/dist/src/config/defaultMcpServers.d.ts +1 -0
  24. package/dist/src/config/defaultMcpServers.js +46 -0
  25. package/dist/src/gemini.js +10 -0
  26. package/dist/src/parallel/git-utils.d.ts +42 -0
  27. package/dist/src/parallel/git-utils.js +161 -0
  28. package/dist/src/parallel/index.d.ts +14 -0
  29. package/dist/src/parallel/index.js +14 -0
  30. package/dist/src/parallel/parallel-mode.d.ts +48 -0
  31. package/dist/src/parallel/parallel-mode.js +224 -0
  32. package/dist/src/services/AgentBridgeService.d.ts +61 -0
  33. package/dist/src/services/AgentBridgeService.js +253 -0
  34. package/dist/src/services/BuiltinCommandLoader.js +7 -0
  35. package/dist/src/services/PlatformSyncService.d.ts +154 -0
  36. package/dist/src/services/PlatformSyncService.js +588 -0
  37. package/dist/src/ui/commands/workflowCommands.d.ts +16 -0
  38. package/dist/src/ui/commands/workflowCommands.js +291 -0
  39. package/dist/src/ui/commands/workspaceCommand.d.ts +11 -0
  40. package/dist/src/ui/commands/workspaceCommand.js +329 -0
  41. package/dist/src/zed-integration/schema.d.ts +30 -30
  42. package/package.json +29 -10
  43. package/src/postinstall.cjs +3 -2
  44. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1647,7 +1647,7 @@ export declare const toolCallSchema: z.ZodObject<{
1647
1647
  newText?: string;
1648
1648
  oldText?: string;
1649
1649
  })[];
1650
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
1650
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
1651
1651
  locations?: {
1652
1652
  path?: string;
1653
1653
  line?: number;
@@ -1721,7 +1721,7 @@ export declare const toolCallSchema: z.ZodObject<{
1721
1721
  newText?: string;
1722
1722
  oldText?: string;
1723
1723
  })[];
1724
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
1724
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
1725
1725
  locations?: {
1726
1726
  path?: string;
1727
1727
  line?: number;
@@ -3552,7 +3552,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3552
3552
  newText?: string;
3553
3553
  oldText?: string;
3554
3554
  })[];
3555
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
3555
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
3556
3556
  locations?: {
3557
3557
  path?: string;
3558
3558
  line?: number;
@@ -3627,7 +3627,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3627
3627
  newText?: string;
3628
3628
  oldText?: string;
3629
3629
  })[];
3630
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
3630
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
3631
3631
  locations?: {
3632
3632
  path?: string;
3633
3633
  line?: number;
@@ -4075,7 +4075,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4075
4075
  newText?: string;
4076
4076
  oldText?: string;
4077
4077
  })[];
4078
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
4078
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
4079
4079
  locations?: {
4080
4080
  path?: string;
4081
4081
  line?: number;
@@ -4150,7 +4150,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4150
4150
  newText?: string;
4151
4151
  oldText?: string;
4152
4152
  })[];
4153
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
4153
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
4154
4154
  locations?: {
4155
4155
  path?: string;
4156
4156
  line?: number;
@@ -4730,7 +4730,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4730
4730
  newText?: string;
4731
4731
  oldText?: string;
4732
4732
  })[];
4733
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
4733
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
4734
4734
  locations?: {
4735
4735
  path?: string;
4736
4736
  line?: number;
@@ -4804,7 +4804,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4804
4804
  newText?: string;
4805
4805
  oldText?: string;
4806
4806
  })[];
4807
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
4807
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
4808
4808
  locations?: {
4809
4809
  path?: string;
4810
4810
  line?: number;
@@ -4886,7 +4886,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4886
4886
  newText?: string;
4887
4887
  oldText?: string;
4888
4888
  })[];
4889
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
4889
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
4890
4890
  locations?: {
4891
4891
  path?: string;
4892
4892
  line?: number;
@@ -4968,7 +4968,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4968
4968
  newText?: string;
4969
4969
  oldText?: string;
4970
4970
  })[];
4971
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
4971
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
4972
4972
  locations?: {
4973
4973
  path?: string;
4974
4974
  line?: number;
@@ -6480,7 +6480,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6480
6480
  newText?: string;
6481
6481
  oldText?: string;
6482
6482
  })[];
6483
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
6483
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
6484
6484
  locations?: {
6485
6485
  path?: string;
6486
6486
  line?: number;
@@ -6555,7 +6555,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6555
6555
  newText?: string;
6556
6556
  oldText?: string;
6557
6557
  })[];
6558
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
6558
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
6559
6559
  locations?: {
6560
6560
  path?: string;
6561
6561
  line?: number;
@@ -7003,7 +7003,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7003
7003
  newText?: string;
7004
7004
  oldText?: string;
7005
7005
  })[];
7006
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
7006
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
7007
7007
  locations?: {
7008
7008
  path?: string;
7009
7009
  line?: number;
@@ -7078,7 +7078,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7078
7078
  newText?: string;
7079
7079
  oldText?: string;
7080
7080
  })[];
7081
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
7081
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
7082
7082
  locations?: {
7083
7083
  path?: string;
7084
7084
  line?: number;
@@ -7359,7 +7359,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7359
7359
  newText?: string;
7360
7360
  oldText?: string;
7361
7361
  })[];
7362
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
7362
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
7363
7363
  locations?: {
7364
7364
  path?: string;
7365
7365
  line?: number;
@@ -7434,7 +7434,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7434
7434
  newText?: string;
7435
7435
  oldText?: string;
7436
7436
  })[];
7437
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
7437
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
7438
7438
  locations?: {
7439
7439
  path?: string;
7440
7440
  line?: number;
@@ -7693,7 +7693,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7693
7693
  newText?: string;
7694
7694
  oldText?: string;
7695
7695
  })[];
7696
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
7696
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
7697
7697
  locations?: {
7698
7698
  path?: string;
7699
7699
  line?: number;
@@ -7768,7 +7768,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7768
7768
  newText?: string;
7769
7769
  oldText?: string;
7770
7770
  })[];
7771
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
7771
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
7772
7772
  locations?: {
7773
7773
  path?: string;
7774
7774
  line?: number;
@@ -8266,7 +8266,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8266
8266
  newText?: string;
8267
8267
  oldText?: string;
8268
8268
  })[];
8269
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
8269
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
8270
8270
  locations?: {
8271
8271
  path?: string;
8272
8272
  line?: number;
@@ -8340,7 +8340,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8340
8340
  newText?: string;
8341
8341
  oldText?: string;
8342
8342
  })[];
8343
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
8343
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
8344
8344
  locations?: {
8345
8345
  path?: string;
8346
8346
  line?: number;
@@ -8422,7 +8422,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8422
8422
  newText?: string;
8423
8423
  oldText?: string;
8424
8424
  })[];
8425
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
8425
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
8426
8426
  locations?: {
8427
8427
  path?: string;
8428
8428
  line?: number;
@@ -8504,7 +8504,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8504
8504
  newText?: string;
8505
8505
  oldText?: string;
8506
8506
  })[];
8507
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
8507
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
8508
8508
  locations?: {
8509
8509
  path?: string;
8510
8510
  line?: number;
@@ -10475,7 +10475,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10475
10475
  newText?: string;
10476
10476
  oldText?: string;
10477
10477
  })[];
10478
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
10478
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
10479
10479
  locations?: {
10480
10480
  path?: string;
10481
10481
  line?: number;
@@ -10550,7 +10550,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10550
10550
  newText?: string;
10551
10551
  oldText?: string;
10552
10552
  })[];
10553
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
10553
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
10554
10554
  locations?: {
10555
10555
  path?: string;
10556
10556
  line?: number;
@@ -10998,7 +10998,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10998
10998
  newText?: string;
10999
10999
  oldText?: string;
11000
11000
  })[];
11001
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
11001
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
11002
11002
  locations?: {
11003
11003
  path?: string;
11004
11004
  line?: number;
@@ -11073,7 +11073,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11073
11073
  newText?: string;
11074
11074
  oldText?: string;
11075
11075
  })[];
11076
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
11076
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
11077
11077
  locations?: {
11078
11078
  path?: string;
11079
11079
  line?: number;
@@ -11354,7 +11354,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11354
11354
  newText?: string;
11355
11355
  oldText?: string;
11356
11356
  })[];
11357
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
11357
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
11358
11358
  locations?: {
11359
11359
  path?: string;
11360
11360
  line?: number;
@@ -11429,7 +11429,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11429
11429
  newText?: string;
11430
11430
  oldText?: string;
11431
11431
  })[];
11432
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
11432
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
11433
11433
  locations?: {
11434
11434
  path?: string;
11435
11435
  line?: number;
@@ -11688,7 +11688,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11688
11688
  newText?: string;
11689
11689
  oldText?: string;
11690
11690
  })[];
11691
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
11691
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
11692
11692
  locations?: {
11693
11693
  path?: string;
11694
11694
  line?: number;
@@ -11763,7 +11763,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11763
11763
  newText?: string;
11764
11764
  oldText?: string;
11765
11765
  })[];
11766
- kind?: "search" | "delete" | "edit" | "other" | "move" | "read" | "execute" | "think" | "fetch";
11766
+ kind?: "search" | "delete" | "other" | "read" | "fetch" | "edit" | "move" | "execute" | "think";
11767
11767
  locations?: {
11768
11768
  path?: string;
11769
11769
  line?: number;
package/package.json CHANGED
@@ -1,10 +1,24 @@
1
1
  {
2
2
  "name": "recoder-code",
3
- "version": "2.5.2",
4
- "description": "Recoder Code - AI-powered coding assistant CLI",
3
+ "version": "2.5.3",
4
+ "description": "Recoder Code - AI-powered coding assistant CLI. Chat with 40+ models (Claude, GPT-4, DeepSeek, Gemini, Qwen3) with tool calling support.",
5
+ "license": "Apache-2.0",
6
+ "keywords": [
7
+ "ai",
8
+ "cli",
9
+ "coding-assistant",
10
+ "llm",
11
+ "claude",
12
+ "gpt",
13
+ "gemini",
14
+ "mcp",
15
+ "agent",
16
+ "recoder"
17
+ ],
5
18
  "repository": {
6
19
  "type": "git",
7
- "url": "git+https://github.com/recoderxyz/recoder-code.git"
20
+ "url": "git+https://github.com/recoderxyz/recoder-code.git",
21
+ "directory": "packages/cli"
8
22
  },
9
23
  "homepage": "https://github.com/recoderxyz/recoder-code#readme",
10
24
  "bugs": {
@@ -12,12 +26,14 @@
12
26
  },
13
27
  "type": "module",
14
28
  "main": "dist/index.js",
29
+ "types": "dist/index.d.ts",
15
30
  "bin": {
16
31
  "recoder-code": "dist/index.js",
17
32
  "recoder": "dist/index.js"
18
33
  },
19
34
  "scripts": {
20
35
  "postinstall": "node src/postinstall.cjs",
36
+ "prebuild": "node -e \"const fs=require('fs');fs.rmSync('dist',{recursive:true,force:true})\"",
21
37
  "build": "tsc",
22
38
  "start": "node dist/index.js",
23
39
  "debug": "node --inspect-brk dist/index.js",
@@ -26,21 +42,22 @@
26
42
  "test": "vitest run",
27
43
  "test:ci": "vitest run --coverage",
28
44
  "test:integration": "node test-integration.mjs",
29
- "typecheck": "tsc --noEmit"
45
+ "typecheck": "tsc --noEmit",
46
+ "prepublishOnly": "npm run build"
30
47
  },
31
48
  "files": [
32
49
  "dist",
33
- "src/postinstall.cjs"
50
+ "!dist/tsconfig.tsbuildinfo",
51
+ "src/postinstall.cjs",
52
+ "README.md"
34
53
  ],
35
54
  "config": {
36
- "sandboxImageUri": "ghcr.io/recoderxyz/recoder-code:2.4.1"
55
+ "sandboxImageUri": "ghcr.io/recoderxyz/recoder-code:2.5.3"
37
56
  },
38
57
  "dependencies": {
39
- "@google/genai": "1.9.0",
58
+ "@google/genai": "1.13.0",
40
59
  "@iarna/toml": "^2.2.5",
41
60
  "@modelcontextprotocol/sdk": "^1.15.1",
42
- "@types/inquirer": "^9.0.7",
43
- "@types/update-notifier": "^6.0.8",
44
61
  "clipboardy": "^5.0.1",
45
62
  "command-exists": "^1.2.9",
46
63
  "diff": "^7.0.0",
@@ -61,7 +78,7 @@
61
78
  "qrcode-terminal": "^0.12.0",
62
79
  "react": "^19.1.0",
63
80
  "read-package-up": "^11.0.0",
64
- "recoder-code-core": "^2.4.2",
81
+ "recoder-code-core": "^2.4.4",
65
82
  "shell-quote": "^1.8.3",
66
83
  "simple-git": "^3.28.0",
67
84
  "string-width": "^7.1.0",
@@ -78,12 +95,14 @@
78
95
  "@types/command-exists": "^1.2.3",
79
96
  "@types/diff": "^7.0.2",
80
97
  "@types/dotenv": "^6.1.1",
98
+ "@types/inquirer": "^9.0.7",
81
99
  "@types/lodash-es": "^4.17.12",
82
100
  "@types/node": "^20.11.24",
83
101
  "@types/react": "^19.1.8",
84
102
  "@types/react-dom": "^19.1.6",
85
103
  "@types/semver": "^7.7.0",
86
104
  "@types/shell-quote": "^1.7.5",
105
+ "@types/update-notifier": "^6.0.8",
87
106
  "@types/yargs": "^17.0.32",
88
107
  "ink-testing-library": "^4.0.0",
89
108
  "jsdom": "^26.1.0",
@@ -27,7 +27,8 @@ function isConfigured() {
27
27
  }
28
28
 
29
29
  console.log('\n╔════════════════════════════════════════════════════════╗');
30
- console.log('║ 🚀 Recoder Code v2.4.1 Installed! ║');
30
+ const pkg = require('../package.json');
31
+ console.log(`║ 🚀 Recoder Code v${pkg.version} Installed! ║`);
31
32
  console.log('╚════════════════════════════════════════════════════════╝\n');
32
33
 
33
34
  if (isConfigured()) {
@@ -50,7 +51,7 @@ if (isConfigured()) {
50
51
  console.log('📚 Documentation:');
51
52
  console.log(' API_KEY_SETUP_GUIDE.md # Setup guide');
52
53
  console.log(' QUICK_START.md # Quick reference');
53
- console.log(' GitHub: https://github.com/caelum0x/recoder-code\n');
54
+ console.log(' GitHub: https://github.com/recoderxyz/recoder-code\n');
54
55
 
55
56
  console.log('💡 Inside the CLI:');
56
57
  console.log(' /setup # Configure API keys');