deepspace 0.33.0 → 0.34.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +5 -1
  3. package/dist/build.js.map +1 -1
  4. package/dist/{chunk-BRES7ZWJ.js → chunk-KELQ7OD5.js} +2 -2
  5. package/dist/{chunk-BRES7ZWJ.js.map → chunk-KELQ7OD5.js.map} +1 -1
  6. package/dist/{chunk-PIYDVPUE.js → chunk-SINBB5BQ.js} +2 -2
  7. package/dist/{chunk-PIYDVPUE.js.map → chunk-SINBB5BQ.js.map} +1 -1
  8. package/dist/cli.js +74 -15
  9. package/dist/cli.js.map +1 -1
  10. package/dist/documentation-client-core.js +1 -1
  11. package/dist/documentation-default-renderer.cjs +1 -1
  12. package/dist/documentation-react.js +1 -1
  13. package/dist/documentation-runtime.js +10 -10
  14. package/dist/documentation-server-core.js +1 -1
  15. package/dist/documentation.js +47 -22
  16. package/dist/documentation.js.map +1 -1
  17. package/dist/expo.d.ts +73 -0
  18. package/dist/expo.js +233 -0
  19. package/dist/expo.js.map +1 -0
  20. package/dist/index.d.ts +105 -22
  21. package/dist/index.js +50 -23
  22. package/dist/index.js.map +1 -1
  23. package/dist/server.d.ts +205 -37
  24. package/dist/server.js +290 -97
  25. package/dist/server.js.map +1 -1
  26. package/dist/worker.d.ts +312 -48
  27. package/dist/worker.js +499 -110
  28. package/dist/worker.js.map +1 -1
  29. package/features/documents/feature.json +15 -0
  30. package/features/documents/src/DocumentsListPage.tsx +22 -8
  31. package/features/documents/src/InviteDialog.tsx +63 -42
  32. package/features/documents/src/__tests__/documents-find-invitee-action.test.ts +131 -0
  33. package/features/documents/src/__tests__/documents-invitee-lookup.test.ts +67 -0
  34. package/features/documents/src/documents-find-invitee-action.ts +56 -0
  35. package/features/documents/src/documents-invitee-lookup.ts +38 -0
  36. package/features/documents/src/documents-ui.css +10 -0
  37. package/package.json +28 -8
