@oxbit/cli 0.7.1 → 0.8.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.
@@ -11,12 +11,24 @@
11
11
  },
12
12
  "agentACP.provider": {
13
13
  "title": "Default agent",
14
+ "description": "A built-in agent ID, an ACP Registry agent ID, or custom.",
14
15
  "type": "string",
15
- "default": "codex",
16
+ "default": "codex"
17
+ },
18
+ "agentACP.useModifierToSend": {
19
+ "title": "Send with Ctrl/Cmd+Enter only",
20
+ "description": "Enter inserts a new line and Ctrl/Cmd+Enter sends the message.",
21
+ "type": "boolean",
22
+ "default": false
23
+ },
24
+ "agentACP.notifications": {
25
+ "title": "Agent desktop notifications",
26
+ "description": "Show a system notification when the agent needs input or finishes while Oxbit is in the background.",
27
+ "type": "string",
28
+ "default": "whenHidden",
16
29
  "enum": [
17
- "codex",
18
- "cursor",
19
- "amp"
30
+ "whenHidden",
31
+ "never"
20
32
  ]
21
33
  },
22
34
  "agentACP.codex.command": {
@@ -29,6 +41,36 @@
29
41
  "type": "string",
30
42
  "default": "[\"-y\",\"@agentclientprotocol/codex-acp@2.2.2\"]"
31
43
  },
44
+ "agentACP.claude.command": {
45
+ "title": "Claude Agent executable",
46
+ "type": "string",
47
+ "default": "npx"
48
+ },
49
+ "agentACP.claude.args": {
50
+ "title": "Claude Agent arguments (JSON array)",
51
+ "type": "string",
52
+ "default": "[\"-y\",\"@agentclientprotocol/claude-agent-acp@0.89.1\"]"
53
+ },
54
+ "agentACP.gemini.command": {
55
+ "title": "Gemini CLI executable",
56
+ "type": "string",
57
+ "default": "npx"
58
+ },
59
+ "agentACP.gemini.args": {
60
+ "title": "Gemini CLI arguments (JSON array)",
61
+ "type": "string",
62
+ "default": "[\"-y\",\"@google/gemini-cli@0.63.0\",\"--acp\"]"
63
+ },
64
+ "agentACP.copilot.command": {
65
+ "title": "GitHub Copilot executable",
66
+ "type": "string",
67
+ "default": "npx"
68
+ },
69
+ "agentACP.copilot.args": {
70
+ "title": "GitHub Copilot arguments (JSON array)",
71
+ "type": "string",
72
+ "default": "[\"-y\",\"@github/copilot@1.0.95\",\"--acp\"]"
73
+ },
32
74
  "agentACP.cursor.command": {
33
75
  "title": "Cursor ACP executable",
34
76
  "type": "string",
@@ -49,6 +91,21 @@
49
91
  "type": "string",
50
92
  "default": "[\"-y\",\"amp-acp@0.10.0\"]"
51
93
  },
