@vellumai/assistant 0.10.11-dev.202607241735.ced7ef3 → 0.10.11-dev.202607241933.decb522

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 (46) hide show
  1. package/package.json +1 -1
  2. package/src/__tests__/assistant-id-boundary-guard.test.ts +0 -58
  3. package/src/__tests__/channel-guardian.test.ts +85 -512
  4. package/src/__tests__/config-loader-platform-defaults.test.ts +34 -18
  5. package/src/__tests__/workspace-migration-134-image-generation-mode-to-provider.test.ts +284 -0
  6. package/src/cli/lib/bundled-marketplace.json +12 -0
  7. package/src/config/__tests__/deployment-context-defaults.test.ts +9 -0
  8. package/src/config/loader.ts +7 -1
  9. package/src/daemon/handlers/config-channels.ts +40 -134
  10. package/src/daemon/message-protocol.ts +19 -123
  11. package/src/daemon/message-types/computer-use.ts +0 -12
  12. package/src/daemon/message-types/conversations.ts +0 -34
  13. package/src/daemon/message-types/host-app-control.ts +0 -9
  14. package/src/daemon/message-types/host-browser.ts +0 -7
  15. package/src/daemon/message-types/host-ui-snapshot.ts +0 -7
  16. package/src/daemon/message-types/messages.ts +0 -48
  17. package/src/daemon/message-types/notifications.ts +0 -7
  18. package/src/daemon/message-types/skills.ts +0 -5
  19. package/src/daemon/message-types/surfaces.ts +0 -9
  20. package/src/daemon/message-types/sync.ts +0 -2
  21. package/src/providers/anthropic/client.ts +11 -9
  22. package/src/providers/model-catalog.ts +51 -0
  23. package/src/runtime/assistant-event.ts +21 -10
  24. package/src/runtime/routes/conversation-query-routes.ts +4 -4
  25. package/src/workspace/migrations/134-image-generation-mode-to-provider.ts +128 -0
  26. package/src/workspace/migrations/registry.ts +2 -0
  27. package/src/daemon/message-types/acp.ts +0 -20
  28. package/src/daemon/message-types/apps.ts +0 -11
  29. package/src/daemon/message-types/background-tools.ts +0 -14
  30. package/src/daemon/message-types/bookmarks.ts +0 -13
  31. package/src/daemon/message-types/contacts.ts +0 -13
  32. package/src/daemon/message-types/document-comments.ts +0 -14
  33. package/src/daemon/message-types/documents.ts +0 -13
  34. package/src/daemon/message-types/home.ts +0 -15
  35. package/src/daemon/message-types/host-bash.ts +0 -12
  36. package/src/daemon/message-types/host-cu.ts +0 -10
  37. package/src/daemon/message-types/host-file.ts +0 -12
  38. package/src/daemon/message-types/host-transfer.ts +0 -12
  39. package/src/daemon/message-types/integrations.ts +0 -90
  40. package/src/daemon/message-types/memory.ts +0 -10
  41. package/src/daemon/message-types/schedules.ts +0 -14
  42. package/src/daemon/message-types/settings.ts +0 -17
  43. package/src/daemon/message-types/subagents.ts +0 -16
  44. package/src/daemon/message-types/upgrades.ts +0 -14
  45. package/src/daemon/message-types/workflows.ts +0 -25
  46. package/src/daemon/message-types/workspace.ts +0 -137
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/assistant",
3
- "version": "0.10.11-dev.202607241735.ced7ef3",
3
+ "version": "0.10.11-dev.202607241933.decb522",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -312,64 +312,6 @@ describe("assistant ID boundary", () => {
312
312
  // surfaces invites callers to pass external IDs into daemon scoping.
313
313
  // -------------------------------------------------------------------------
314
314
 
315
- test("message contract types do not contain assistantId for guardian requests", () => {
316
- const contractPath = join(
317
- import.meta.dir,
318
- "..",
319
- "daemon",
320
- "message-types",
321
- "integrations.ts",
322
- );
323
- const content = readFileSync(contractPath, "utf-8");
324
-
325
- // Extract the interface blocks for the request types and verify
326
- // none of them declare an assistantId property.
327
- const requestTypeNames = ["ChannelVerificationSessionRequest"];
328
-
329
- for (const typeName of requestTypeNames) {
330
- // Find the interface/type block — match from the type name to the next
331
- // closing brace at the same indentation level. We use a simple heuristic:
332
- // find the line declaring the type, then scan forward to the closing '}'.
333
- const typeIndex = content.indexOf(typeName);
334
- expect(
335
- typeIndex,
336
- `Expected to find ${typeName} in message contract`,
337
- ).toBeGreaterThan(-1);
338
-
339
- // Extract from the type declaration to the next '}' line
340
- const blockStart = content.indexOf("{", typeIndex);
341
- if (blockStart === -1) continue;
342
- let braceDepth = 0;
343
- let blockEnd = blockStart;
344
- for (let i = blockStart; i < content.length; i++) {
345
- if (content[i] === "{") braceDepth++;
346
- if (content[i] === "}") braceDepth--;
347
- if (braceDepth === 0) {
348
- blockEnd = i + 1;
349
- break;
350
- }
351
- }
352
- const block = content.slice(blockStart, blockEnd);
353
-
354
- // The block should not contain an assistantId property declaration
355
- // (matches "assistantId?" or "assistantId:" on a non-comment line)
356
- const lines = block.split("\n");
357
- for (const line of lines) {
358
- const trimmed = line.trim();
359
- if (
360
- trimmed.startsWith("//") ||
361
- trimmed.startsWith("*") ||
362
- trimmed.startsWith("/*")
363
- )
364
- continue;
365
- expect(
366
- /\bassistantId\s*[?:]/.test(trimmed),
367
- `${typeName} must not declare an assistantId property. Found: "${trimmed}"`,
368
- ).toBe(false);
369
- }
370
- }
371
- });
372
-
373
315
  test("guardian outbound param interfaces do not contain assistantId", () => {
374
316
  const actionsPath = join(
375
317
  import.meta.dir,