@elaraai/east-codex-plugin 1.0.93 → 1.0.95
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/.codex-plugin/plugin.json +1 -1
- package/index.json +942 -274
- package/package.json +1 -1
- package/skills/e3/SKILL.md +144 -1
- package/skills/e3-ui/SKILL.md +767 -162
- package/skills/east-ui/SKILL.md +18 -7
package/skills/east-ui/SKILL.md
CHANGED
|
@@ -518,7 +518,7 @@ Task → Which tag?
|
|
|
518
518
|
│ │ ├─ TreeView.Item(value, label, indicator?) — leaf node (indicator = a Font Awesome solid icon + style)
|
|
519
519
|
│ │ └─ TreeView.Branch(value, label, children, indicator?, disabled?) — expandable node
|
|
520
520
|
│ ├─ <Plan> — the planning canvas (ONE shared time | number | ordinal axis over heterogeneous rows: event kinds over records, rows laid out by a series list over data, and read-only rows) is e3-ui's (#1177, #1191): `import { Plan } from "@elaraai/e3-ui"` — its props, factories and patterns are in the e3-ui skill
|
|
521
|
-
│ ├─ <Sheet> — the planning spreadsheet, always in its builder frame (typed columns over an e3 record's rows
|
|
521
|
+
│ ├─ <Sheet> — the planning spreadsheet, always in its builder frame (typed columns over an e3 record's rows, the host's or its rail's `rows` source, a blank tail that invites the next row, typed grammars, an East-function copilot, one `Slice.bindRecords` rail with saved views, an editing session, and a library and an inspector pane, each an optional prop) is e3-ui's (#1179, #1216): `import { Sheet } from "@elaraai/e3-ui"` — its props, factories and patterns are in the e3-ui skill
|
|
522
522
|
│ ├─ <Matrix data={…} columns={…} cell={(r, col) => Matrix.cell({…})} /> — rows × columns of status-coloured segment bars
|
|
523
523
|
│ │ ├─ Props:
|
|
524
524
|
│ │ │ ├─ data (required) — row structs, or RecursiveType rows whose node is a struct (nested with `tree`); columns (required) — array of Matrix.column(…) (data-drivable with .map)
|
|
@@ -666,8 +666,9 @@ Task → Which tag?
|
|
|
666
666
|
│ │ └─ Factories:
|
|
667
667
|
│ │ ├─ Slice.bind(key, rows, options?) — local Array rows; infers the row type. Options: fields (label/hints/format), range, search, initial, presets, breakdown and match. Initial/preset clauses name typed fields; local operators include gte/contains. The positional form is removed.
|
|
668
668
|
│ │ ├─ Slice.bindRecord(key, indexed, options?) — Data.bindPaged(record, { indexes }) from e3-ui; fields/range/search/initial/presets come from declared field indexes. No browser predicate, local operators, match or breakdown. Several exact values then one range/prefix must follow one index; a Set field takes one exact member.
|
|
669
|
+
│ │ ├─ Slice.bindRecords(key, { name: { source: indexed, fields?, range?, search?, initial? }, … }, { presets? }) — several records narrowed from ONE rail: one Slice.bindRecord per named source under `${key}.${name}`; a choice in one source never changes another's rows or counts (no index relates two records). Presets narrow any sources at once (a source a preset doesn't name is cleared); slice.togglePreset(id) / slice.clearAll() act on every part. A component that narrows several kinds of row takes it as slice={{ slice }} with its sources named after them (the e3-ui Allocation's `lanes` and `resources`) and reads each source itself.
|
|
669
670
|
│ │ ├─ Slice.config(Row, { fields, rangeFieldId?, searchFieldIds?, breakdownFieldIds? }) / Slice.state({…}) — low-level config/state for pure Slice.apply and state operations; bind options infer and seed these automatically.
|
|
670
|
-
│ │ ├─ Slice.rows(slice) — the narrowed Array for local rows, or a
|
|
671
|
+
│ │ ├─ Slice.rows(slice) — the narrowed Array for local rows, or for records a live ordered source: one per binding whatever the narrowing, its windows read under the narrowing as it stands, its `query()` naming it (#1354); record entries retain original key beside tagged ik, covering value and optional joined row. Slice.rows(slice, source) reads one source of a Slice.bindRecords handle.
|
|
671
672
|
│ │ ├─ Slice.partition([Row], slice) — the FULL set tagged [{value, matched}] (the "keep the excluded" feed — drive a de-emphasis effect from `matched`)
|
|
672
673
|
│ │ ├─ Slice.apply.where / .matches / .breakdown — the pure filter engine (string ops eq/neq/in/notIn/contains/matches/startsWith/endsWith/isEmpty/isNotEmpty; integer in; datetime between)
|
|
673
674
|
│ │ └─ slice.toggleFilter(pred) — idempotent single-predicate toggle for custom wiring; Range picker presets anchor to the DATA's date extent (clamped to now for live data) and pin concrete windows; an All chip clears the range; programmatic datetimePreset seeds stay rolling/wall-clock
|
|
@@ -1050,9 +1051,10 @@ expression, or a whole-value `Data.bind` / `State.bind` handle — or a paged
|
|
|
1050
1051
|
source from the platform that owns the data, e3-ui's `Data.bindPaged`. east-ui
|
|
1051
1052
|
produces no paged source; a collection already in hand is local data. A
|
|
1052
1053
|
component recognises a paged source by its East type, a subtype of
|
|
1053
|
-
`Paged.Types.PinnedSource(C)
|
|
1054
|
-
`C` its `page` serves, and refuses
|
|
1055
|
-
|
|
1054
|
+
`Paged.Types.PinnedSource(C)`, `Paged.Types.LiveSource(C)` or
|
|
1055
|
+
`Paged.Types.Source(C)` over the collection `C` its `page` serves, and refuses
|
|
1056
|
+
a struct with `page` / `total` that is none of them, naming the contract's
|
|
1057
|
+
fields.
|
|
1056
1058
|
|
|
1057
1059
|
The contract is a PINNED source: `{ id, page, total, seek, revision, refresh }`
|
|
1058
1060
|
— the `pinned` arm. `id` names the logical source; `revision()` names the
|
|
@@ -1071,6 +1073,15 @@ the `paged` arm — is the handle a UI exported before them carries. It names no
|
|
|
1071
1073
|
snapshot: a component reads each window once, and the same `id` serves the
|
|
1072
1074
|
same rows for as long as the component holds it.
|
|
1073
1075
|
|
|
1076
|
+
A rail's narrowed source — `Slice.rows(slice, source)` over records — is a
|
|
1077
|
+
pinned source that names its narrowing too: `{ id, page, total, seek,
|
|
1078
|
+
revision, refresh, query }`, `Paged.Types.LiveSource(C)`, the `live` arm. Its
|
|
1079
|
+
`id` names the source under every narrowing, its reads read the narrowing as
|
|
1080
|
+
it stands when they run, and `query()` names it, so a component built over it
|
|
1081
|
+
is not built again when a choice changes (#1354). A component keys its windows
|
|
1082
|
+
by `query()` as by `revision()`, reading them again when either moves; editing
|
|
1083
|
+
keeps the revision alone, so a Save confirms against the record's state.
|
|
1084
|
+
|
|
1074
1085
|
`Data.bindPaged` also follows its dataset without a call: the workspace
|
|
1075
1086
|
status poll reports each new content hash and the source moves to that
|
|
1076
1087
|
snapshot, so a `refresh` after your own write only gets there sooner. A
|
|
@@ -1498,8 +1509,8 @@ tier so they stay subordinate to tags at every density.
|
|
|
1498
1509
|
e3-ui's `<Sheet>` (#1179, #1216) is where a planner TYPES
|
|
1499
1510
|
them, in its builder frame: typed cells with grammars (dates, quantities,
|
|
1500
1511
|
register lookups, a directed link), a blank tail that inserts rows, an
|
|
1501
|
-
East-function copilot, and
|
|
1502
|
-
|
|
1512
|
+
East-function copilot, and one rail narrowing its rows, its templates and
|
|
1513
|
+
its tabs, with saved views. Reach for `<Sheet>` when the rows are authored in place
|
|
1503
1514
|
and written back (through an e3 record's patch, or `onUpdate` / `onApply`)
|
|
1504
1515
|
— the e3-ui skill documents it; for reading, sorting and reviewing a
|
|
1505
1516
|
dataset, `<Table>`.
|