94
+ "agentACP.custom.name": {
95
+ "title": "Custom agent name",
96
+ "type": "string",
97
+ "default": ""
98
+ },
99
+ "agentACP.custom.command": {
100
+ "title": "Custom agent executable",
101
+ "type": "string",
102
+ "default": ""
103
+ },
104
+ "agentACP.custom.args": {
105
+ "title": "Custom agent arguments (JSON array)",
106
+ "type": "string",
107
+ "default": "[]"
108
+ },
52
109
  "workbench.keymap": {
53
110
  "title": "Keymap",
54
111
  "description": "Keyboard layout applied on top of the Oxbit defaults. User keybindings always win.",
@@ -688,12 +745,36 @@
688
745
  "agentACP.provider": {
689
746
  "$ref": "#/properties/agentACP.provider"
690
747
  },
748
+ "agentACP.useModifierToSend": {
749
+ "$ref": "#/properties/agentACP.useModifierToSend"
750
+ },
751
+ "agentACP.notifications": {
752
+ "$ref": "#/properties/agentACP.notifications"
753
+ },
691
754
  "agentACP.codex.command": {
692
755
  "$ref": "#/properties/agentACP.codex.command"
693
756
  },
694
757
  "agentACP.codex.args": {
695
758
  "$ref": "#/properties/agentACP.codex.args"
696
759
  },
760
+ "agentACP.claude.command": {
761
+ "$ref": "#/properties/agentACP.claude.command"
762
+ },
763
+ "agentACP.claude.args": {
764
+ "$ref": "#/properties/agentACP.claude.args"
765
+ },
766
+ "agentACP.gemini.command": {
767
+ "$ref": "#/properties/agentACP.gemini.command"
768
+ },
769
+ "agentACP.gemini.args": {
770
+ "$ref": "#/properties/agentACP.gemini.args"
771
+ },
772
+ "agentACP.copilot.command": {
773
+ "$ref": "#/properties/agentACP.copilot.command"
774
+ },
775
+ "agentACP.copilot.args": {
776
+ "$ref": "#/properties/agentACP.copilot.args"
777
+ },
697
778
  "agentACP.cursor.command": {
698
779
  "$ref": "#/properties/agentACP.cursor.command"
699
780
  },
@@ -706,6 +787,15 @@
706
787
  "agentACP.amp.args": {
707
788
  "$ref": "#/properties/agentACP.amp.args"
708
789
  },
790
+ "agentACP.custom.name": {
791
+ "$ref": "#/properties/agentACP.custom.name"
792
+ },
793
+ "agentACP.custom.command": {
794
+ "$ref": "#/properties/agentACP.custom.command"
795
+ },
796
+ "agentACP.custom.args": {
797
+ "$ref": "#/properties/agentACP.custom.args"
798
+ },
709
799
  "workbench.keymap": {
710
800
  "$ref": "#/properties/workbench.keymap"
711
801
  },
@@ -151,12 +151,24 @@ var settings_schema_default = {
151
151
  },
152
152
  "agentACP.provider": {
153
153
  title: "Default agent",
154
+ description: "A built-in agent ID, an ACP Registry agent ID, or custom.",
154
155
  type: "string",
155
- default: "codex",
156
+ default: "codex"
157
+ },
158
+ "agentACP.useModifierToSend": {
159
+ title: "Send with Ctrl/Cmd+Enter only",
160
+ description: "Enter inserts a new line and Ctrl/Cmd+Enter sends the message.",
161
+ type: "boolean",
162
+ default: false
163
+ },
164
+ "agentACP.notifications": {
165
+ title: "Agent desktop notifications",
166
+ description: "Show a system notification when the agent needs input or finishes while Oxbit is in the background.",
167
+ type: "string",
168
+ default: "whenHidden",
156
169
  enum: [
157
- "codex",
158
- "cursor",
159
- "amp"
170
+ "whenHidden",
171
+ "never"
160
172
  ]
161
173
  },
162
174
  "agentACP.codex.command": {
@@ -169,6 +181,36 @@ var settings_schema_default = {
169
181
  type: "string",
170
182
  default: '["-y","@agentclientprotocol/codex-acp@2.2.2"]'
171
183
  },
184
+ "agentACP.claude.command": {
185
+ title: "Claude Agent executable",
186
+ type: "string",
187
+ default: "npx"
188
+ },
189
+ "agentACP.claude.args": {
190
+ title: "Claude Agent arguments (JSON array)",
191
+ type: "string",
192
+ default: '["-y","@agentclientprotocol/claude-agent-acp@0.89.1"]'
193
+ },
194
+ "agentACP.gemini.command": {
195
+ title: "Gemini CLI executable",
196
+ type: "string",
197
+ default: "npx"
198
+ },
199
+ "agentACP.gemini.args": {
200
+ title: "Gemini CLI arguments (JSON array)",
201
+ type: "string",
202
+ default: '["-y","@google/gemini-cli@0.63.0","--acp"]'
203
+ },
204
+ "agentACP.copilot.command": {
205
+ title: "GitHub Copilot executable",
206
+ type: "string",
207
+ default: "npx"
208
+ },
209
+ "agentACP.copilot.args": {
210
+ title: "GitHub Copilot arguments (JSON array)",
211
+ type: "string",
212
+ default: '["-y","@github/copilot@1.0.95","--acp"]'
213
+ },
172
214
  "agentACP.cursor.command": {
173
215
  title: "Cursor ACP executable",
174
216
  type: "string",
@@ -189,6 +231,21 @@ var settings_schema_default = {
189
231
  type: "string",
190
232
  default: '["-y","amp-acp@0.10.0"]'
191
233
  },
234
+ "agentACP.custom.name": {
235
+ title: "Custom agent name",
236
+ type: "string",
237
+ default: ""
238
+ },
239
+ "agentACP.custom.command": {
240
+ title: "Custom agent executable",
241
+ type: "string",
242
+ default: ""
243
+ },
244
+ "agentACP.custom.args": {
245
+ title: "Custom agent arguments (JSON array)",
246
+ type: "string",
247
+ default: "[]"
248
+ },
192
249
  "workbench.keymap": {
193
250
  title: "Keymap",
194
251
  description: "Keyboard layout applied on top of the Oxbit defaults. User keybindings always win.",
@@ -828,12 +885,36 @@ var settings_schema_default = {
828
885
  "agentACP.provider": {
829
886
  $ref: "#/properties/agentACP.provider"
830
887
  },
888
+ "agentACP.useModifierToSend": {
889
+ $ref: "#/properties/agentACP.useModifierToSend"
890
+ },
891
+ "agentACP.notifications": {
892
+ $ref: "#/properties/agentACP.notifications"
893
+ },
831
894
  "agentACP.codex.command": {
832
895
  $ref: "#/properties/agentACP.codex.command"
833
896
  },
834
897
  "agentACP.codex.args": {
835
898
  $ref: "#/properties/agentACP.codex.args"
836
899
  },
900
+ "agentACP.claude.command": {
901
+ $ref: "#/properties/agentACP.claude.command"
902
+ },
903
+ "agentACP.claude.args": {
904
+ $ref: "#/properties/agentACP.claude.args"
905
+ },
906
+ "agentACP.gemini.command": {
907
+ $ref: "#/properties/agentACP.gemini.command"
908
+ },
909
+ "agentACP.gemini.args": {
910
+ $ref: "#/properties/agentACP.gemini.args"
911
+ },
912
+ "agentACP.copilot.command": {
913
+ $ref: "#/properties/agentACP.copilot.command"
914
+ },
915
+ "agentACP.copilot.args": {
916
+ $ref: "#/properties/agentACP.copilot.args"
917
+ },
837
918
  "agentACP.cursor.command": {
838
919
  $ref: "#/properties/agentACP.cursor.command"
839
920
  },
@@ -846,6 +927,15 @@ var settings_schema_default = {
846
927
  "agentACP.amp.args": {
847
928
  $ref: "#/properties/agentACP.amp.args"
848
929
  },
930
+ "agentACP.custom.name": {
931
+ $ref: "#/properties/agentACP.custom.name"
932
+ },
933
+ "agentACP.custom.command": {
934
+ $ref: "#/properties/agentACP.custom.command"
935
+ },
936
+ "agentACP.custom.args": {
937
+ $ref: "#/properties/agentACP.custom.args"
938
+ },
849
939
  "workbench.keymap": {
850
940
  $ref: "#/properties/workbench.keymap"
851
941
  },
@@ -1250,7 +1340,35 @@ var ACP_PROVIDERS = [
1250
1340
  command: "npx",
1251
1341
  args: ["-y", "@agentclientprotocol/codex-acp@2.2.2"],
1252
1342
  setup: "Uses the Codex ACP adapter. Sign in through an advertised authentication method, or use your existing Codex credentials.",
1253
- url: "https://github.com/agentclientprotocol/codex-acp"
1343
+ url: "https://github.com/agentclientprotocol/codex-acp",
1344
+ registryId: "codex-acp"
1345
+ },
1346
+ {
1347
+ id: "claude",
1348
+ name: "Claude Agent",
1349
+ command: "npx",
1350
+ args: ["-y", "@agentclientprotocol/claude-agent-acp@0.89.1"],
1351
+ setup: "Uses the Claude Agent ACP adapter. Sign in through an advertised authentication method, or use your existing Claude Code credentials.",
1352
+ url: "https://github.com/agentclientprotocol/claude-agent-acp",
1353
+ registryId: "claude-acp"
1354
+ },
1355
+ {
1356
+ id: "gemini",
1357
+ name: "Gemini CLI",
1358
+ command: "npx",
1359
+ args: ["-y", "@google/gemini-cli@0.63.0", "--acp"],
1360
+ setup: "Runs Gemini CLI in ACP mode. Sign in through an advertised authentication method, or set GEMINI_API_KEY in the runtime environment.",
1361
+ url: "https://github.com/google-gemini/gemini-cli",
1362
+ registryId: "gemini"
1363
+ },
1364
+ {
1365
+ id: "copilot",
1366
+ name: "GitHub Copilot",
1367
+ command: "npx",
1368
+ args: ["-y", "@github/copilot@1.0.95", "--acp"],
1369
+ setup: "Runs GitHub Copilot CLI in ACP mode. Sign in through an advertised authentication method, or run copilot and use /login first.",
1370
+ url: "https://github.com/github/copilot-cli",
1371
+ registryId: "github-copilot-cli"
1254
1372
  },
1255
1373
  {
1256
1374
  id: "cursor",
@@ -1258,7 +1376,8 @@ var ACP_PROVIDERS = [
1258
1376
  command: "agent",
1259
1377
  args: ["acp"],
1260
1378
  setup: "Install Cursor CLI and run agent login first. If your executable is cursor-agent, change the command below.",
1261
- url: "https://cursor.com/docs/cli/acp"
1379
+ url: "https://cursor.com/docs/cli/acp",
1380
+ registryId: "cursor"
1262
1381
  },
1263
1382
  {
1264
1383
  id: "amp",
@@ -1266,9 +1385,15 @@ var ACP_PROVIDERS = [
1266
1385
  command: "npx",
1267
1386
  args: ["-y", "amp-acp@0.10.0"],
1268
1387
  setup: "Uses the community Amp ACP adapter. Install Amp CLI and run amp login first. Set AMP_CLI_PATH in the runtime environment if needed.",
1269
- url: "https://github.com/tao12345666333/amp-acp"
1388
+ url: "https://github.com/tao12345666333/amp-acp",
1389
+ registryId: "amp-acp"
1270
1390
  }
1271
1391
  ];
1392
+ var ACP_CUSTOM_PROVIDER = "custom";
1393
+ var ACP_REGISTRY_URL = "https://cdn.agentclientprotocol.com/registry/v1/latest/registry.json";
1394
+ var acpPreset = (id) => ACP_PROVIDERS.find((provider) => provider.id === id);
1395
+ var acpBuiltinForRegistry = (registryId) => ACP_PROVIDERS.find((provider) => provider.registryId === registryId);
1396
+ var AGENT_ACTIVITY_SERVICE = "agentActivity";
1272
1397
 
1273
1398
  // packages/sdk/src/tasks.ts
1274
1399
  var taskPhases = [
@@ -1323,9 +1448,14 @@ function settingsChanges(before, after) {
1323
1448
  // packages/sdk/src/index.ts
1324
1449
  var SDK_VERSION = "1.0.0";
1325
1450
  export {
1451
+ ACP_CUSTOM_PROVIDER,
1326
1452
  ACP_PROVIDERS,
1453
+ ACP_REGISTRY_URL,
1454
+ AGENT_ACTIVITY_SERVICE,
1327
1455
  SDK_VERSION,
1328
1456
  SETTINGS_SCHEMA_URI,
1457
+ acpBuiltinForRegistry,
1458
+ acpPreset,
1329
1459
  canonicalLanguageId,
1330
1460
  effectiveCapabilities,
1331
1461
  fileTypesToSelectors,