package/dist/index.js CHANGED
@@ -150,8 +150,8 @@ var ROLE_CONFIG = {
150
150
 
151
151
  // src/shared/ai-models.ts
152
152
  var DEEPSPACE_MODEL_CATALOG_PROVENANCE = {
153
- version: "2026-08-04",
154
- verifiedAt: "2026-08-04",
153
+ version: "2026-09-24",
154
+ verifiedAt: "2026-09-24",
155
155
  sources: {
156
156
  anthropic: "https://platform.claude.com/docs/en/api/beta/models/list",
157
157
  openai: "https://developers.openai.com/api/docs/models/all",
@@ -177,16 +177,17 @@ var openAIModel = createMultiStepModelFactory({
177
177
  providerLabel: "OpenAI",
178
178
  transport: "chat-completions"
179
179
  });
180
+ var DIRECT_GENERATION_NOTE = "Available for direct generation; the current proxy adapter has not passed multi-step tool-result continuation.";
180
181
  var DEEPSPACE_AI_MODELS = [
181
182
  anthropicModel({
182
- id: "claude-fable-5",
183
- label: "Claude Fable 5",
183
+ id: "claude-opus-5-5",
184
+ label: "Claude Opus 5.5",
184
185
  family: "Claude 5",
185
186
  recommendation: "frontier"
186
187
  }),
187
188
  anthropicModel({
188
- id: "claude-opus-5",
189
- label: "Claude Opus 5",
189
+ id: "claude-fable-5-1",
190
+ label: "Claude Fable 5.1",
190
191
  family: "Claude 5",
191
192
  recommendation: "frontier"
192
193
  }),
@@ -203,23 +204,29 @@ var DEEPSPACE_AI_MODELS = [
203
204
  recommendation: "fast"
204
205
  }),
205
206
  openAIModel({
206
- id: "gpt-5.6-sol",
207
- label: "GPT-5.6 Sol",
208
- family: "GPT-5.6",
209
- recommendation: "frontier"
210
- }),
211
- openAIModel({
212
- id: "gpt-5.6-terra",
213
- label: "GPT-5.6 Terra",
214
- family: "GPT-5.6",
207
+ id: "gpt-6-sol",
208
+ label: "GPT-6 Sol",
209
+ family: "GPT-6",
215
210
  recommendation: "balanced"
216
211
  }),
217
212
  openAIModel({
218
- id: "gpt-5.6-luna",
219
- label: "GPT-5.6 Luna",
220
- family: "GPT-5.6",
213
+ id: "gpt-6-luna",
214
+ label: "GPT-6 Luna",
215
+ family: "GPT-6",
221
216
  recommendation: "fast"
222
217
  }),
218
+ {
219
+ id: "gpt-6-astra",
220
+ label: "GPT-6 Astra",
221
+ provider: "openai",
222
+ providerLabel: "OpenAI",
223
+ family: "GPT-6",
224
+ agentSupport: "none",
225
+ agentProfiles: [],
226
+ transport: "chat-completions",
227
+ recommendation: "limited",
228
+ note: "Available for direct generation; its tool calling requires the Responses API, which the DeepSpace proxy does not serve."
229
+ },
223
230
  {
224
231
  id: "gpt-oss-120b",
225
232
  label: "GPT-OSS 120B",
@@ -230,12 +237,30 @@ var DEEPSPACE_AI_MODELS = [
230
237
  agentProfiles: [],
231
238
  transport: "chat-completions",
232
239
  recommendation: "limited",
233
- note: "Available for direct generation; the current proxy adapter has not passed multi-step tool-result continuation."
234
- }
240
+ note: DIRECT_GENERATION_NOTE
241
+ },
242
+ {
243
+ id: "qwen-3.8-27b",
244
+ label: "Qwen 3.8 27B",
245
+ provider: "cerebras",
246
+ providerLabel: "Cerebras",
247
+ family: "Qwen 3.8",
248
+ agentSupport: "single-step",
249
+ agentProfiles: [],
250
+ transport: "chat-completions",
251
+ recommendation: "limited",
252
+ note: DIRECT_GENERATION_NOTE
253
+ },
254
+ // Superseded models: still resolvable for apps that saved them.
255
+ anthropicModel({ id: "claude-opus-5", label: "Claude Opus 5", family: "Claude 5", recommendation: "frontier", legacy: true }),
256
+ anthropicModel({ id: "claude-fable-5", label: "Claude Fable 5", family: "Claude 5", recommendation: "frontier", legacy: true }),
257
+ openAIModel({ id: "gpt-5.6-sol", label: "GPT-5.6 Sol", family: "GPT-5.6", recommendation: "frontier", legacy: true }),
258
+ openAIModel({ id: "gpt-5.6-terra", label: "GPT-5.6 Terra", family: "GPT-5.6", recommendation: "balanced", legacy: true }),
259
+ openAIModel({ id: "gpt-5.6-luna", label: "GPT-5.6 Luna", family: "GPT-5.6", recommendation: "fast", legacy: true })
235
260
  ];
236
261
  var DEEPSPACE_AI_DEFAULTS = {
237
- agent: "claude-sonnet-5",
238
- directGeneration: "claude-sonnet-5",
262
+ agent: "claude-opus-5-5",
263
+ directGeneration: "claude-opus-5-5",
239
264
  summarization: "claude-haiku-4-5"
240
265
  };
241
266
  var DEEPSPACE_AGENT_PROFILES = {
@@ -263,7 +288,7 @@ function getDeepSpaceAIModel(modelId) {
263
288
  function listDeepSpaceAgentModels(profileId = "application") {
264
289
  const defaultModel = DEEPSPACE_AGENT_PROFILES[profileId].defaultModel;
265
290
  return DEEPSPACE_AI_MODELS.filter(
266
- (model) => model.agentProfiles.includes(profileId)
291
+ (model) => !model.legacy && model.agentProfiles.includes(profileId)
267
292
  ).sort((left, right) => Number(right.id === defaultModel) - Number(left.id === defaultModel));
268
293
  }
269
294
  function resolveDeepSpaceAgentModel(modelId, profileId = "application") {
@@ -757,6 +782,7 @@ var ACTION_TOOLS_DELETE_WHERE_MIGRATION_ID = "2026-08-action-tools-delete-where"
757
782
  var BUILD_INJECTED_APP_ID_MIGRATION_ID = "2026-08-build-injected-app-id";
758
783
  var ACTION_ROUTES_BEARER_GUARD_MIGRATION_ID = "2026-08-action-routes-bearer-guard";
759
784
  var FILES_SESSION_COOKIE_READS_MIGRATION_ID = "2026-09-files-session-cookie-reads";
785
+ var AI_SDK_7_MIGRATION_ID = "2026-09-ai-sdk-7";
760
786
  function validateAppMigrationIds(value) {
761
787
  if (!Array.isArray(value)) {
762
788
  return { valid: false, reason: "app migrations must be a JSON string array" };
@@ -5684,6 +5710,7 @@ export {
5684
5710
  ACCOUNT_STORAGE_LIMIT_BYTES,
5685
5711
  ACTION_ROUTES_BEARER_GUARD_MIGRATION_ID,
5686
5712
  ACTION_TOOLS_DELETE_WHERE_MIGRATION_ID,
5713
+ AI_SDK_7_MIGRATION_ID,
5687
5714
  ANONYMOUS_USER_ID_PREFIX,
5688
5715
  APP_LOG_EVENT_KEYS,
5689
5716
  ASYNC_RESOURCE_DEFAULTS,