@oxbit/cli 0.7.1 → 0.9.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,44 @@
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
+ },
109
+ "agentACP.oxbit.api": {
110
+ "title": "Oxbit Agent API",
111
+ "description": "openai uses the Responses API, anthropic the Messages API, and openai-compatible Chat Completions at the base URL.",
112
+ "type": "string",
113
+ "default": "openai",
114
+ "enum": [
115
+ "openai",
116
+ "anthropic",
117
+ "openai-compatible"
118
+ ]
119
+ },
120
+ "agentACP.oxbit.baseUrl": {
121
+ "title": "Oxbit Agent base URL",
122
+ "description": "Origin and path prefix for openai-compatible, for example https://openrouter.ai/api.",
123
+ "type": "string",
124
+ "default": ""
125
+ },
126
+ "agentACP.oxbit.model": {
127
+ "title": "Oxbit Agent model",
128
+ "description": "Model ID for new conversations.",
129
+ "type": "string",
130
+ "default": ""
131
+ },
52
132
  "workbench.keymap": {
53
133
  "title": "Keymap",
54
134
  "description": "Keyboard layout applied on top of the Oxbit defaults. User keybindings always win.",
@@ -688,12 +768,36 @@
688
768
  "agentACP.provider": {
689
769
  "$ref": "#/properties/agentACP.provider"
690
770
  },
771
+ "agentACP.useModifierToSend": {
772
+ "$ref": "#/properties/agentACP.useModifierToSend"
773
+ },
774
+ "agentACP.notifications": {
775
+ "$ref": "#/properties/agentACP.notifications"
776
+ },
691
777
  "agentACP.codex.command": {
692
778
  "$ref": "#/properties/agentACP.codex.command"
693
779
  },
694
780
  "agentACP.codex.args": {
695
781
  "$ref": "#/properties/agentACP.codex.args"
696
782
  },
783
+ "agentACP.claude.command": {
784
+ "$ref": "#/properties/agentACP.claude.command"
785
+ },
786
+ "agentACP.claude.args": {
787
+ "$ref": "#/properties/agentACP.claude.args"
788
+ },
789
+ "agentACP.gemini.command": {
790
+ "$ref": "#/properties/agentACP.gemini.command"
791
+ },
792
+ "agentACP.gemini.args": {
793
+ "$ref": "#/properties/agentACP.gemini.args"
794
+ },
795
+ "agentACP.copilot.command": {
796
+ "$ref": "#/properties/agentACP.copilot.command"
797
+ },
798
+ "agentACP.copilot.args": {
799
+ "$ref": "#/properties/agentACP.copilot.args"
800
+ },
697
801
  "agentACP.cursor.command": {
698
802
  "$ref": "#/properties/agentACP.cursor.command"
699
803
  },
@@ -706,6 +810,24 @@
706
810
  "agentACP.amp.args": {
707
811
  "$ref": "#/properties/agentACP.amp.args"
708
812
  },
813
+ "agentACP.custom.name": {
814
+ "$ref": "#/properties/agentACP.custom.name"
815
+ },
816
+ "agentACP.custom.command": {
817
+ "$ref": "#/properties/agentACP.custom.command"
818
+ },
819
+ "agentACP.custom.args": {
820
+ "$ref": "#/properties/agentACP.custom.args"
821
+ },
822
+ "agentACP.oxbit.api": {
823
+ "$ref": "#/properties/agentACP.oxbit.api"
824
+ },
825
+ "agentACP.oxbit.baseUrl": {
826
+ "$ref": "#/properties/agentACP.oxbit.baseUrl"
827
+ },
828
+ "agentACP.oxbit.model": {
829
+ "$ref": "#/properties/agentACP.oxbit.model"
830
+ },
709
831
  "workbench.keymap": {
710
832
  "$ref": "#/properties/workbench.keymap"
711
833
  },
@@ -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,44 @@ 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
+ },
249
+ "agentACP.oxbit.api": {
250
+ title: "Oxbit Agent API",
251
+ description: "openai uses the Responses API, anthropic the Messages API, and openai-compatible Chat Completions at the base URL.",
252
+ type: "string",
253
+ default: "openai",
254
+ enum: [
255
+ "openai",
256
+ "anthropic",
257
+ "openai-compatible"
258
+ ]
259
+ },
260
+ "agentACP.oxbit.baseUrl": {
261
+ title: "Oxbit Agent base URL",
262
+ description: "Origin and path prefix for openai-compatible, for example https://openrouter.ai/api.",
263
+ type: "string",
264
+ default: ""
265
+ },
266
+ "agentACP.oxbit.model": {
267
+ title: "Oxbit Agent model",
268
+ description: "Model ID for new conversations.",
269
+ type: "string",
270
+ default: ""
271
+ },
192
272
  "workbench.keymap": {
193
273
  title: "Keymap",
194
274
  description: "Keyboard layout applied on top of the Oxbit defaults. User keybindings always win.",
@@ -828,12 +908,36 @@ var settings_schema_default = {
828
908
  "agentACP.provider": {
829
909
  $ref: "#/properties/agentACP.provider"
830
910
  },
911
+ "agentACP.useModifierToSend": {
912
+ $ref: "#/properties/agentACP.useModifierToSend"
913
+ },
914
+ "agentACP.notifications": {
915
+ $ref: "#/properties/agentACP.notifications"
916
+ },
831
917
  "agentACP.codex.command": {
832
918
  $ref: "#/properties/agentACP.codex.command"
833
919
  },
834
920
  "agentACP.codex.args": {
835
921
  $ref: "#/properties/agentACP.codex.args"
836
922
  },
923
+ "agentACP.claude.command": {
924
+ $ref: "#/properties/agentACP.claude.command"
925
+ },
926
+ "agentACP.claude.args": {
927
+ $ref: "#/properties/agentACP.claude.args"
928
+ },
929
+ "agentACP.gemini.command": {
930
+ $ref: "#/properties/agentACP.gemini.command"
931
+ },
932
+ "agentACP.gemini.args": {
933
+ $ref: "#/properties/agentACP.gemini.args"
934
+ },
935
+ "agentACP.copilot.command": {
936
+ $ref: "#/properties/agentACP.copilot.command"
937
+ },
938
+ "agentACP.copilot.args": {
939
+ $ref: "#/properties/agentACP.copilot.args"
940
+ },
837
941
  "agentACP.cursor.command": {
838
942
  $ref: "#/properties/agentACP.cursor.command"
839
943
  },
@@ -846,6 +950,24 @@ var settings_schema_default = {
846
950
  "agentACP.amp.args": {
847
951
  $ref: "#/properties/agentACP.amp.args"
848
952
  },
953
+ "agentACP.custom.name": {
954
+ $ref: "#/properties/agentACP.custom.name"
955
+ },
956
+ "agentACP.custom.command": {
957
+ $ref: "#/properties/agentACP.custom.command"
958
+ },
959
+ "agentACP.custom.args": {
960
+ $ref: "#/properties/agentACP.custom.args"
961
+ },
962
+ "agentACP.oxbit.api": {
963
+ $ref: "#/properties/agentACP.oxbit.api"
964
+ },
965
+ "agentACP.oxbit.baseUrl": {
966
+ $ref: "#/properties/agentACP.oxbit.baseUrl"
967
+ },
968
+ "agentACP.oxbit.model": {
969
+ $ref: "#/properties/agentACP.oxbit.model"
970
+ },
849
971
  "workbench.keymap": {
850
972
  $ref: "#/properties/workbench.keymap"
851
973
  },
@@ -1250,7 +1372,35 @@ var ACP_PROVIDERS = [
1250
1372
  command: "npx",
1251
1373
  args: ["-y", "@agentclientprotocol/codex-acp@2.2.2"],
1252
1374
  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"
1375
+ url: "https://github.com/agentclientprotocol/codex-acp",
1376
+ registryId: "codex-acp"
1377
+ },
1378
+ {
1379
+ id: "claude",
1380
+ name: "Claude Agent",
1381
+ command: "npx",
1382
+ args: ["-y", "@agentclientprotocol/claude-agent-acp@0.89.1"],
1383
+ setup: "Uses the Claude Agent ACP adapter. Sign in through an advertised authentication method, or use your existing Claude Code credentials.",
1384
+ url: "https://github.com/agentclientprotocol/claude-agent-acp",
1385
+ registryId: "claude-acp"
1386
+ },
1387
+ {
1388
+ id: "gemini",
1389
+ name: "Gemini CLI",
1390
+ command: "npx",
1391
+ args: ["-y", "@google/gemini-cli@0.63.0", "--acp"],
1392
+ setup: "Runs Gemini CLI in ACP mode. Sign in through an advertised authentication method, or set GEMINI_API_KEY in the runtime environment.",
1393
+ url: "https://github.com/google-gemini/gemini-cli",
1394
+ registryId: "gemini"
1395
+ },
1396
+ {
1397
+ id: "copilot",
1398
+ name: "GitHub Copilot",
1399
+ command: "npx",
1400
+ args: ["-y", "@github/copilot@1.0.95", "--acp"],
1401
+ setup: "Runs GitHub Copilot CLI in ACP mode. Sign in through an advertised authentication method, or run copilot and use /login first.",
1402
+ url: "https://github.com/github/copilot-cli",
1403
+ registryId: "github-copilot-cli"
1254
1404
  },
1255
1405
  {
1256
1406
  id: "cursor",
@@ -1258,7 +1408,8 @@ var ACP_PROVIDERS = [
1258
1408
  command: "agent",
1259
1409
  args: ["acp"],
1260
1410
  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"
1411
+ url: "https://cursor.com/docs/cli/acp",
1412
+ registryId: "cursor"
1262
1413
  },
1263
1414
  {
1264
1415
  id: "amp",
@@ -1266,9 +1417,29 @@ var ACP_PROVIDERS = [
1266
1417
  command: "npx",
1267
1418
  args: ["-y", "amp-acp@0.10.0"],
1268
1419
  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"
1420
+ url: "https://github.com/tao12345666333/amp-acp",
1421
+ registryId: "amp-acp"
1270
1422
  }
1271
1423
  ];
1424
+ var ACP_CUSTOM_PROVIDER = "custom";
1425
+ var ACP_REGISTRY_URL = "https://cdn.agentclientprotocol.com/registry/v1/latest/registry.json";
1426
+ var acpPreset = (id) => ACP_PROVIDERS.find((provider) => provider.id === id);
1427
+ var acpBuiltinForRegistry = (registryId) => ACP_PROVIDERS.find((provider) => provider.registryId === registryId);
1428
+ var AGENT_ACTIVITY_SERVICE = "agentActivity";
1429
+
1430
+ // packages/sdk/src/agent-models.ts
1431
+ var OXBIT_AGENT_PROVIDER = "oxbit";
1432
+ var AGENT_MODELS_SERVICE = "agentModels";
1433
+ var MISSING_AGENT_KEY = "Add an API key in Agent setup";
1434
+ var OXBIT_AGENT_SETTINGS = {
1435
+ api: "agentACP.oxbit.api",
1436
+ baseUrl: "agentACP.oxbit.baseUrl",
1437
+ model: "agentACP.oxbit.model"
1438
+ };
1439
+
1440
+ // packages/sdk/src/push.ts
1441
+ var PUSH_RELAY_URL = "https://oxbit-push.ryanyannelli.workers.dev";
1442
+ var PUSH_COLLAPSE_ID = "oxbit-agent-acp";
1272
1443
 
1273
1444
  // packages/sdk/src/tasks.ts
1274
1445
  var taskPhases = [
@@ -1323,9 +1494,20 @@ function settingsChanges(before, after) {
1323
1494
  // packages/sdk/src/index.ts
1324
1495
  var SDK_VERSION = "1.0.0";
1325
1496
  export {
1497
+ ACP_CUSTOM_PROVIDER,
1326
1498
  ACP_PROVIDERS,
1499
+ ACP_REGISTRY_URL,
1500
+ AGENT_ACTIVITY_SERVICE,
1501
+ AGENT_MODELS_SERVICE,
1502
+ MISSING_AGENT_KEY,
1503
+ OXBIT_AGENT_PROVIDER,
1504
+ OXBIT_AGENT_SETTINGS,
1505
+ PUSH_COLLAPSE_ID,
1506
+ PUSH_RELAY_URL,
1327
1507
  SDK_VERSION,
1328
1508
  SETTINGS_SCHEMA_URI,
1509
+ acpBuiltinForRegistry,
1510
+ acpPreset,
1329
1511
  canonicalLanguageId,
1330
1512
  effectiveCapabilities,
1331
1513
  fileTypesToSelectors,