@picassohq/cli 1.0.3 → 1.0.5
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/build-info.json +2 -1
- package/dist/index.js +1860 -1316
- package/package.json +1 -1
- package/runtime/dsh/picasso-ecosystem.cordis.patch.yml +4 -7
- package/runtime/dsh/picasso-sdk.patch.yml +47 -0
- package/runtime/engine-manifest.json +37 -16
- package/runtime/packages/picasso-compaction/cordis.patch.yml +4 -0
- package/runtime/packages/picasso-compaction/index.js +875 -0
- package/runtime/packages/picasso-compaction/package.json +27 -0
- package/runtime/packages/picasso-hooks/cordis.patch.yml +4 -0
- package/runtime/packages/picasso-hooks/index.js +302 -0
- package/runtime/packages/picasso-hooks/lifecycle-events.js +651 -0
- package/runtime/packages/picasso-hooks/package.json +29 -0
- package/runtime/packages/picasso-lean-context/argument-repair.js +422 -0
- package/runtime/packages/picasso-lean-context/glob-walk.js +518 -0
- package/runtime/packages/picasso-lean-context/index.js +159 -11
- package/runtime/packages/picasso-memory/index.js +66 -24
- package/runtime/packages/picasso-model-router/connections.js +213 -10
- package/runtime/packages/picasso-model-router/index.js +128 -1
- package/runtime/packages/picasso-model-router/package.json +3 -1
- package/runtime/packages/picasso-model-router/thinking-default.js +236 -0
- package/runtime/packages/picasso-progress-reports/index.js +128 -18
- package/runtime/packages/picasso-sdk-server/command-runs.js +37 -0
- package/runtime/packages/picasso-sdk-server/ignore-file.js +5 -1
- package/runtime/packages/picasso-sdk-server/index.js +11 -3
- package/runtime/packages/picasso-sdk-server/package.json +1 -0
- package/runtime/packages/picasso-sdk-server/wave2-hooks.js +26 -6
- package/runtime/packages/picasso-web-search/backends.js +245 -195
- package/runtime/packages/picasso-web-search/config.js +75 -27
- package/runtime/packages/picasso-web-search/cordis.patch.yml +2 -1
- package/runtime/packages/picasso-web-search/failure.js +7 -1
- package/runtime/packages/picasso-web-search/index.js +7 -5
- package/runtime/packages/picasso-web-search/package.json +6 -0
- package/runtime/packages/picasso-web-search/requests.js +339 -0
- package/runtime/packages/picasso-web-search/router.js +17 -12
- package/runtime/packages/picasso-x-reader/settings.js +4 -1
- package/runtime/plugins/picasso-auto-approve/index.js +21 -8
- package/runtime/plugins/picasso-compaction/index.js +875 -0
- package/runtime/plugins/picasso-compaction/package.json +27 -0
- package/runtime/plugins/picasso-hooks/index.js +302 -0
- package/runtime/plugins/picasso-hooks/lifecycle-events.js +651 -0
- package/runtime/plugins/picasso-hooks/package.json +29 -0
- package/runtime/plugins/picasso-lean-context/argument-repair.js +422 -0
- package/runtime/plugins/picasso-lean-context/glob-walk.js +518 -0
- package/runtime/plugins/picasso-lean-context/index.js +159 -11
- package/runtime/plugins/picasso-memory/index.js +66 -24
- package/runtime/plugins/picasso-model-router/connections.js +213 -10
- package/runtime/plugins/picasso-model-router/index.js +128 -1
- package/runtime/plugins/picasso-model-router/package.json +3 -1
- package/runtime/plugins/picasso-model-router/thinking-default.js +236 -0
- package/runtime/plugins/picasso-progress-reports/index.js +128 -18
- package/runtime/plugins/picasso-provider-models/index.js +236 -4
- package/runtime/plugins/picasso-trackers/index.js +12 -2
- package/runtime/plugins/picasso-web-search/backends.js +245 -195
- package/runtime/plugins/picasso-web-search/config.js +75 -27
- package/runtime/plugins/picasso-web-search/failure.js +7 -1
- package/runtime/plugins/picasso-web-search/index.js +7 -5
- package/runtime/plugins/picasso-web-search/package.json +6 -0
- package/runtime/plugins/picasso-web-search/requests.js +339 -0
- package/runtime/plugins/picasso-web-search/router.js +17 -12
- package/runtime/plugins/picasso-x-reader/settings.js +4 -1
- package/runtime/relay/main.mjs +3877 -1989
- package/runtime/relay/model-listing.mjs +337 -26
- package/runtime/relay/versions-routes.mjs +86 -20
package/package.json
CHANGED
|
@@ -29,13 +29,10 @@
|
|
|
29
29
|
# dsh-persona requires a prose prefix; system-prompt covers it.
|
|
30
30
|
# dsh-experimental-auto-review boots, but only consulted by the Auto preset;
|
|
31
31
|
# enabled with `--permission-mode auto` (below).
|
|
32
|
-
# @picasso/picasso-hooks-bridge
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
# user-installed dsh. hooks.json entries fire
|
|
37
|
-
# on the picasso loop runner regardless —
|
|
38
|
-
# the bridge adds in-runtime interception.
|
|
32
|
+
# @picasso/picasso-hooks-bridge not a row here: mounted by file path in the
|
|
33
|
+
# generated runtime patch (ECOSYSTEM_PLUGIN_DIRS)
|
|
34
|
+
# for the engine events; the picasso loop runner
|
|
35
|
+
# fires the loop events on CLI turns.
|
|
39
36
|
# Programmatic tool calling (T4.10), strictly opt-in. `PICASSO_DSH_PTC=1` presents `run_code` plus a generated
|
|
40
37
|
# SDK instead of every native tool schema; unset leaves the native executor mounted (the rows evaluate to the base
|
|
41
38
|
# defaults, so the model-visible prefix is unchanged). Never combined with the two unconfined permission rungs
|
|
@@ -191,6 +191,8 @@
|
|
|
191
191
|
# be pinned here; its listing stays on.
|
|
192
192
|
- id: llm-deepseek
|
|
193
193
|
config:
|
|
194
|
+
# A thinking model is not cut off after 5 min without a token (the engine's default; a timed-out request restarts).
|
|
195
|
+
streamIdleTimeoutMs: 900000
|
|
194
196
|
models:
|
|
195
197
|
- id: deepseek-flash
|
|
196
198
|
name: DeepSeek-V4.1-Flash
|
|
@@ -202,3 +204,48 @@
|
|
|
202
204
|
name: DeepSeek-V4-Pro
|
|
203
205
|
description: Stronger agentic coding, knowledge, and difficult reasoning; suited to complex or quality-critical tasks at higher cost.
|
|
204
206
|
contextWindow: 1000000
|
|
207
|
+
|
|
208
|
+
# Work is never cut off by an arbitrary internal limit (owner 2026-11-17). These rows raise the engine defaults that
|
|
209
|
+
# stopped normal coding work; a user abort (Esc, session/cancel) still stops any of them at once, and each bound left
|
|
210
|
+
# here only frees a call that never settles. None of these values appears in a tool description, so the
|
|
211
|
+
# tools -> system -> Tier 1 prefix is byte-identical (the cache-probe Tier-1 tests prove it). Limits that already say
|
|
212
|
+
# so and keep the rest reachable stay as they are: read pages (offset/limit), glob/grep caps with the full result
|
|
213
|
+
# saved to a file, the spill of huge results to a file with head/tail and its path (`spill-policy`).
|
|
214
|
+
# A row replaces the base row's whole `config`, so every field the base row sets is restated.
|
|
215
|
+
#
|
|
216
|
+
# Shell: a foreground command runs 10 min (was 60 s) before it moves to a background job (never killed: the engine's
|
|
217
|
+
# promote-on-timeout); a command may ask for up to 2 h (was 10 min) in the foreground.
|
|
218
|
+
- id: bash-sandbox
|
|
219
|
+
config:
|
|
220
|
+
timeoutMs: 600000
|
|
221
|
+
maxTimeoutMs: 7200000
|
|
222
|
+
# glob/grep: 10 min (was 30 s, which gave up on large trees). The result caps and their saved full lists are unchanged.
|
|
223
|
+
- id: tool-fs-search
|
|
224
|
+
config:
|
|
225
|
+
sampleOverCapGlobResults: false
|
|
226
|
+
timeoutMs: 600000
|
|
227
|
+
# web_fetch / web_search: a slow page or a search that falls back across backends is not cut at 30/60 s, and a long
|
|
228
|
+
# page is read whole (1M characters, was 100k/200k): past the inline budget the engine saves the full text to a file
|
|
229
|
+
# and gives the model its head, tail and path (`spill-policy`) instead of truncating it.
|
|
230
|
+
- id: tool-web
|
|
231
|
+
config:
|
|
232
|
+
fetch: true
|
|
233
|
+
fetchTimeoutMs: 300000
|
|
234
|
+
searchTimeoutMs: 300000
|
|
235
|
+
fetchMaxOutputChars: 1000000
|
|
236
|
+
- id: web-fetch-http
|
|
237
|
+
config:
|
|
238
|
+
timeoutMs: 240000
|
|
239
|
+
maxBodyChars: 1000000
|
|
240
|
+
maxResponseBytes: 20000000
|
|
241
|
+
# Compaction: the engine reserved 64k tokens of headroom on top of the model's output, so a 200k-token model compacted
|
|
242
|
+
# at ~70k and a 128k one at ~30k. 16k headroom (the summary itself is capped at 16k, packages/picasso-compaction
|
|
243
|
+
# SUMMARY_MAX_TOKENS) lets the conversation use the window: 200k compacts at ~120k. The pressure ratio (default 0.8) is
|
|
244
|
+
# where trimming old tool outputs starts, then summarizing; at 0.8 a 1M-token conversation was trimmed at 800k (owner
|
|
245
|
+
# 2026-11-17). 0.92 (packages/picasso-compaction PRESSURE_RATIO, which raises a lower ratio on the Mac too): it starts
|
|
246
|
+
# at the lower of 92% of the window and the window less the request's output reservation and this headroom.
|
|
247
|
+
- id: compaction-basic
|
|
248
|
+
config:
|
|
249
|
+
headroomTokens: 16384
|
|
250
|
+
maxTokens: 16384
|
|
251
|
+
thresholdRatio: 0.92
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"name": "@picasso/memory-recall",
|
|
37
37
|
"version": "0.1.0",
|
|
38
38
|
"files": {
|
|
39
|
-
"index.js": "
|
|
39
|
+
"index.js": "a34fb487a1d5d0c9172a5fd0a816cf90fe97ffc0d272d36aa26d5efb3f3fa76f",
|
|
40
40
|
"package.json": "a21aa04702ed2648cda1c6bf6fade2df9e828f13b6f323f07d50ff3996c77cfa"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"name": "@picasso/provider-models",
|
|
53
53
|
"version": "0.1.0",
|
|
54
54
|
"files": {
|
|
55
|
-
"index.js": "
|
|
55
|
+
"index.js": "f86de1e55d60ca443e39ca9cd2ffe9d2cda25a0767fae9335cf865396af635d4",
|
|
56
56
|
"package.json": "f986cd54a174232336751f5d0ed8dfe9298a24ce2dce66d06aeda8df70668252"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"name": "@picasso/auto-approve",
|
|
87
87
|
"version": "0.1.0",
|
|
88
88
|
"files": {
|
|
89
|
-
"index.js": "
|
|
89
|
+
"index.js": "a1380566ffb85275fbdb509c1b60d498a9ce7868a297cab9e8f31cef90558da2",
|
|
90
90
|
"package.json": "21aac7268052b26ffa545ee9cc420c0ddf7466df96b07fbe1bf4701c2cf2532d"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
@@ -98,6 +98,15 @@
|
|
|
98
98
|
"package.json": "54639113ead4d787f6fb9cf16c53cb44e2d50552b0f94d4ecce6dd84c66ca267"
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
|
+
"picasso-hooks": {
|
|
102
|
+
"name": "@picasso/picasso-hooks-bridge",
|
|
103
|
+
"version": "0.1.0",
|
|
104
|
+
"files": {
|
|
105
|
+
"index.js": "66076f6b67563025e456530effc20c8619d1dd014c254e49f99b700d97819d4e",
|
|
106
|
+
"package.json": "54256cce932c5a743a34010a52da4625da2c7ef9e96fb2f7d1bb8b5661a2ff2f",
|
|
107
|
+
"lifecycle-events.js": "8e44b8c455403d2710c8f41032d6a6f1144466eaf9cd301a2a61ae66a16c51f9"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
101
110
|
"picasso-auth-bridge": {
|
|
102
111
|
"name": "@picasso/auth-bridge",
|
|
103
112
|
"version": "0.1.0",
|
|
@@ -118,7 +127,7 @@
|
|
|
118
127
|
"name": "@picasso/trackers",
|
|
119
128
|
"version": "0.1.0",
|
|
120
129
|
"files": {
|
|
121
|
-
"index.js": "
|
|
130
|
+
"index.js": "884bb9f6d24be045dbc96bbeeb1f08946d93b59244dba2dd0faf1bbc2183e14e",
|
|
122
131
|
"package.json": "762afca9934265c1efcd5da6508de0bef07cae18ba94dc676db3ec034860881c"
|
|
123
132
|
}
|
|
124
133
|
},
|
|
@@ -135,17 +144,20 @@
|
|
|
135
144
|
"name": "@picasso/model-router",
|
|
136
145
|
"version": "0.1.0",
|
|
137
146
|
"files": {
|
|
138
|
-
"index.js": "
|
|
139
|
-
"package.json": "
|
|
140
|
-
"connections.js": "
|
|
147
|
+
"index.js": "19713b722a555304ea4899c657bc39d895dfc419b363c274997ec1424921fd40",
|
|
148
|
+
"package.json": "0f72ba881be43e3e604a483b3289b5c22a8ded83e66ba319416b999ea2025663",
|
|
149
|
+
"connections.js": "4d4a87dded62ed9521777248e592e49b48c3a1585f4f9e2f5326905e4b901adb",
|
|
150
|
+
"thinking-default.js": "9f65f183a050328d563b21e2aa397c18ad2b33649a8d46bb9364a8a5324221c3"
|
|
141
151
|
}
|
|
142
152
|
},
|
|
143
153
|
"picasso-lean-context": {
|
|
144
154
|
"name": "@picasso/lean-context",
|
|
145
155
|
"version": "0.1.0",
|
|
146
156
|
"files": {
|
|
147
|
-
"index.js": "
|
|
157
|
+
"index.js": "51bd56ad21293e9fd91fcb60dc63f0139328b9d11f0fc972604e6bbdd6a6afb7",
|
|
148
158
|
"package.json": "3f48eb73b4a3e92a2b4d6562a235f733db7368c6450ad6bc6323504109110c90",
|
|
159
|
+
"argument-repair.js": "a300db7fb968401f2120bb0d20cf7b92fca2b47edcfb2a483123390281ccf73b",
|
|
160
|
+
"glob-walk.js": "9f04ef3757fa7a5fa97f6c12273c5635b103e8a8f6c81bcfefb902b2d9735520",
|
|
149
161
|
"read-image-recovery.js": "536a476dd842f8e647ebcd67fcc24d66c6f3b255a04cc932c07dcbd216ffdb50",
|
|
150
162
|
"timeline.js": "ddde3cd2cb7dfa90877b9b80250c470983ec773711410200302d08c94e811eeb"
|
|
151
163
|
}
|
|
@@ -154,7 +166,7 @@
|
|
|
154
166
|
"name": "@picasso/progress-reports",
|
|
155
167
|
"version": "0.1.0",
|
|
156
168
|
"files": {
|
|
157
|
-
"index.js": "
|
|
169
|
+
"index.js": "05096be428d65d23d41f2bf3453d559f7a8b0e40c9ae074bbd9efa79ba22e9ff",
|
|
158
170
|
"package.json": "b023bd7eca1de3c72618750e7ae586f63b1b6c07b4b1735ecd7746c0177e288d",
|
|
159
171
|
"report.js": "430e3d834789a1d45e1442dcb26939b91f48dfe852d9c6df02223694b6f46728"
|
|
160
172
|
}
|
|
@@ -180,7 +192,7 @@
|
|
|
180
192
|
"command.js": "d22cf2c104e1992cf62ae228304d3f87bdab21a8f3fa88ea8fa0380cfe8dcd21",
|
|
181
193
|
"read.js": "9e2043a2bdac389a17c395a995aaea753699e74c3978980f5623955693332f1a",
|
|
182
194
|
"rewrite.js": "a042545b301ad5ba0c2ab11c7f273125935ef2a377b53f672217d08bf7f6be43",
|
|
183
|
-
"settings.js": "
|
|
195
|
+
"settings.js": "05b2419003b9bcfb1ab245b96b3d1331af91ca4b99c28fa54d26656d006ba281",
|
|
184
196
|
"urls.js": "73e0c5cba82f63cd80e3ff76889777580f4ebed8084bb70287193a7ce12f9eae",
|
|
185
197
|
"xmd.js": "ca6fa8516e1a13dc2d687173a2bde5409f207b447c13ec7a15cd633dbc0ed3be"
|
|
186
198
|
}
|
|
@@ -189,13 +201,14 @@
|
|
|
189
201
|
"name": "@picasso/web-search",
|
|
190
202
|
"version": "0.1.0",
|
|
191
203
|
"files": {
|
|
192
|
-
"index.js": "
|
|
193
|
-
"package.json": "
|
|
194
|
-
"backends.js": "
|
|
195
|
-
"config.js": "
|
|
196
|
-
"failure.js": "
|
|
204
|
+
"index.js": "e1474125327727ddf5a8249e610b17044241aeb868dafd164203cb7c26b55272",
|
|
205
|
+
"package.json": "e8fb5d4c66fbcbd462a1fc580e0561e4388ffbebc1ac94d55c6f793e6ae2fe88",
|
|
206
|
+
"backends.js": "b8dbbefdd2ce8d6f1b6af67916f3d4646ce45d128ced72acbf90f11a7ae598cf",
|
|
207
|
+
"config.js": "e49a506dca5187d7552394e557377de1009fc0b30d468fe30b7f7764c9001e54",
|
|
208
|
+
"failure.js": "4e43b1dd0cb782e17fb574359a732338475eceb63301f98d0aa027250b15db2e",
|
|
197
209
|
"format.js": "98ce375335319a99476afc82e39c29192db78a8a7fbdebbdedfd0b75065a0f1f",
|
|
198
|
-
"
|
|
210
|
+
"requests.js": "447a13c4bfe2e2da2760669af7c2320d4776a89c1c1a9efa2c5923592fc0a6db",
|
|
211
|
+
"router.js": "5e12c591070b4f154fb037cad3383763ca7501aee15356ba72b1ca75bd303d2e"
|
|
199
212
|
}
|
|
200
213
|
},
|
|
201
214
|
"picasso-options": {
|
|
@@ -205,6 +218,14 @@
|
|
|
205
218
|
"index.js": "b3382cae6ac274995672e29436e40db6be902017d31a8672ed90ac382c889ee2",
|
|
206
219
|
"package.json": "1a707ea5a282f38011b39c47d1fe725f8d34f84dbb85068b68ab8458256b6bae"
|
|
207
220
|
}
|
|
221
|
+
},
|
|
222
|
+
"picasso-compaction": {
|
|
223
|
+
"name": "@picasso/compaction",
|
|
224
|
+
"version": "0.1.0",
|
|
225
|
+
"files": {
|
|
226
|
+
"index.js": "5259ba6bd322989fe2931c001054e8e246a23d8a50709a28a70596c0719e908d",
|
|
227
|
+
"package.json": "33f04b41e913abfdc7fcccc6043bbe27b9660cd45125d62953e1fe8d0f95ee37"
|
|
228
|
+
}
|
|
208
229
|
}
|
|
209
230
|
}
|
|
210
231
|
},
|