@bivy/bivy 0.16.4-staging.1 → 0.16.4-staging.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 (2) hide show
  1. package/dist/server.js +5 -0
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -9135,6 +9135,11 @@ app.get("/api/commands", (_req, res) => {
9135
9135
  res.json(publicCommands());
9136
9136
  });
9137
9137
  function publicModel(model, current) {
9138
+ // A newly-created runtime is allowed to have no selected model yet (Claude
9139
+ // Code chooses its default when the first query starts). Keep session
9140
+ // creation/model events nullable instead of dereferencing that absence.
9141
+ if (!model)
9142
+ return null;
9138
9143
  return {
9139
9144
  provider: model.provider,
9140
9145
  id: model.id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bivy/bivy",
3
- "version": "0.16.4-staging.1",
3
+ "version": "0.16.4-staging.3",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "Run coding agents on machines you own. Open-source, self-hostable agent workspace.",