picocode 0.9.183 → 0.9.185

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.
@@ -0,0 +1,22 @@
1
+ _pico_shell_widget() {
2
+ local request=$BUFFER
3
+ local generated
4
+
5
+ [[ -n ${request//[[:space:]]/} ]] || return 0
6
+
7
+ zle -I
8
+ print -r -- "pico --shell ${(qqq)request}"
9
+
10
+ if generated=$(command pico --shell "$request"); then
11
+ BUFFER=$generated
12
+ CURSOR=${#BUFFER}
13
+ else
14
+ BUFFER=$request
15
+ fi
16
+
17
+ print
18
+ zle reset-prompt
19
+ }
20
+
21
+ zle -N pico-shell _pico_shell_widget
22
+ bindkey '^]' pico-shell
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picocode",
3
- "version": "0.9.183",
3
+ "version": "0.9.185",
4
4
  "description": "a TUI coding agent built on trend and @prsm/ai",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -14,7 +14,8 @@
14
14
  },
15
15
  "files": [
16
16
  "bin",
17
- "dist"
17
+ "dist",
18
+ "integrations"
18
19
  ],
19
20
  "engines": {
20
21
  "node": ">=24"
@@ -28,7 +29,7 @@
28
29
  "dependencies": {
29
30
  "@shikijs/cli": "^3.0.0",
30
31
  "@trendr/core": "0.4.40",
31
- "picocode-core": "0.9.183"
32
+ "picocode-core": "0.9.185"
32
33
  },
33
34
  "devDependencies": {
34
35
  "esbuild": "^0.25.0"