@vincemakes/kiso-code 0.15.7 → 0.15.8

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/dist/index.js CHANGED
@@ -168,8 +168,8 @@ function editorInput(editor) {
168
168
  onRedirect(cb) {
169
169
  editor.onRedirect(cb);
170
170
  },
171
- onEmptyPaste(cb) {
172
- editor.onEmptyPaste(cb);
171
+ onClipboardPaste(cb) {
172
+ editor.onClipboardPaste(cb);
173
173
  },
174
174
  question(query, cb) {
175
175
  editor.question(query, cb);
@@ -768,10 +768,10 @@ async function main() {
768
768
  // the signal to go and look at the clipboard. What comes back is a
769
769
  // PATH, which the turn's attachment scan then picks up exactly as it
770
770
  // would a dragged-in file — one mechanism, two ways of naming a file.
771
- input.onEmptyPaste?.(() => {
771
+ input.onClipboardPaste?.(() => {
772
772
  const shot = clipboardImage(tmpdir());
773
773
  if (shot === null) {
774
- bodyLog("[nothing on the clipboard that kiso can read as an image]");
774
+ bodyLog("[no image on the clipboard ctrl+V attaches one; a file dragged into the window works too]");
775
775
  return null;
776
776
  }
777
777
  return shot;
package/dist/state.d.ts CHANGED
@@ -79,7 +79,7 @@ export interface LineInput {
79
79
  * terminal cannot put binary in a byte stream, so pasting one sends
80
80
  * nothing. The callback returns text to insert (a path) or null.
81
81
  * Optional: the pipe path has no editor and no clipboard. */
82
- onEmptyPaste?(cb: () => string | null): void;
82
+ onClipboardPaste?(cb: () => string | null): void;
83
83
  question(query: string, cb: (answer: string) => void): void;
84
84
  cancelQuestion(): void;
85
85
  /** W21: open the approval panel — the editor's state machine takes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-code",
3
- "version": "0.15.7",
3
+ "version": "0.15.8",
4
4
  "description": "kiso CLI \u2014 the durable coding agent that survives kill -9: kiso chat / kiso resume / kiso sessions.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -18,19 +18,19 @@
18
18
  "test": "vitest run"
19
19
  },
20
20
  "dependencies": {
21
- "@vincemakes/kiso-ask-ext": "0.15.7",
22
- "@vincemakes/kiso-core": "0.15.7",
23
- "@vincemakes/kiso-evals": "0.15.7",
24
- "@vincemakes/kiso-mcp-ext": "0.15.7",
25
- "@vincemakes/kiso-provider-anthropic": "0.15.7",
26
- "@vincemakes/kiso-provider-openai": "0.15.7",
27
- "@vincemakes/kiso-runtime": "0.15.7",
28
- "@vincemakes/kiso-skills-ext": "0.15.7",
29
- "@vincemakes/kiso-subagent-ext": "0.15.7",
30
- "@vincemakes/kiso-task-ext": "0.15.7",
31
- "@vincemakes/kiso-tools-node": "0.15.7",
32
- "@vincemakes/kiso-tui": "0.15.7",
33
- "@vincemakes/kiso-tui-cells": "0.15.7"
21
+ "@vincemakes/kiso-ask-ext": "0.15.8",
22
+ "@vincemakes/kiso-core": "0.15.8",
23
+ "@vincemakes/kiso-evals": "0.15.8",
24
+ "@vincemakes/kiso-mcp-ext": "0.15.8",
25
+ "@vincemakes/kiso-provider-anthropic": "0.15.8",
26
+ "@vincemakes/kiso-provider-openai": "0.15.8",
27
+ "@vincemakes/kiso-runtime": "0.15.8",
28
+ "@vincemakes/kiso-skills-ext": "0.15.8",
29
+ "@vincemakes/kiso-subagent-ext": "0.15.8",
30
+ "@vincemakes/kiso-task-ext": "0.15.8",
31
+ "@vincemakes/kiso-tools-node": "0.15.8",
32
+ "@vincemakes/kiso-tui": "0.15.8",
33
+ "@vincemakes/kiso-tui-cells": "0.15.8"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^26.1.2",