@plurnk/plurnk-service 0.9.0 → 0.11.0
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/SPEC.md +49 -77
- package/dist/content/line-marker.d.ts +2 -17
- package/dist/content/line-marker.d.ts.map +1 -1
- package/dist/content/line-marker.js +11 -319
- package/dist/content/line-marker.js.map +1 -1
- package/dist/content/matcher.d.ts.map +1 -1
- package/dist/content/matcher.js +9 -33
- package/dist/content/matcher.js.map +1 -1
- package/dist/content/mimetype-binary.d.ts +0 -1
- package/dist/content/mimetype-binary.d.ts.map +1 -1
- package/dist/content/mimetype-binary.js +13 -82
- package/dist/content/mimetype-binary.js.map +1 -1
- package/dist/content/path-mimetype.d.ts +0 -1
- package/dist/content/path-mimetype.d.ts.map +1 -1
- package/dist/content/path-mimetype.js +10 -44
- package/dist/content/path-mimetype.js.map +1 -1
- package/dist/core/Engine.d.ts.map +1 -1
- package/dist/core/Engine.js +33 -101
- package/dist/core/Engine.js.map +1 -1
- package/dist/core/ProviderInstantiate.d.ts.map +1 -1
- package/dist/core/ProviderInstantiate.js +15 -1
- package/dist/core/ProviderInstantiate.js.map +1 -1
- package/dist/core/caps/CapsResolve.d.ts +5 -0
- package/dist/core/caps/CapsResolve.d.ts.map +1 -0
- package/dist/core/caps/CapsResolve.js +13 -0
- package/dist/core/caps/CapsResolve.js.map +1 -0
- package/dist/core/caps/DbChannelCaps.d.ts +16 -0
- package/dist/core/caps/DbChannelCaps.d.ts.map +1 -0
- package/dist/core/caps/DbChannelCaps.js +41 -0
- package/dist/core/caps/DbChannelCaps.js.map +1 -0
- package/dist/core/caps/DbEntryCaps.d.ts +19 -0
- package/dist/core/caps/DbEntryCaps.d.ts.map +1 -0
- package/dist/core/caps/DbEntryCaps.js +28 -0
- package/dist/core/caps/DbEntryCaps.js.map +1 -0
- package/dist/core/caps/DbNotifyCaps.d.ts +8 -0
- package/dist/core/caps/DbNotifyCaps.d.ts.map +1 -0
- package/dist/core/caps/DbNotifyCaps.js +32 -0
- package/dist/core/caps/DbNotifyCaps.js.map +1 -0
- package/dist/core/caps/DbTagCaps.d.ts +17 -0
- package/dist/core/caps/DbTagCaps.d.ts.map +1 -0
- package/dist/core/caps/DbTagCaps.js +37 -0
- package/dist/core/caps/DbTagCaps.js.map +1 -0
- package/dist/core/git-membership.js +7 -7
- package/dist/core/git-membership.js.map +1 -1
- package/dist/core/packet-wire.d.ts +0 -5
- package/dist/core/packet-wire.d.ts.map +1 -1
- package/dist/core/packet-wire.js +2 -54
- package/dist/core/packet-wire.js.map +1 -1
- package/dist/core/resolveForLoop.d.ts +0 -11
- package/dist/core/resolveForLoop.d.ts.map +1 -1
- package/dist/core/resolveForLoop.js +7 -29
- package/dist/core/resolveForLoop.js.map +1 -1
- package/dist/core/results.d.ts +6 -34
- package/dist/core/results.d.ts.map +1 -1
- package/dist/core/results.js +19 -44
- package/dist/core/results.js.map +1 -1
- package/dist/core/scheme-types.d.ts.map +1 -1
- package/dist/core/types.d.ts +2 -25
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +1 -16
- package/dist/core/types.js.map +1 -1
- package/dist/schemes/Exec.d.ts +2 -4
- package/dist/schemes/Exec.d.ts.map +1 -1
- package/dist/schemes/Exec.js +5 -12
- package/dist/schemes/Exec.js.map +1 -1
- package/dist/schemes/File.d.ts.map +1 -1
- package/dist/schemes/File.js +9 -10
- package/dist/schemes/File.js.map +1 -1
- package/dist/schemes/Known.d.ts +2 -4
- package/dist/schemes/Known.d.ts.map +1 -1
- package/dist/schemes/Known.js +0 -6
- package/dist/schemes/Known.js.map +1 -1
- package/dist/schemes/Plurnk.d.ts +2 -4
- package/dist/schemes/Plurnk.d.ts.map +1 -1
- package/dist/schemes/Plurnk.js +0 -6
- package/dist/schemes/Plurnk.js.map +1 -1
- package/dist/schemes/Skill.d.ts +2 -4
- package/dist/schemes/Skill.d.ts.map +1 -1
- package/dist/schemes/Skill.js +0 -6
- package/dist/schemes/Skill.js.map +1 -1
- package/dist/schemes/Unknown.d.ts +2 -4
- package/dist/schemes/Unknown.d.ts.map +1 -1
- package/dist/schemes/Unknown.js +0 -6
- package/dist/schemes/Unknown.js.map +1 -1
- package/dist/schemes/_entry-crud.d.ts.map +1 -1
- package/dist/schemes/_entry-crud.js +2 -3
- package/dist/schemes/_entry-crud.js.map +1 -1
- package/dist/schemes/_entry-find.d.ts.map +1 -1
- package/dist/schemes/_entry-find.js +6 -7
- package/dist/schemes/_entry-find.js.map +1 -1
- package/dist/schemes/_entry-manifest.d.ts +1 -1
- package/dist/schemes/_entry-manifest.d.ts.map +1 -1
- package/dist/schemes/_entry-manifest.js +14 -16
- package/dist/schemes/_entry-manifest.js.map +1 -1
- package/dist/schemes/_entry-ops.d.ts +1 -3
- package/dist/schemes/_entry-ops.d.ts.map +1 -1
- package/dist/schemes/_entry-ops.js +1 -59
- package/dist/schemes/_entry-ops.js.map +1 -1
- package/dist/server/clientTurn.js +1 -1
- package/dist/server/clientTurn.js.map +1 -1
- package/dist/server/methods/op_hide.js +1 -1
- package/dist/server/methods/op_hide.js.map +1 -1
- package/dist/server/methods/op_show.js +1 -1
- package/dist/server/methods/op_show.js.map +1 -1
- package/migrations/0000-00-00.01_schema.sql +0 -13
- package/package.json +14 -16
package/SPEC.md
CHANGED
|
@@ -16,7 +16,7 @@ Canonical meanings. When a doc, comment, test name, or commit message uses one o
|
|
|
16
16
|
|---|---|
|
|
17
17
|
| **agent** | The plurnk runtime singleton. Owns agent-scoped state (default scheme registry, agent-wide entries). One per process. |
|
|
18
18
|
| **session** | Durable user-named workspace. Persists across runs and process restarts. Identity: `sessions.id` + unique `sessions.name`. |
|
|
19
|
-
| **run** | A stretch of work within a session. Multiple runs per session. May fork from another run via `parent_run_id`. Owns
|
|
19
|
+
| **run** | A stretch of work within a session. Multiple runs per session. May fork from another run via `parent_run_id`. Owns the log entries. |
|
|
20
20
|
| **loop** | One model-driven or client-driven iteration within a run. Status ∈ {102, 200, 499}. Many loops per run. The model runs inside a loop; each client RPC has its own loop. |
|
|
21
21
|
| **turn** | One round-trip with the LLM (or one client RPC dispatch). One assembled prompt sent, one parsed response handled. Many turns per loop. Identity: `(loop_id, sequence)`. |
|
|
22
22
|
| **op** | One DSL operation the model emits. Parsed into a `PlurnkStatement`. Examples: `EDIT`, `READ`, `SEND`, `FIND`, `COPY`, `MOVE`, `SHOW`, `HIDE`, `EXEC`. One turn produces zero or more ops. |
|
|
@@ -29,20 +29,19 @@ Canonical meanings. When a doc, comment, test name, or commit message uses one o
|
|
|
29
29
|
| Term | Meaning |
|
|
30
30
|
|---|---|
|
|
31
31
|
| **entry** | The unit of canonical state. Identity: `(scope, scheme, pathname)`. Holds one or more `channels` of content plus `tags` and `attributes`. |
|
|
32
|
-
| **channel** | A named content buffer on an entry. Examples: `body`, `
|
|
32
|
+
| **channel** | A named content buffer on an entry. Examples: `body`, `stdout`, `stderr`, `headers`, `symbols`. Each channel has `content`, `mimetype`, `tokens`, `state`. |
|
|
33
33
|
| **scope** | `"agent"` or `"session"`. Determines who reads. Agent-scope entries visible to every run; session-scope entries to that session's runs. |
|
|
34
34
|
| **scheme** | A URI prefix + handler. `known`, `unknown`, `file`, `https`, `exec`. The scheme handler interprets paths under its prefix and implements the op surface. Consumption surface §3.6; author contract: [plurnk-schemes](https://github.com/plurnk/plurnk-schemes). |
|
|
35
|
-
| **mimetype** | A channel's content type. Drives the
|
|
35
|
+
| **mimetype** | A channel's content type. Drives the handler that produces the structural projections (`symbols`, `deepJson`, `deepXml`). Consumption surface §4.5; author contract: [plurnk-mimetypes](https://github.com/plurnk/plurnk-mimetypes). |
|
|
36
36
|
| **provider** | An LLM transport. Implements `generate({messages, signal})` against a wire protocol. Consumption surface §2; author contract: [plurnk-providers](https://github.com/plurnk/plurnk-providers). |
|
|
37
37
|
|
|
38
|
-
### §0.3 State /
|
|
38
|
+
### §0.3 State / status
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
Independent axes on entries and channels. Confusion across them is a recurring source of bugs.
|
|
41
41
|
|
|
42
42
|
| Term | Type | Meaning |
|
|
43
43
|
|---|---|---|
|
|
44
44
|
| **status** | HTTP int | Outcome of an operation. Carried on `log_entries.status_rx`, returned from op handlers. Per the catalogue (§3.5). |
|
|
45
|
-
| **visibility** | `0 \| 1` | Per-`(run, entry, channel)` bit. `1 = indexed` (appears in `packet.system.index`), `0 = hidden` (not rendered, recallable via explicit READ). |
|
|
46
45
|
| **channel state** | `static \| active \| closed \| errored` | Streaming lifecycle of a channel's content. Metadata, not gating — engine renders content regardless of state. |
|
|
47
46
|
| **entry state** | `proposed \| resolved \| cancelled` | Proposal lifecycle. `proposed` = pending client accept; `resolved` = side effect happened; `cancelled` = client rejected. Distinct from channel state. |
|
|
48
47
|
| **outcome** | `string \| null` | Short reason for `failed`/`cancelled` (`"permission:403"`, `"aborted"`, `"not_found"`). Opaque to most callers. |
|
|
@@ -73,7 +72,6 @@ Three independent axes on entries and channels. Confusion across them is a recur
|
|
|
73
72
|
| Term | Meaning |
|
|
74
73
|
|---|---|
|
|
75
74
|
| **packet** | The turn's full exchange shape: `{system, user, assistant, assistantRaw}`. Persisted on `turns.packet`. |
|
|
76
|
-
| **index** | `packet.system.index`. Entry list visible to the model this turn. Built from `visibility` lattice + mimetype.preview. |
|
|
77
75
|
| **log** | `packet.system.log`. Chronological list of `log_entries` in scope this turn. |
|
|
78
76
|
| **render** | The act of computing the packet from current DB state at turn boundaries. Mimetype handlers fire at render time. |
|
|
79
77
|
|
|
@@ -252,7 +250,7 @@ Engine → scheme guarantees:
|
|
|
252
250
|
|
|
253
251
|
Author-facing contract: [plurnk-mimetypes](https://github.com/plurnk/plurnk-mimetypes). Below: firing semantics + consumption surface.
|
|
254
252
|
|
|
255
|
-
**Firing semantics.** Render-time consumers. Engine invokes during packet assembly; handlers read current channel content (possibly mid-stream), produce structural view, result lands in
|
|
253
|
+
**Firing semantics.** Render-time consumers. Engine invokes during packet assembly; handlers read current channel content (possibly mid-stream), produce structural view, result lands in the manifest catalog. Schemes do NOT call mimetype handlers at write time. {§4-schemes-do-not-invoke-handlers}
|
|
256
254
|
|
|
257
255
|
### §4.1 Manifest
|
|
258
256
|
|
|
@@ -262,15 +260,15 @@ Per author contract. Manifest declares `kind: "mimetype"`; handler class declare
|
|
|
262
260
|
|
|
263
261
|
Author contract owned by plurnk-mimetypes. plurnk-service consumes through two entry points:
|
|
264
262
|
|
|
265
|
-
- `Mimetypes.process(input
|
|
263
|
+
- `Mimetypes.process(input)` — projection entry point; returns the structural projections + extent (`deepJson`/`deepXml` for matching, `totalLines` for the catalog). {§4.2-process-entry-point}
|
|
266
264
|
- `Mimetypes.query(input, expression)` — body-matcher dispatch (§16.1); returns `QueryMatch[]`.
|
|
267
265
|
|
|
268
266
|
Cross-cutting promises service relies on:
|
|
269
267
|
|
|
270
268
|
- Render-time only. Schemes do not invoke.
|
|
271
|
-
- Deterministic for a given (content,
|
|
269
|
+
- Deterministic for a given (content, mimetype) tuple.
|
|
272
270
|
- Validation errors propagate (fail-hard).
|
|
273
|
-
-
|
|
271
|
+
- Degraded projection (a `grammarMissing` marker) rather than throw when a grammar is absent.
|
|
274
272
|
|
|
275
273
|
### §4.3 What handlers do NOT do
|
|
276
274
|
|
|
@@ -284,7 +282,7 @@ No mimetype handlers ship in-tree. Framework + every handler are siblings.
|
|
|
284
282
|
|
|
285
283
|
### §4.5 Consumption surface
|
|
286
284
|
|
|
287
|
-
plurnk-service is mimetype-illiterate. Engine hands channel content + mimetype label
|
|
285
|
+
plurnk-service is mimetype-illiterate. Engine hands channel content + mimetype label to `Mimetypes.process({content, hint})`; the manifest build uses `result.totalLines` for each channel's `lines`. Content reaches the model on READ, not as a rendered preview.
|
|
288
286
|
|
|
289
287
|
**Required dependencies** (hard deps in `package.json`):
|
|
290
288
|
|
|
@@ -307,23 +305,16 @@ new Mimetypes({
|
|
|
307
305
|
|
|
308
306
|
Fallback heuristic is a boot-before-provider-resolved tripwire.
|
|
309
307
|
|
|
310
|
-
**
|
|
308
|
+
**Manifest build.** `EntryManifest.buildManifestBody` calls `process({ content, hint })` per channel and reads `result.totalLines` for the catalog's `lines`:
|
|
311
309
|
|
|
312
310
|
```ts
|
|
313
|
-
const result = await
|
|
314
|
-
|
|
315
|
-
{ budget: this.#previewBudget },
|
|
316
|
-
);
|
|
317
|
-
entry.channels[row.channel] = {
|
|
318
|
-
content: result.preview,
|
|
319
|
-
mimetype: row.mimetype,
|
|
320
|
-
tokens: row.tokens,
|
|
321
|
-
};
|
|
311
|
+
const result = await mimetypes.process({ content: r.content, hint: r.mimetype });
|
|
312
|
+
entry.channels[r.channel] = { mimetype: r.mimetype, tokens: tokenize(r.content), lines: result.totalLines };
|
|
322
313
|
```
|
|
323
314
|
|
|
324
|
-
`hint` short-circuits detection.
|
|
315
|
+
`hint` short-circuits detection. The service consumes only `totalLines` (extent) and the structural channels (`deepJson`/`deepXml`, for matcher dispatch); never a rendered preview — content reaches the model on READ.
|
|
325
316
|
|
|
326
|
-
**Conformance.** Mimetype-specific behavioral tests live in each handler's own surface. plurnk-service intg covers integration: engine routes through `Mimetypes.process` with right hint
|
|
317
|
+
**Conformance.** Mimetype-specific behavioral tests live in each handler's own surface. plurnk-service intg covers integration: the engine routes through `Mimetypes.process` with the right hint and the catalog reflects `totalLines`; tests use auto-discovery (production handler set); a custom-handler test injects a stub `BaseHandler` via `loader + discovery`.
|
|
327
318
|
|
|
328
319
|
---
|
|
329
320
|
|
|
@@ -335,15 +326,13 @@ Every entry has named channels. **Channels are append-only content stores** keye
|
|
|
335
326
|
|
|
336
327
|
EDIT writes one channel per call — the channel resolved from the path's fragment (or the scheme's `defaultChannel` when no fragment). {§5.1-edit-writes-only-body}
|
|
337
328
|
|
|
338
|
-
No stored `preview` channel
|
|
329
|
+
No stored `preview` channel — channel content is pulled on READ, never previewed.
|
|
339
330
|
|
|
340
331
|
Schemes MAY declare multiple channels (`exec`: stdout/stderr/stdin; `http`: body/header; SSE: per-event-type). Each goes in `manifest.channels` with mimetype pinned; rendered independently.
|
|
341
332
|
|
|
342
|
-
### §5.2
|
|
343
|
-
|
|
344
|
-
Per-`(run, entry, channel)` bit in the `visibility` table. EDIT-creating-new sets `indexed=1` for every channel of the new entry in the current run. SHOW flips all channels of target entry to 1; HIDE flips to 0. {§5.2-fragmentless-show-hide-flips-all} Channel-specific SHOW/HIDE via fragment per §5.5.
|
|
333
|
+
### §5.2 Entries carry no visibility
|
|
345
334
|
|
|
346
|
-
|
|
335
|
+
Every entry is uniformly listed in `plurnk://manifest.json` (§15) and READable — entries have no per-run shown/hidden state. Context curation is the model's, on the **log** (SHOW/HIDE collapse/expand log rows, §6.3), never on entries.
|
|
347
336
|
|
|
348
337
|
### §5.3 Mimetype is a (scheme, channel) property — never a default
|
|
349
338
|
|
|
@@ -362,14 +351,12 @@ Rules:
|
|
|
362
351
|
3. Unknown channel name → 400. {§5.5-unknown-channel-400}
|
|
363
352
|
4. Schemes without `defaultChannel` reject fragment-less EDIT/READ.
|
|
364
353
|
5. Non-default channel EDIT requires entry to exist (404 if absent); default-channel EDIT creates. {§5.5-fragment-on-nonexistent-404}
|
|
365
|
-
6. Fragment-targeted SHOW/HIDE flips only the named channel; fragment-less flips all per §5.2. {§5.5-fragment-targeted-show-hide}
|
|
366
|
-
|
|
367
354
|
| URI | Channel |
|
|
368
355
|
|---|---|
|
|
369
356
|
| `known://france/capital` | body (default) |
|
|
370
|
-
| `known://france/capital#
|
|
371
|
-
| `exec://
|
|
372
|
-
| `exec://
|
|
357
|
+
| `known://france/capital#symbols` | symbols |
|
|
358
|
+
| `exec://sh/1/1/2#stdout` | stdout |
|
|
359
|
+
| `exec://sh/1/1/2#stderr` | stderr |
|
|
373
360
|
| `sse://feed/y#data` | data |
|
|
374
361
|
| `log://N/T/A` | (no channel concept; atomic log row) |
|
|
375
362
|
|
|
@@ -380,12 +367,12 @@ Op implications:
|
|
|
380
367
|
|
|
381
368
|
RPC params carry fragments inline via the `target` string (`{ target: "known://x#stderr" }`).
|
|
382
369
|
|
|
383
|
-
**Wire rendering: default channel is path-only.** Heredoc fence omits `#channel` when channel matches `defaultChannel`. Single-channel entries render path-only; multi-channel entries render the default path-only and only non-default carries `#name`.
|
|
370
|
+
**Wire rendering: default channel is path-only.** Heredoc fence omits `#channel` when channel matches `defaultChannel`. Single-channel entries render path-only; multi-channel entries render the default path-only and only non-default carries `#name`.
|
|
384
371
|
|
|
385
372
|
```
|
|
386
373
|
<<notes.md:...:notes.md — file scheme (bare)
|
|
387
|
-
<<exec://
|
|
388
|
-
<<exec://
|
|
374
|
+
<<exec://sh/1/1/2:...:exec://sh/1/1/2 — exec default (stdout)
|
|
375
|
+
<<exec://sh/1/1/2#stderr:...:exec://sh/1/1/2#stderr — non-default
|
|
389
376
|
<<log://1/1/0:...:log://1/1/0 — atomic log row
|
|
390
377
|
```
|
|
391
378
|
|
|
@@ -398,7 +385,7 @@ Each channel has `state ∈ {static, active, closed, errored}`. Metadata only, n
|
|
|
398
385
|
- `closed` — stream ended cleanly. Content final.
|
|
399
386
|
- `errored` — stream ended in error. Content may be partial; reads return what accumulated.
|
|
400
387
|
|
|
401
|
-
Schemes own transitions; UPDATE `entry_channels.state` as connection lifecycle progresses. {§5.6-schemes-own-state-transitions}
|
|
388
|
+
Schemes own transitions; UPDATE `entry_channels.state` as connection lifecycle progresses. {§5.6-schemes-own-state-transitions} State does not gate reads — schemes return accumulated `content` regardless (§5.6-state-is-metadata).
|
|
402
389
|
|
|
403
390
|
Model uses state to anticipate growth between turns. Clients use state for UI (spinner / red border / etc.).
|
|
404
391
|
|
|
@@ -413,9 +400,7 @@ Per-op semantics. AST shapes from `@plurnk/plurnk-grammar`'s `PlurnkStatement`.
|
|
|
413
400
|
AST: `{ op: "EDIT", target, body: string | null, signal: tags | null, lineMarker? }`.
|
|
414
401
|
|
|
415
402
|
- Resolves target channel from fragment (§5.5); unknown channel → 400; undeclared in manifest → engine crash (§5.3).
|
|
416
|
-
- Writes body; `body: null` clears. {§6.1-null-clears}
|
|
417
|
-
- Sets `indexed=1` for written channel in current run. {§6.1-indexed}
|
|
418
|
-
- Returns `{ status: 201, entryId }` for new entries; `{ status: 200, entryId }` for content updates. {§6.1-status-201-200}
|
|
403
|
+
- Writes body; `body: null` clears. {§6.1-null-clears}- Returns `{ status: 201, entryId }` for new entries; `{ status: 200, entryId }` for content updates. {§6.1-status-201-200}
|
|
419
404
|
- A write that changes nothing — identical content and no new tag — returns `{ status: 304, entryId }`, mirroring SHOW/HIDE's no-op (§6.3). {§6.1-noop-304}
|
|
420
405
|
- Tags from `signal[]` apply additively via `entry_tags` (scheme may vary). {§6.1-tags-additive}
|
|
421
406
|
|
|
@@ -431,8 +416,7 @@ AST: `{ op: "READ", target, body: MatcherBody | null, signal: tags | null, lineM
|
|
|
431
416
|
|
|
432
417
|
AST: `{ op: "SHOW"|"HIDE", target, body: MatcherBody | null, signal: tags | null, lineMarker? }`.
|
|
433
418
|
|
|
434
|
-
|
|
435
|
-
- Returns 200 on transition {§6.3-flip-200}, 304 on no-op {§6.3-noop-304}, 404 if entry absent {§6.3-absent-404}.
|
|
419
|
+
SHOW/HIDE operate on the **log** (`log://`) — the model's context-curation surface (§15). HIDE collapses a log row to its path; SHOW restores its body. Non-destructive: rows and bodies persist, re-SHOWable. Entries carry no visibility (§5.2), so SHOW/HIDE against an entry scheme returns 501.
|
|
436
420
|
|
|
437
421
|
### §6.4 COPY (engine-orchestrated)
|
|
438
422
|
|
|
@@ -445,7 +429,6 @@ Engine orchestrates over CRUD primitives (§3.2, §3.4):
|
|
|
445
429
|
3. Mimetype compat — channels' mimetypes must be accepted by `dst_scheme.manifest.channels`. Mismatch → 415.
|
|
446
430
|
4. Tags: `signal` non-null replaces source tags {§6.4-signal-replaces-source-tags}; null/empty carries source tags {§6.4-no-signal-carries-source-tags}.
|
|
447
431
|
5. `dst_scheme.writeEntry({channels, tags})`.
|
|
448
|
-
6. Dest `indexed=1` in current run.
|
|
449
432
|
|
|
450
433
|
Returns 201 on success. Same- and cross-scheme COPY share the orchestrator. {§6.4-cross-scheme-copy}
|
|
451
434
|
|
|
@@ -481,11 +464,11 @@ AST: `{ op: "EXEC", target (cwd), body: string | null (command), signal: string
|
|
|
481
464
|
|
|
482
465
|
Engine routes unconditionally to `exec` scheme (path slot is `cwd`, not a URI). The runtime slot (`signal`) selects an executor, resolved against the boot-time `ExecutorRegistry` — siblings discovered and probed at startup, availability cached, default `sh`. Unknown or unavailable runtime → 501 carrying the probe `detail`. {§6.8-registry-resolves}
|
|
483
466
|
|
|
484
|
-
**Effect-gating.** Each executor declares an `effect` (`pure` | `read` | `host`); the service maps it to policy (`EffectPolicy`). A `host` runtime (subprocess; file-backed sqlite) mutates the host → **propose**: the run waits for a human gate, then spawns and writes stdout/stderr to channels of an `exec
|
|
467
|
+
**Effect-gating.** Each executor declares an `effect` (`pure` | `read` | `host`); the service maps it to policy (`EffectPolicy`). A `host` runtime (subprocess; file-backed sqlite) mutates the host → **propose**: the run waits for a human gate, then spawns and writes stdout/stderr to channels of an `exec://<runtime>/<loop>/<turn>/<seq>` entry (the executor is the URI authority; the coordinate that follows matches the op's log-row coordinate, e.g. `exec://sh/1/1/2`), returning `102 Processing` immediately. Channel state transitions (`active` → `closed`/`errored`) drive the model's view at subsequent turn boundaries (§5.6). {§6.8-host-proposes}
|
|
485
468
|
|
|
486
469
|
A `read` runtime (observes external state, e.g. search) or `pure` runtime (no observable effect, e.g. `:memory:` sqlite) is side-effect-free → **auto-run** in-process: no proposal, no human gate, no notification. The run is awaited synchronously and its channel content rides back as the EXEC result body the same turn — not streamed to the entry for a next-turn read. {§6.8-readpure-inline}
|
|
487
470
|
|
|
488
|
-
`SEND[499](exec
|
|
471
|
+
`SEND[499](exec://<runtime>/<loop>/<turn>/<seq>)` cancels in-flight subprocess via subscription registry's stored AbortController (§7.7).
|
|
489
472
|
|
|
490
473
|
---
|
|
491
474
|
|
|
@@ -501,7 +484,7 @@ Subscription registry is plurnk-service runtime state (its own SQLite table). Ex
|
|
|
501
484
|
|
|
502
485
|
### §7.2 Chunk accumulation
|
|
503
486
|
|
|
504
|
-
SSE event types, WS message types, exec stdout/stderr each map to a named channel. Channel record (`ChannelContent`): `content`, `mimetype`, `tokens`. Active-connection state lives in the subscription registry, not on the channel.
|
|
487
|
+
SSE event types, WS message types, exec stdout/stderr each map to a named channel. Channel record (`ChannelContent`): `content`, `mimetype`, `tokens`. Active-connection state lives in the subscription registry, not on the channel. Chunks accumulate into the channel as they arrive — not buffered until close. {§7.2-chunks-accumulate}
|
|
505
488
|
|
|
506
489
|
### §7.3 No per-chunk log rows
|
|
507
490
|
|
|
@@ -509,17 +492,9 @@ Channels are the source of truth for chunk content. Log captures lifecycle event
|
|
|
509
492
|
|
|
510
493
|
Model sees lifecycle events in `packet.system.log[]` per turn.
|
|
511
494
|
|
|
512
|
-
### §7.4 Index tile rendering
|
|
513
|
-
|
|
514
|
-
Per-channel previews use `SchemeRegistration.channel_orientations` (grammar): `"head"` (front-anchored) or `"tail"` (most recent); default `"head"`. Renderer passes `PLURNK_ENTRY_SIZE_DEFAULT_TOKENS` budget (§12) to `Mimetypes.process()`; handler fits to budget per §14.2.
|
|
515
|
-
|
|
516
495
|
### §7.5 Deep slices on demand
|
|
517
496
|
|
|
518
|
-
`<<READ(sse://feed/x#data)<N-M>:…:READ` pulls a slice into a log row when the model wants
|
|
519
|
-
|
|
520
|
-
### §7.6 HIDE is pure archive
|
|
521
|
-
|
|
522
|
-
`<<HIDE(sse://feed/x)::HIDE` demotes from index. Connection persists; channels keep updating. HIDE never tears down a subscription.
|
|
497
|
+
`<<READ(sse://feed/x#data)<N-M>:…:READ` pulls a slice into a log row when the model wants a specific line-range of the stream.
|
|
523
498
|
|
|
524
499
|
### §7.7 SEND for stream control
|
|
525
500
|
|
|
@@ -556,7 +531,7 @@ No generator. SQLite-optimal: STRICT (3.37+), `INTEGER PRIMARY KEY` aliasing, ex
|
|
|
556
531
|
### §8.2 SQL/TS responsibility boundary
|
|
557
532
|
|
|
558
533
|
**Lives in SQL:**
|
|
559
|
-
-
|
|
534
|
+
- Render queries — log assembly + the manifest catalog.
|
|
560
535
|
- Cross-scope path collision (CHECK/trigger → 409).
|
|
561
536
|
- Cost rollups (denormalized pico-units; atomic on turn close).
|
|
562
537
|
- Sequence number issuance (1-based per grammar).
|
|
@@ -633,7 +608,6 @@ Plugin discovery (§9) registers whatever's in `node_modules/@plurnk/*`.
|
|
|
633
608
|
### §11.2 What plurnk-service tracks (NOT in grammar)
|
|
634
609
|
|
|
635
610
|
- Channel state (`active`/`closed`/`errored`) — subscription registry, not on `ChannelContent`.
|
|
636
|
-
- Render budget per channel — `PLURNK_ENTRY_SIZE_DEFAULT_TOKENS` (§12); tokenization per §14.2.
|
|
637
611
|
- Backpressure caps — none (§7.8).
|
|
638
612
|
- Stream cancel — `SEND[499]` (§7.7).
|
|
639
613
|
- Delete — MOVE to `/dev/null` (§6.5); `SEND[410]` also deletes as a side-effect (§3.5).
|
|
@@ -664,7 +638,6 @@ Model selection: separate alias cascade in `ProviderRegistry` (§2.3). `PLURNK_M
|
|
|
664
638
|
| `PLURNK_PROPOSAL_TIMEOUT_MS` | `300000` | enforced | ms wait for a proposed entry (status=202) to be resolved before timing out. |
|
|
665
639
|
| `PLURNK_REASON` | `0` | enforced | Reasoning-token budget. 0 = disabled. Positive = budget in tokens; provider modules translate to wire format. |
|
|
666
640
|
| `PLURNK_FETCH_TIMEOUT` | `600000` | enforced | Service-wide ms ceiling on any outbound request (providers, future http schemes). Module-specific overrides are allowed below the ceiling. |
|
|
667
|
-
| `PLURNK_ENTRY_SIZE_DEFAULT_TOKENS` | `256` | enforced | Per-channel preview budget for index tiles (tokens; see §14.2 for the tokenization contract). |
|
|
668
641
|
| `PLURNK_DEBUG` | `0` | reserved | Schema-validation toggle. Not yet enforced. |
|
|
669
642
|
| `PLURNK_LOG_LEVEL` | `info` | reserved | Stdout banner verbosity. Not yet enforced. |
|
|
670
643
|
|
|
@@ -893,13 +866,13 @@ Each entry: question, answer, rationale, migration path.
|
|
|
893
866
|
|
|
894
867
|
### §14.1 Packet assembly: engine-direct, not filter-chain
|
|
895
868
|
|
|
896
|
-
**Question.** Rummy uses priority-ordered filter chains for packet assembly. Plurnk assembles directly in `Engine.#
|
|
869
|
+
**Question.** Rummy uses priority-ordered filter chains for packet assembly. Plurnk assembles directly in `Engine.#buildRequestPacket` (`#buildLog` + the materialized manifest catalog).
|
|
897
870
|
|
|
898
|
-
**Decision.** Engine-direct. Plugin-driven assembly is out of scope.
|
|
871
|
+
**Decision.** Engine-direct. Plugin-driven assembly is out of scope.
|
|
899
872
|
|
|
900
|
-
**Rationale.** Channel + mimetype split already extends rendering
|
|
873
|
+
**Rationale.** Channel + mimetype split already extends rendering. Filter chain would add indirection nothing exercises. Schemes-as-URI-handlers + mimetypes-as-renderers earn extensibility through different shapes than rummy's tag-per-plugin pattern.
|
|
901
874
|
|
|
902
|
-
**Migration path.** If a plugin needs to inject a packet section, grow a single `packet.augment` hook called after `#
|
|
875
|
+
**Migration path.** If a plugin needs to inject a packet section, grow a single `packet.augment` hook called after `#buildRequestPacket`; plugins return system/user augmentation objects merged into the packet. Additive — engine-direct base stays.
|
|
903
876
|
|
|
904
877
|
### §14.2 Tokenomics: real provider tokens, render-weight budget, per-scheme balance
|
|
905
878
|
|
|
@@ -907,16 +880,16 @@ Each entry: question, answer, rationale, migration path.
|
|
|
907
880
|
|
|
908
881
|
**Two measures, never conflated:**
|
|
909
882
|
|
|
910
|
-
- **render-weight** — the tokens the model actually processes this turn (
|
|
883
|
+
- **render-weight** — the tokens the model actually processes this turn (the assembled packet — manifest, log, system sections — plus meta + fences). The budget is about this.
|
|
911
884
|
- **content-depth** — an entry's full content size (`entry_channels.tokens`). The manifest's `tokens` is this.
|
|
912
885
|
|
|
913
886
|
**Built.**
|
|
914
887
|
|
|
915
888
|
- **Provider tokens, stored at write.** `provider.countTokens` is the source of truth; `entry_channels.tokens` (via `_entry-crud`) and `log_entries.tokens` (via `Engine.#writeLog`) are populated at write as a write-time snapshot. A `ceil(len/DIVISOR)` fallback (the divisor tripwire) applies only when no provider tokenizer is wired. {§14.2-tokens-stored-at-write}
|
|
916
|
-
- **Render-weight budget.** The budget headline — `ceiling`, `tokenUsage`, `tokensFree` — is measured from the *assembled packet* (placeholders substituted after measuring), so it reflects what the model actually receives. A `SUM` of stored content-depth would mis-price
|
|
917
|
-
- **Per-scheme balance.** A markdown table groups the model's context by scheme —
|
|
889
|
+
- **Render-weight budget.** The budget headline — `ceiling`, `tokenUsage`, `tokensFree` — is measured from the *assembled packet* (placeholders substituted after measuring), so it reflects what the model actually receives. A `SUM` of stored content-depth would mis-price the rendered packet; render-weight is the accurate measure. {§14.2-render-weight-budget}
|
|
890
|
+
- **Per-scheme balance.** A markdown table groups the model's context by scheme — render-weight `tokens` per scheme — anchored `repo, known, unknown, log`, tail sorted by tokens. The model sees at a glance what's eating its window. {§14.2-per-scheme-balance}
|
|
918
891
|
- **Context-window percent.** The headline carries usage as a percent of the ceiling — `usage Y (P%)` — a fullness gauge beside the absolutes. Reads the ceiling already in hand; no extra provider call. {§14.2-context-percent}
|
|
919
|
-
- **Depth re-counted at render.** The manifest re-tokenizes each entry's `tokens` through the live provider at build — never the write-time snapshot — so a model change between loops can't stale the catalog. Every token figure in the packet is render-fresh, manifest and budget alike; nothing trusts a cross-loop cached total.
|
|
892
|
+
- **Depth re-counted at render.** The manifest re-tokenizes each entry's `tokens` through the live provider at build — never the write-time snapshot — so a model change between loops can't stale the catalog. Every token figure in the packet is render-fresh, manifest and budget alike; nothing trusts a cross-loop cached total.
|
|
920
893
|
- **Over-budget is honest.** When usage exceeds the ceiling, `free` floors at 0 and the percent passes 100 — the readout shows the overshoot rather than a negative free, so the model knows it's over and curates down. {§14.2-over-budget-floor}
|
|
921
894
|
|
|
922
895
|
**Rejected / obviated.**
|
|
@@ -938,7 +911,7 @@ Each entry: question, answer, rationale, migration path.
|
|
|
938
911
|
|
|
939
912
|
- **Identity on the session.** No `projects` table; `sessions.project_root TEXT` (nullable = headless). `entries.scope` unchanged (`∈ {'agent','session'}`). Workspace = session; no users/auth/multi-tenant.
|
|
940
913
|
- **git-ls-files membership.** git present → tracked files (`git ls-files`) are members with no explicit `add` — channel-less markers, disk is truth. git absent → no fs-walk (non-git/headless get no substrate membership).
|
|
941
|
-
- **EMI eager + relevance-bounded.** Materializes
|
|
914
|
+
- **EMI eager + relevance-bounded.** Materializes active git members at prompt-composition, re-reading disk so a divergent member reflects current content.
|
|
942
915
|
- **Disk-read-first edits.** Disk writes route through `File.edit`, which reads disk before diffing — an untouched member's baseline is its real content, never empty. Silent overwrite is structurally prevented.
|
|
943
916
|
|
|
944
917
|
**Deferred — promised, not yet built.** Each carries an anchor with a deliberately-red test so the deferral is tracked, never silently covered.
|
|
@@ -946,25 +919,24 @@ Each entry: question, answer, rationale, migration path.
|
|
|
946
919
|
- **Constraint overlay — the client supersede.** {§14.3-constraint-overlay} A `session_constraints` table layering *add* (members git misses), *ignore* (drop ones it tracks), and *read-only* (member for read, writes rejected) over the git substrate; glob matching via `node:path.matchesGlob`. git-absent, these `effect='add'` constraints are the *sole* membership source — so this overlay is not merely the override knob, it is the entire membership mechanism without git.
|
|
947
920
|
- **EMI divergence signal.** {§14.3-emi-divergence-signal} When EMI re-reads a member whose disk content changed out-of-band, emit a synthetic log entry so the model sees the change (the re-read is built; only the signal is deferred).
|
|
948
921
|
|
|
949
|
-
**Rationale.** No users/tenants. Session is the right scope unit. git+constraints membership keeps the model out of fs-walk territory. EMI's eager-relevance-bounded firing prevents stale
|
|
922
|
+
**Rationale.** No users/tenants. Session is the right scope unit. git+constraints membership keeps the model out of fs-walk territory. EMI's eager-relevance-bounded firing prevents stale content without per-turn full-repo cost.
|
|
950
923
|
|
|
951
924
|
**Migration path.** Tenancy / cross-session shared workspaces require a `workspaces` table joining sessions to workspace id, with constraints lifted off `session_constraints`. Disk co-location semantics unchanged.
|
|
952
925
|
|
|
953
926
|
### §14.4 Budget enforcement: the grinder
|
|
954
927
|
|
|
955
|
-
**Question.** §14.2 surfaces the budget honestly and the model curates against `tokensFree` — almost always enough.
|
|
928
|
+
**Question.** §14.2 surfaces the budget honestly and the model curates against `tokensFree` — almost always enough. Two states defeat self-regulation, neither the model's doing: a jumbo prompt (the turn-0 environment), and an unexpectedly large read. (A jumbo repo is no longer its own case — with no index nothing auto-renders the repo; it surfaces only as a large `manifest.json` READ, which the model chunks like any big read.) What enforces the ceiling when the signal isn't enough?
|
|
956
929
|
|
|
957
|
-
**Decision — a pre-LLM grinder, fired only on actual overflow.** In `Engine.runTurn`, after the packet is assembled (`#buildRequestPacket`) and before `provider.generate`, the assembled render-weight (§14.2) is measured against the ceiling. At or under → the packet ships untouched; the grinder never trims speculatively or "helpfully." {§14.4-overflow-only} On overflow it
|
|
930
|
+
**Decision — a pre-LLM grinder, fired only on actual overflow.** In `Engine.runTurn`, after the packet is assembled (`#buildRequestPacket`) and before `provider.generate`, the assembled render-weight (§14.2) is measured against the ceiling. At or under → the packet ships untouched; the grinder never trims speculatively or "helpfully." {§14.4-overflow-only} On overflow it reverts the prior turn, then hard-stops if that isn't enough:
|
|
958
931
|
|
|
959
932
|
- **Prior-turn rollback.** The immediately-prior turn's log entries — the latest emissions, the ones that pushed the packet over — are hidden (`indexed=0`, the same flag the model's own HIDE uses); the prior turn fit by induction, so reverting it usually lands back under. Hidden, not deleted: rows and bodies persist and are re-SHOWable, so log *history* is preserved while the render shrinks. {§14.4-layer1-rollback}
|
|
960
|
-
- **
|
|
961
|
-
- **Hard stop.** If the packet still overflows with only the manifest left, the loop abandons at 499 (`engine_loop_cancel`) — the path `maxTurns` and the strike threshold already use. No third pass. {§14.4-hard-413-abort}
|
|
933
|
+
- **Hard stop.** If the packet still overflows after the prior-turn rollback, the loop abandons at 499 (`engine_loop_cancel`) — the path `maxTurns` and the strike threshold already use. No further passes. {§14.4-hard-413-abort}
|
|
962
934
|
|
|
963
935
|
**Strike coupling.** A grinder fire bumps the engine's `turnErrors` — the same internal counter cycle detection feeds — so an overflow counts toward the strike streak that ends a runaway loop at 499. This is the pressure that keeps self-curation the path of least resistance. {§14.4-strike-coupling} **Turn 0/1 is exempt:** the first turn's overflow precedes any model action — it's the environment, not the model — so it never strikes. {§14.4-soft-turn-0-1}
|
|
964
936
|
|
|
965
937
|
**What the model sees.** A `budget_overflow` telemetry event (§15.1), in the model's own terms: which of its entries left the window, by scheme. No mechanism vocabulary — no "layer," no "grinder," no "reclaim" — and no advice. The engine reports *what happened to the model's world*; the per-scheme budget table (§14.2) is the diagnostic surface, and the model — which can see what changed in its repo, its reads, its turn — diagnoses the cause the engine can't attribute. {§14.4-event-model-terms} Per the gamification policy (§15.1), the *strike* the overflow triggers stays engine-internal; the model sees the hidden entries, never the accounting.
|
|
966
938
|
|
|
967
|
-
**Rationale.** The model owns curation (§14.2); the grinder is the exceptional backstop. It only *hides* — reversibly — the prior turn's render
|
|
939
|
+
**Rationale.** The model owns curation (§14.2); the grinder is the exceptional backstop. It only *hides* — reversibly — the prior turn's render; nothing is deleted, so the model can SHOW it back and log history stays intact. Rummy's §1316 spec described clearing log *bodies*, but its code instead hid the prior turn whole — because body-clearing is destructive (it deletes the read result) and bespoke. The code was the lesson; plurnk follows it.
|
|
968
940
|
|
|
969
941
|
**Migration path.** None on mechanism. Speculative or non-overflow trimming is a different feature, deliberately excluded — the grinder fires only in response to actual overflow.
|
|
970
942
|
|
|
@@ -995,9 +967,9 @@ type Packet = {
|
|
|
995
967
|
};
|
|
996
968
|
```
|
|
997
969
|
|
|
998
|
-
**Prompt as a first-class entry.** Each loop's prompt is written on loop start as a system-origin `EDIT` against `plurnk://prompt/<loop_id>` (indexable, body channel, text/markdown). At render time the current loop's
|
|
970
|
+
**Prompt as a first-class entry.** Each loop's prompt is written on loop start as a system-origin `EDIT` against `plurnk://prompt/<loop_id>` (indexable, body channel, text/markdown). At render time the current loop's prompt body materializes into `packet.user.prompt`; the entry itself stays READ/HIDE-able like any other.
|
|
999
971
|
|
|
1000
|
-
**The entry catalog.** `plurnk://manifest.json` is a real session entry the model READs to discover what's available — rewritten every turn as a live view of the full entry set. Built in the schemes layer (`_entry-manifest`) and materialized like any entry (the engine only orchestrates the per-turn write — the same pattern as git membership), so it's
|
|
972
|
+
**The entry catalog.** `plurnk://manifest.json` is a real session entry the model READs to discover what's available — rewritten every turn as a live view of the full entry set. Built in the schemes layer (`_entry-manifest`) and materialized like any entry (the engine only orchestrates the per-turn write — the same pattern as git membership), so it's READable and queryable. Body is `application/json`: a flat, **complete, unranked** array — one item per entry across all schemes, every entry listed in no relevance order, each `{ path, channels: { <name>: { mimetype, tokens, lines } } }`. The model ranks and filters the catalog itself by querying it (task-aware); the catalog never ranks for it — the instant it did, it would be an index again. `tokens` is the provider's write-time count (budget depth), `lines` the content extent from `Mimetypes.process().totalLines`. The engine counts neither. It does not list itself. {§15-manifest-catalog}
|
|
1001
973
|
|
|
1002
974
|
### §15.1 user.telemetry — model-facing runtime telemetry
|
|
1003
975
|
|
|
@@ -1177,7 +1149,7 @@ Carried from the contract walk; durable.
|
|
|
1177
1149
|
- **COPY `<L>`** → source range, symmetric with READ `<L>`.
|
|
1178
1150
|
- **READ rx** prefixes each line with `N:\t` per §16.6. `sliceLinesRaw` (used by COPY) returns the lines without prefix.
|
|
1179
1151
|
- **FIND body matcher** applies to entry content (all dialects), per-candidate via `Matcher.matchAgainstContent` → `Mimetypes.query` (status 200 = content hit → entry selected). Scope + tags select candidates in SQL; the path-glob is the (target).
|
|
1180
|
-
- **SHOW/HIDE**
|
|
1152
|
+
- **SHOW/HIDE** operate on the **log** (`log://`), not entries (§6.3) — HIDE collapses a log row to its path, SHOW restores its body. Aimed at an entry scheme they return 501.
|
|
1181
1153
|
- **SEND[410]** deletes as a side-effect (not the model idiom; §6.5): with `#fragment`, that channel only; without, the whole entry. **SEND[499]** is owned by the streaming scheme that holds the subscription.
|
|
1182
1154
|
- **File scheme** reads disk content with mimetype detected via `Mimetypes.detect({ path })` (plumbed through `PlurnkSchemeContext.mimetypes`). Binary mimetypes → 415 on READ and EDIT.
|
|
1183
1155
|
|
|
@@ -1,22 +1,7 @@
|
|
|
1
|
+
import type { SliceResult, JsonSliceResult, LineEditResult as EditResult } from "@plurnk/plurnk-schemes";
|
|
1
2
|
import type { LineMarker } from "@plurnk/plurnk-grammar";
|
|
2
|
-
export
|
|
3
|
-
status: number;
|
|
4
|
-
text?: string;
|
|
5
|
-
startLine?: number;
|
|
6
|
-
error?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface JsonSliceResult {
|
|
9
|
-
status: number;
|
|
10
|
-
body?: string;
|
|
11
|
-
error?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface EditResult {
|
|
14
|
-
status: number;
|
|
15
|
-
result?: string;
|
|
16
|
-
error?: string;
|
|
17
|
-
}
|
|
3
|
+
export type { SliceResult, JsonSliceResult, EditResult };
|
|
18
4
|
export default class LineMarkerOps {
|
|
19
|
-
#private;
|
|
20
5
|
static sliceLines(content: string, marker: LineMarker): SliceResult;
|
|
21
6
|
static sliceJsonItems(content: string, marker: LineMarker): JsonSliceResult;
|
|
22
7
|
static applyJsonItemEdit(content: string, marker: LineMarker, body: string): EditResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-marker.d.ts","sourceRoot":"","sources":["../../src/content/line-marker.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"line-marker.d.ts","sourceRoot":"","sources":["../../src/content/line-marker.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC;AAEzD,MAAM,CAAC,OAAO,OAAO,aAAa;IAC9B,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,WAAW;IACnE,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,eAAe;IAC3E,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU;IACvF,MAAM,CAAC,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,WAAW;IACtE,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU;CAC5F"}
|