@marktiderman/genesis-cli 1.15.0 → 1.16.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.
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "packages": {
3
+ "@marktiderman/genesis-ai": {
4
+ "version": "0.1.1",
5
+ "blocks": {
6
+ "ai-providers": {
7
+ "feature": {
8
+ "name": "AI core",
9
+ "summary": "One server-side pipeline for every AI call: consent, the feature gate, a bounded budget, server-side loading, safety routing, guardrails, the model call, a usage row and a trace.",
10
+ "keywords": [
11
+ "ai",
12
+ "llm",
13
+ "genesis-ai",
14
+ "usage",
15
+ "ai budget",
16
+ "consent"
17
+ ],
18
+ "audience": [
19
+ "developer"
20
+ ]
21
+ },
22
+ "platforms": [
23
+ "server"
24
+ ],
25
+ "migrations": [
26
+ {
27
+ "file": "migrations/0001_genesis_ai.sql",
28
+ "test": "migrations/tests/0001_genesis_ai.test.sql"
29
+ }
30
+ ]
31
+ }
32
+ }
33
+ },
3
34
  "@marktiderman/genesis-chat": {
4
- "version": "0.4.0",
35
+ "version": "0.5.0",
5
36
  "blocks": {
6
37
  "chat": {
7
38
  "feature": {
@@ -59,7 +90,7 @@
59
90
  "version": "0.1.2"
60
91
  },
61
92
  "@marktiderman/genesis-core": {
62
- "version": "2.1.0"
93
+ "version": "2.2.0"
63
94
  },
64
95
  "@marktiderman/genesis-switchboard": {
65
96
  "version": "2.1.2"
@@ -95,10 +126,10 @@
95
126
  "version": "0.6.4"
96
127
  },
97
128
  "@marktiderman/genesis": {
98
- "version": "0.10.2"
129
+ "version": "0.10.3"
99
130
  },
100
131
  "@marktiderman/genesis-cli": {
101
- "version": "1.15.0"
132
+ "version": "1.16.0"
102
133
  },
103
134
  "@marktiderman/genesis-native": {
104
135
  "version": "0.5.2",
@@ -756,10 +787,10 @@
756
787
  }
757
788
  },
758
789
  "@marktiderman/genesis-ui": {
759
- "version": "2.23.0"
790
+ "version": "2.24.0"
760
791
  },
761
792
  "@marktiderman/genesis-ui-native": {
762
- "version": "3.1.0"
793
+ "version": "3.2.0"
763
794
  }
764
795
  }
765
796
  }
package/dist/index.js CHANGED
@@ -5352,7 +5352,7 @@ function checkLocalGenesisCopies(ctx) {
5352
5352
  });
5353
5353
  }
5354
5354
  }
5355
- function checkResourceWorkspaces(ctx) {
5355
+ function checkRecordViews(ctx) {
5356
5356
  if (isNative2(ctx) || !ctx.genesis.values.has("AppShellPageHeader")) return;
5357
5357
  const header = /<AppShellPageHeader(?=[\s>/])/;
5358
5358
  const byFolder = /* @__PURE__ */ new Map();
@@ -6020,7 +6020,7 @@ var AGENTS_END = "<!-- genesis-primitives:end -->";
6020
6020
  var RULES = [
6021
6021
  "Use the Genesis primitive for the need first: reuse, then extend, then invent (docs/FRAMEWORK.md, G1 to G6).",
6022
6022
  "Never copy an older screen as a template. Old screens predate the primitives; the doctor flags what they did.",
6023
- "A list screen is a view (`defineView`) rendered by `ResourceView`; a record page is `ResourceWorkspace`; on the phone, `NativeResourceView`.",
6023
+ "A list screen is a view (`defineView`) rendered by `ResourceView`; a record view is `RecordView`; on the phone, `NativeResourceView`.",
6024
6024
  "Screens never call the database client (`supabase.from`, `.rpc`) directly: reads go through a view or a named data function, writes through the resource's provider rules.",
6025
6025
  "When no primitive fits, write the gap up for Genesis before inventing, then invent in the app on Genesis primitives.",
6026
6026
  "Run `genesis doctor` before you finish; it enforces these rules."
@@ -6029,7 +6029,7 @@ function renderSkill(rows) {
6029
6029
  return [
6030
6030
  "---",
6031
6031
  "name: genesis",
6032
- "description: Which Genesis primitive to use for each need (list screens, record pages, forms, data access, dates and more), with its import and docs. Load before writing any screen, list, form or data access in a Genesis app.",
6032
+ "description: Which Genesis primitive to use for each need (list screens, record views, forms, data access, dates and more), with its import and docs. Load before writing any screen, list, form or data access in a Genesis app.",
6033
6033
  "---",
6034
6034
  "",
6035
6035
  "<!-- Generated by `genesis agents` from the installed Genesis packages. Don't edit; run `genesis agents` after upgrading Genesis. -->",
@@ -6191,7 +6191,7 @@ function builtinChecks(config, options = {}) {
6191
6191
  { name: "peer-ranges", check: checkPeerRanges },
6192
6192
  { name: "hand-rolled-sub-nav", check: checkHandRolledSubNav },
6193
6193
  { name: "local-genesis-copies", check: checkLocalGenesisCopies },
6194
- { name: "resource-workspaces", check: checkResourceWorkspaces },
6194
+ { name: "resource-workspaces", check: checkRecordViews },
6195
6195
  { name: "page-layouts", check: checkPageLayouts },
6196
6196
  { name: "iso-date-slices", check: checkIsoDateSlices },
6197
6197
  { name: "resource-view-trees", check: checkTreeViews },