create-oke 0.18.3 → 0.18.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-oke",
3
- "version": "0.18.3",
3
+ "version": "0.18.4",
4
4
  "description": "Scaffold an okengine app — bunx create-oke@latest <name>",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/agents-md.ts CHANGED
@@ -47,13 +47,13 @@ An element earns its place only if it has irreducible physics. New
47
47
  infrastructure becomes a new **driver** for an existing element — never a
48
48
  ninth element.
49
49
 
50
- ## The ten exports
50
+ ## Core programming vocabulary
51
51
 
52
52
  \`\`\`typescript
53
53
  import { on, flow, signal, store, clock, gate, vault, channel, ai, plugin } from "okengine";
54
54
  \`\`\`
55
55
 
56
- That is the entire public vocabulary. Everything else is derived.
56
+ That is the core programming vocabulary. Everything else is derived.
57
57
 
58
58
  ## The fx rule
59
59
 
@@ -1,11 +1,7 @@
1
1
  import { on, flow, http } from "okengine/http";
2
- import { z } from "zod";
3
2
 
4
3
  /** Liveness for probes and `bun test`. */
5
4
  export const health = on(
6
5
  http.get().public(),
7
- flow({
8
- out: z.object({ ok: z.literal(true) }),
9
- do: () => ({ ok: true as const }),
10
- }),
6
+ flow({ do: () => ({ ok: true }) }),
11
7
  );
@@ -1,11 +1,7 @@
1
1
  import { on, flow, http } from "okengine/http";
2
- import { z } from "zod";
3
2
 
4
3
  /** Liveness for probes and `bun test`. */
5
4
  export const health = on(
6
5
  http.get().public(),
7
- flow({
8
- out: z.object({ ok: z.literal(true) }),
9
- do: () => ({ ok: true as const }),
10
- }),
6
+ flow({ do: () => ({ ok: true }) }),
11
7
  );