anentrypoint-design 0.0.460 → 0.0.461

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anentrypoint-design",
3
- "version": "0.0.460",
3
+ "version": "0.0.461",
4
4
  "description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
5
5
  "type": "module",
6
6
  "main": "./dist/247420.js",
@@ -57,6 +57,8 @@ function applyEnvelope(msgs, env, sendApprove) {
57
57
  }
58
58
  } else if (event === 'steer.append') {
59
59
  if (!isDupUser(data.text)) msgs.push({ id: 'u' + msgs.length + env.ts, role: 'user', content: data.text || '', time: formatTime(ts) });
60
+ } else if (event === 'queue.append') {
61
+ if (!isDupUser(data.text)) msgs.push({ id: 'u' + msgs.length + env.ts, role: 'user', content: data.text || '', time: formatTime(ts) });
60
62
  } else if (event === 'assistant.delta') {
61
63
  // Progressive text mid-turn: accumulate into the live bubble; the
62
64
  // settled message.append at turn end overwrites with the authoritative
@@ -166,10 +168,10 @@ export const chat = makePage((ctx) => {
166
168
  const t = (typeof text === 'string' ? text : s().draft || '').trim();
167
169
  if (!t) return;
168
170
 
169
- // Mid-turn send = STEER (kimi's steering): injected at the next step
170
- // boundary instead of starting a parallel turn.
171
+ // Mid-turn send = QUEUE for after the turn (kimi 1.31's Enter channel);
172
+ // injection mid-turn is /steer in the REPL or a wire steer frame.
171
173
  if (s().busy) {
172
- if (sendFrame({ type: 'steer', text: t })) {
174
+ if (sendFrame({ type: 'queue', text: t })) {
173
175
  s().messages = [...s().messages, { id: 'u' + Date.now(), role: 'user', content: t, time: formatTime(Date.now()) }];
174
176
  ctx.set({ draft: '' });
175
177
  }
@@ -212,7 +214,7 @@ export const chat = makePage((ctx) => {
212
214
  draft: st.draft,
213
215
  status: st.busy ? 'streaming…' : (st.conn === 'open' ? 'ready' : 'connecting…'),
214
216
  agentName: 'freddie',
215
- placeholder: st.busy ? 'steer the turn… (or stop)' : 'message…',
217
+ placeholder: st.busy ? 'queue a follow-up… (or stop)' : 'message…',
216
218
  showMinimap: true,
217
219
  banners: st.error ? [noteAlert({ kind: 'error', msg: st.error })] : [],
218
220
  onInput: (v) => { st.draft = v; },