@promus/cli 0.24.26 → 0.24.28

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/package.json +1 -1
  2. package/src/ui/app.tsx +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promus/cli",
3
- "version": "0.24.26",
3
+ "version": "0.24.28",
4
4
  "type": "module",
5
5
  "description": "Promus CLI: sovereign agent gateway on Arbitrum. Runs `promus init` to mint an iNFT and bring up your agent",
6
6
  "license": "MIT",
package/src/ui/app.tsx CHANGED
@@ -476,8 +476,11 @@ export function ChatApp(props: AppProps) {
476
476
  })
477
477
  return
478
478
  }
479
- if (evt.sequence && !evt.ctrl && !evt.meta && !evt.option && evt.sequence.length === 1) {
479
+ if (evt.sequence && !evt.ctrl && !evt.meta && !evt.option) {
480
480
  const ch = evt.sequence
481
+ if (ch.length > 1) {
482
+ props.state.pushRow({ role: 'system', text: `pasted ${ch.length} chars` })
483
+ }
481
484
  props.state.setInput(prev => {
482
485
  const next = prev + ch
483
486
  refreshSlashMatches(next)