@oxbit/cli 0.8.0 → 0.10.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.
@@ -31,6 +31,28 @@
31
31
  "never"
32
32
  ]
33
33
  },
34
+ "agentACP.autoApplyEdits": {
35
+ "title": "Auto-apply agent edits",
36
+ "description": "New conversations save agent file changes without review. Undo stays available, and permission prompts still ask.",
37
+ "type": "boolean",
38
+ "default": false
39
+ },
40
+ "agentACP.generateTitles": {
41
+ "title": "Generate conversation titles",
42
+ "description": "When an agent does not name a conversation, ask the Oxbit Agent model for a short title after the first reply.",
43
+ "type": "boolean",
44
+ "default": true
45
+ },
46
+ "agentACP.oxbit-cli.command": {
47
+ "title": "Oxbit Agent CLI executable",
48
+ "type": "string",
49
+ "default": "oxbit-agent"
50
+ },
51
+ "agentACP.oxbit-cli.args": {
52
+ "title": "Oxbit Agent CLI arguments (JSON array)",
53
+ "type": "string",
54
+ "default": "[\"acp\"]"
55
+ },
34
56
  "agentACP.codex.command": {
35
57
  "title": "Codex ACP executable",
36
58
  "type": "string",
@@ -106,6 +128,29 @@
106
128
  "type": "string",
107
129
  "default": "[]"
108
130
  },
131
+ "agentACP.oxbit.api": {
132
+ "title": "Oxbit Agent API",
133
+ "description": "openai uses the Responses API, anthropic the Messages API, and openai-compatible Chat Completions at the base URL.",
134
+ "type": "string",
135
+ "default": "openai",
136
+ "enum": [
137
+ "openai",
138
+ "anthropic",
139
+ "openai-compatible"
140
+ ]
141
+ },
142
+ "agentACP.oxbit.baseUrl": {
143
+ "title": "Oxbit Agent base URL",
144
+ "description": "Origin and path prefix for openai-compatible, for example https://openrouter.ai/api.",
145
+ "type": "string",
146
+ "default": ""
147
+ },
148
+ "agentACP.oxbit.model": {
149
+ "title": "Oxbit Agent model",
150
+ "description": "Model ID for new conversations.",
151
+ "type": "string",
152
+ "default": ""
153
+ },
109
154
  "workbench.keymap": {
110
155
  "title": "Keymap",
111
156
  "description": "Keyboard layout applied on top of the Oxbit defaults. User keybindings always win.",
@@ -751,6 +796,18 @@
751
796
  "agentACP.notifications": {
752
797
  "$ref": "#/properties/agentACP.notifications"
753
798
  },
799
+ "agentACP.autoApplyEdits": {
800
+ "$ref": "#/properties/agentACP.autoApplyEdits"
801
+ },
802
+ "agentACP.generateTitles": {
803
+ "$ref": "#/properties/agentACP.generateTitles"
804
+ },
805
+ "agentACP.oxbit-cli.command": {
806
+ "$ref": "#/properties/agentACP.oxbit-cli.command"
807
+ },
808
+ "agentACP.oxbit-cli.args": {
809
+ "$ref": "#/properties/agentACP.oxbit-cli.args"
810
+ },
754
811
  "agentACP.codex.command": {
755
812
  "$ref": "#/properties/agentACP.codex.command"
756
813
  },
@@ -796,6 +853,15 @@
796
853
  "agentACP.custom.args": {
797
854
  "$ref": "#/properties/agentACP.custom.args"
798
855
  },
856
+ "agentACP.oxbit.api": {
857
+ "$ref": "#/properties/agentACP.oxbit.api"
858
+ },
859
+ "agentACP.oxbit.baseUrl": {
860
+ "$ref": "#/properties/agentACP.oxbit.baseUrl"
861
+ },
862
+ "agentACP.oxbit.model": {
863
+ "$ref": "#/properties/agentACP.oxbit.model"
864
+ },
799
865
  "workbench.keymap": {
800
866
  "$ref": "#/properties/workbench.keymap"
801
867
  },
@@ -171,6 +171,28 @@ var settings_schema_default = {
171
171
  "never"
172
172
  ]
173
173
  },
