@vellumai/assistant 0.4.21 → 0.4.22
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.
- package/package.json +1 -1
- package/src/config/system-prompt.ts +1 -0
- package/src/config/templates/BOOTSTRAP.md +21 -31
- package/src/config/templates/SOUL.md +19 -9
- package/src/daemon/computer-use-session.ts +5 -3
- package/src/daemon/handlers/config-voice.ts +155 -33
- package/src/daemon/handlers/dictation.ts +361 -214
- package/src/daemon/session-runtime-assembly.ts +477 -247
- package/src/daemon/session-surfaces.ts +5 -3
|
@@ -665,11 +665,13 @@ export async function surfaceProxyResolver(
|
|
|
665
665
|
const actions = input.actions as Array<{ id: string; label: string; style?: string }> | undefined;
|
|
666
666
|
// Interactive surfaces default to awaiting user action.
|
|
667
667
|
const hasActions = Array.isArray(actions) && actions.length > 0;
|
|
668
|
-
const isInteractive = surfaceType === '
|
|
668
|
+
const isInteractive = surfaceType === 'card'
|
|
669
669
|
? hasActions
|
|
670
|
-
: surfaceType === '
|
|
670
|
+
: surfaceType === 'list'
|
|
671
671
|
? hasActions
|
|
672
|
-
:
|
|
672
|
+
: surfaceType === 'table'
|
|
673
|
+
? hasActions
|
|
674
|
+
: INTERACTIVE_SURFACE_TYPES.includes(surfaceType);
|
|
673
675
|
const awaitAction = (input.await_action as boolean) ?? isInteractive;
|
|
674
676
|
|
|
675
677
|
// Only one non-persistent interactive surface at a time. If another
|