Repository navigation
Commit eb3c65f
committed
Ship v0.43.1: Perplexity Agent API, trusted project rules, faster first request
- Perplexity: Sonar's Chat Completions endpoint was retired on 2026-09-27.
The route now speaks Responses at api.perplexity.ai/v1 and starts on
perplexity/sonar. api::perplexity fits each request to the Agent API's
narrower schema (message / function_call / function_call_output items
only, typed messages, input_* parts, image URLs within 2048 characters,
no include / tool_choice / parallel_tool_calls / prompt_cache_key,
effort-only reasoning, an output ceiling for anthropic/* models).
- Permissions: a project's .nur/permissions.toml applied its allow rules
on open, so a cloned repo could approve its own bash and writes even in
manual mode. Its deny and ask rules still apply at once; its allow rules
wait for /permissions trust or `nur permissions trust`, recorded per
directory against a digest of the list, so an edit holds them again.
nur names what a project asks to auto-approve at startup (stderr for
`nur run`), and /cd reloads the rules for the new directory.
- First request: a session's first turn launched `npm prefix -g`
(find_bin looking for `py`), and every turn launched the PLUR CLI,
before the first model request. find_bin now asks PATH before probing
runtimes; PLUR context and the OptMem wake are fetched as a session
opens and reused, PLUR refreshed between turns. Release builds here:
TUI Enter-to-request ~2.1 s -> ~0.27 s, a warm headless `nur run`
~2.3 s -> ~1.3 s.
- The demo film pipeline moved out of the repository; the README shows
the site-hosted poster.
- NUR_STARTUP_TRACE: writeln! through serde_json's Display wrote a row
token by token, so rows from concurrent threads interleaved mid-line
(174 of 1600 parsed under contention) and the startup suite failed
intermittently. Each row is now one append.
- E2E: scenarios 25-27 (Perplexity wire shape, untrusted and trusted
project rules). The harness's warm skill index never matched a new
scenario home, so every scenario rescanned every skill root; it now
carries its paths into each home and refreshes after every run. The
startup and regression suites, which hold the index builder's lease to
test indexing, start cold on purpose (warm_skills=False).1 parent 45f02cd commit eb3c65f
44 files changed
Lines changed: 1221 additions & 2508 deletions
File tree
- docs
- assets
- scripts/demo
- player
- src
- agent
- api
- ecosystem
- tui
- app
- tests/e2e
- scenarios
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
276 | 294 | | |
277 | 295 | | |
278 | 296 | | |
| |||
521 | 539 | | |
522 | 540 | | |
523 | 541 | | |
524 | | - | |
| 542 | + | |
525 | 543 | | |
526 | 544 | | |
527 | 545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
270 | 277 | | |
271 | 278 | | |
272 | 279 | | |
| |||
283 | 290 | | |
284 | 291 | | |
285 | 292 | | |
286 | | - | |
| 293 | + | |
287 | 294 | | |
288 | 295 | | |
289 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| |||
0 commit comments