174
+ "agentACP.autoApplyEdits": {
175
+ title: "Auto-apply agent edits",
176
+ description: "New conversations save agent file changes without review. Undo stays available, and permission prompts still ask.",
177
+ type: "boolean",
178
+ default: false
179
+ },
180
+ "agentACP.generateTitles": {
181
+ title: "Generate conversation titles",
182
+ description: "When an agent does not name a conversation, ask the Oxbit Agent model for a short title after the first reply.",
183
+ type: "boolean",
184
+ default: true
185
+ },
186
+ "agentACP.oxbit-cli.command": {
187
+ title: "Oxbit Agent CLI executable",
188
+ type: "string",
189
+ default: "oxbit-agent"
190
+ },
191
+ "agentACP.oxbit-cli.args": {
192
+ title: "Oxbit Agent CLI arguments (JSON array)",
193
+ type: "string",
194
+ default: '["acp"]'
195
+ },
174
196
  "agentACP.codex.command": {
175
197
  title: "Codex ACP executable",
176
198
  type: "string",
@@ -246,6 +268,29 @@ var settings_schema_default = {
246
268
  type: "string",
247
269
  default: "[]"
248
270
  },
271
+ "agentACP.oxbit.api": {
272
+ title: "Oxbit Agent API",
273
+ description: "openai uses the Responses API, anthropic the Messages API, and openai-compatible Chat Completions at the base URL.",
274
+ type: "string",
275
+ default: "openai",
276
+ enum: [
277
+ "openai",
278
+ "anthropic",
279
+ "openai-compatible"
280
+ ]
281
+ },
282
+ "agentACP.oxbit.baseUrl": {
283
+ title: "Oxbit Agent base URL",
284
+ description: "Origin and path prefix for openai-compatible, for example https://openrouter.ai/api.",
285
+ type: "string",
286
+ default: ""
287
+ },
288
+ "agentACP.oxbit.model": {
289
+ title: "Oxbit Agent model",
290
+ description: "Model ID for new conversations.",
291
+ type: "string",
292
+ default: ""
293
+ },
249
294
  "workbench.keymap": {
250
295
  title: "Keymap",
251
296
  description: "Keyboard layout applied on top of the Oxbit defaults. User keybindings always win.",
@@ -891,6 +936,18 @@ var settings_schema_default = {
891
936
  "agentACP.notifications": {
892
937
  $ref: "#/properties/agentACP.notifications"
893
938
  },
939
+ "agentACP.autoApplyEdits": {
940
+ $ref: "#/properties/agentACP.autoApplyEdits"
941
+ },
942
+ "agentACP.generateTitles": {
943
+ $ref: "#/properties/agentACP.generateTitles"
944
+ },
945
+ "agentACP.oxbit-cli.command": {
946
+ $ref: "#/properties/agentACP.oxbit-cli.command"
947
+ },
948
+ "agentACP.oxbit-cli.args": {
949
+ $ref: "#/properties/agentACP.oxbit-cli.args"
950
+ },
894
951
  "agentACP.codex.command": {
895
952
  $ref: "#/properties/agentACP.codex.command"
896
953
  },
@@ -936,6 +993,15 @@ var settings_schema_default = {
936
993
  "agentACP.custom.args": {
937
994
  $ref: "#/properties/agentACP.custom.args"
938
995
  },
996
+ "agentACP.oxbit.api": {
997
+ $ref: "#/properties/agentACP.oxbit.api"
998
+ },
999
+ "agentACP.oxbit.baseUrl": {
1000
+ $ref: "#/properties/agentACP.oxbit.baseUrl"
1001
+ },
1002
+ "agentACP.oxbit.model": {
1003
+ $ref: "#/properties/agentACP.oxbit.model"
1004
+ },
939
1005
  "workbench.keymap": {
940
1006
  $ref: "#/properties/workbench.keymap"
941
1007
  },
@@ -1333,7 +1399,17 @@ function synchronization(capabilities) {
1333
1399
  }
1334
1400
 
1335
1401
  // packages/sdk/src/agent-acp.ts
1402
+ var OXBIT_CLI_PROVIDER = "oxbit-cli";
1336
1403
  var ACP_PROVIDERS = [
1404
+ {
1405
+ id: OXBIT_CLI_PROVIDER,
1406
+ name: "Oxbit Agent CLI",
1407
+ command: "oxbit-agent",
1408
+ args: ["acp"],
1409
+ setup: "Runs the oxbit-agent CLI that ships with Oxbit. It reads providers, keys, MCP servers, skills and hooks from ~/.oxbit/agent. Elsewhere, install @oxbit/agent from npm.",
1410
+ url: "https://github.com/yannelli/oxbit/tree/main/apps/agent",
1411
+ registryId: "oxbit-agent"
1412
+ },
1337
1413
  {
1338
1414
  id: "codex",
1339
1415
  name: "Codex ACP",
@@ -1395,6 +1471,20 @@ var acpPreset = (id) => ACP_PROVIDERS.find((provider) => provider.id === id);
1395
1471
  var acpBuiltinForRegistry = (registryId) => ACP_PROVIDERS.find((provider) => provider.registryId === registryId);
1396
1472
  var AGENT_ACTIVITY_SERVICE = "agentActivity";
1397
1473
 
1474
+ // packages/sdk/src/agent-models.ts
1475
+ var OXBIT_AGENT_PROVIDER = "oxbit";
1476
+ var AGENT_MODELS_SERVICE = "agentModels";
1477
+ var MISSING_AGENT_KEY = "Add an API key in Agent setup";
1478
+ var OXBIT_AGENT_SETTINGS = {
1479
+ api: "agentACP.oxbit.api",
1480
+ baseUrl: "agentACP.oxbit.baseUrl",
1481
+ model: "agentACP.oxbit.model"
1482
+ };
1483
+
1484
+ // packages/sdk/src/push.ts
1485
+ var PUSH_RELAY_URL = "https://oxbit-push.ryanyannelli.workers.dev";
1486
+ var PUSH_COLLAPSE_ID = "oxbit-agent-acp";
1487
+
1398
1488
  // packages/sdk/src/tasks.ts
1399
1489
  var taskPhases = [
1400
1490
  "preinit",
@@ -1452,6 +1542,13 @@ export {
1452
1542
  ACP_PROVIDERS,
1453
1543
  ACP_REGISTRY_URL,
1454
1544
  AGENT_ACTIVITY_SERVICE,
1545
+ AGENT_MODELS_SERVICE,
1546
+ MISSING_AGENT_KEY,
1547
+ OXBIT_AGENT_PROVIDER,
1548
+ OXBIT_AGENT_SETTINGS,
1549
+ OXBIT_CLI_PROVIDER,
1550
+ PUSH_COLLAPSE_ID,
1551
+ PUSH_RELAY_URL,
1455
1552
  SDK_VERSION,
1456
1553
  SETTINGS_SCHEMA_URI,
1457
1554
  acpBuiltinForRegistry,