@oneie/sdk 0.16.3 → 0.16.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/README.md CHANGED
@@ -54,6 +54,8 @@ highways.forEach(h => console.log(`${h.path}: ${h.net}`));
54
54
  | `@oneie/sdk/role-actions` | `minTier()` — the per-action floor the tier is compared against |
55
55
  | `@oneie/sdk/receiver-action` | `receiverAction()` — the receiver a role-gated action resolves to |
56
56
  | `@oneie/sdk/gateway` | `GatewayClient` — typed client for the `api.one.ie` gateway |
57
+ | `@oneie/sdk/gateway-meta` | `gatewayMetadata()`, `gatewayMetadataHeader()`, `GATEWAY_META_KEYS` — the five `cf-aig-metadata` words (group · actor · signal · via · tags) every model call carries; channels re-exports it |
58
+ | `@oneie/sdk/free-tier` | `freeTierVerdict()`, `checkFreeModel()`, `FREE_MODELS`, `FREE_REQUESTS_PER_DAY` — the free-tier table and its verdict, one source for web and channels |
57
59
  | `@oneie/sdk/types` | Type definitions only — `Outcome<T>`, `Signal`, and friends |
58
60
  | `@oneie/sdk/telemetry` | `emit()`, opt-out helpers — the anonymous usage-signal layer |
59
61
  | `@oneie/sdk/wallet` | Local, offline 4-chain wallet keygen + BIP-39 recovery — backs `one wallet keygen`; hits no network |
@@ -468,8 +468,12 @@ export declare const RECEIVERS: {
468
468
  model: z.ZodOptional<z.ZodString>;
469
469
  prompt: z.ZodOptional<z.ZodString>;
470
470
  meta: z.ZodOptional<z.ZodUnknown>;
471
+ aid: z.ZodOptional<z.ZodString>;
472
+ workspace: z.ZodOptional<z.ZodString>;
471
473
  }, z.core.$strip>, z.ZodObject<{
472
474
  aid: z.ZodString;
475
+ created: z.ZodOptional<z.ZodBoolean>;
476
+ graph: z.ZodOptional<z.ZodBoolean>;
473
477
  }, z.core.$strip>>;
474
478
  "world:update-actor": Receiver<z.ZodObject<{
475
479
  aid: z.ZodString;
@@ -1116,6 +1120,13 @@ export declare const RECEIVERS: {
1116
1120
  }, z.core.$strip>>;
1117
1121
  "world:pick-model": Receiver<z.ZodObject<{
1118
1122
  shape: z.ZodString;
1123
+ kit: z.ZodOptional<z.ZodString>;
1124
+ rung: z.ZodOptional<z.ZodEnum<{
1125
+ trivial: "trivial";
1126
+ contained: "contained";
1127
+ shaped: "shaped";
1128
+ irreversible: "irreversible";
1129
+ }>>;
1119
1130
  }, z.core.$strip>, z.ZodObject<{
1120
1131
  ok: z.ZodBoolean;
1121
1132
  model: z.ZodOptional<z.ZodString>;
@@ -1125,7 +1136,25 @@ export declare const RECEIVERS: {
1125
1136
  cold: "cold";
1126
1137
  "toxic-escalate": "toxic-escalate";
1127
1138
  "fallback-unreachable": "fallback-unreachable";
1139
+ "rung-apex": "rung-apex";
1140
+ lane: "lane";
1141
+ "unknown-kit": "unknown-kit";
1142
+ "rung-outside-kit": "rung-outside-kit";
1143
+ }>>;
1144
+ error: z.ZodOptional<z.ZodString>;
1145
+ kit: z.ZodOptional<z.ZodString>;
1146
+ seats: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1147
+ ranking: z.ZodOptional<z.ZodEnum<{
1148
+ "cost-per-pass": "cost-per-pass";
1149
+ "pass-rate": "pass-rate";
1128
1150
  }>>;
1151
+ prices: z.ZodOptional<z.ZodString>;
1152
+ costPerPass: z.ZodOptional<z.ZodNumber>;
1153
+ weights: z.ZodOptional<z.ZodArray<z.ZodObject<{
1154
+ model: z.ZodString;
1155
+ strength: z.ZodNumber;
1156
+ resistance: z.ZodNumber;
1157
+ }, z.core.$strip>>>;
1129
1158
  }, z.core.$strip>>;
1130
1159
  "world:seed-router": Receiver<z.ZodObject<{
1131
1160
  shapes: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1134,6 +1163,8 @@ export declare const RECEIVERS: {
1134
1163
  seeded: z.ZodOptional<z.ZodNumber>;
1135
1164
  }, z.core.$strip>>;
1136
1165
  "world:bake-outcome": Receiver<z.ZodObject<{
1166
+ workspace: z.ZodOptional<z.ZodString>;
1167
+ slug: z.ZodOptional<z.ZodString>;
1137
1168
  family: z.ZodString;
1138
1169
  model: z.ZodString;
1139
1170
  verdict: z.ZodEnum<{
@@ -1512,7 +1543,8 @@ export declare const RECEIVERS: {
1512
1543
  weight: z.ZodOptional<z.ZodNumber>;
1513
1544
  }, z.core.$strip>>;
1514
1545
  "world:route": Receiver<z.ZodObject<{
1515
- tags: z.ZodArray<z.ZodString>;
1546
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1547
+ text: z.ZodOptional<z.ZodString>;
1516
1548
  decide: z.ZodOptional<z.ZodBoolean>;
1517
1549
  deliver: z.ZodOptional<z.ZodBoolean>;
1518
1550
  reply: z.ZodOptional<z.ZodBoolean>;
@@ -1540,6 +1572,15 @@ export declare const RECEIVERS: {
1540
1572
  ok: z.ZodBoolean;
1541
1573
  text: z.ZodOptional<z.ZodString>;
1542
1574
  error: z.ZodOptional<z.ZodString>;
1575
+ model: z.ZodOptional<z.ZodString>;
1576
+ picked: z.ZodOptional<z.ZodString>;
1577
+ shape: z.ZodOptional<z.ZodString>;
1578
+ reason: z.ZodOptional<z.ZodString>;
1579
+ usage: z.ZodOptional<z.ZodObject<{
1580
+ model: z.ZodString;
1581
+ tokensIn: z.ZodNumber;
1582
+ tokensOut: z.ZodNumber;
1583
+ }, z.core.$loose>>;
1543
1584
  }, z.core.$strip>>;
1544
1585
  }, z.core.$strip>>;
1545
1586
  "world:suggest-workflow": Receiver<z.ZodObject<{
@@ -1696,6 +1737,8 @@ export declare const RECEIVERS: {
1696
1737
  verified: "verified";
1697
1738
  }>>;
1698
1739
  produced: z.ZodOptional<z.ZodString>;
1740
+ shape: z.ZodOptional<z.ZodString>;
1741
+ model: z.ZodOptional<z.ZodString>;
1699
1742
  rubric: z.ZodOptional<z.ZodObject<{
1700
1743
  composite: z.ZodOptional<z.ZodNumber>;
1701
1744
  security: z.ZodOptional<z.ZodNumber>;
@@ -1711,9 +1754,11 @@ export declare const RECEIVERS: {
1711
1754
  phase: z.ZodOptional<z.ZodString>;
1712
1755
  status: z.ZodOptional<z.ZodString>;
1713
1756
  produced: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1757
+ producedRef: z.ZodOptional<z.ZodString>;
1714
1758
  rubric: z.ZodOptional<z.ZodArray<z.ZodString>>;
1715
1759
  deduped: z.ZodOptional<z.ZodBoolean>;
1716
1760
  error: z.ZodOptional<z.ZodString>;
1761
+ learned: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1717
1762
  }, z.core.$strip>>;
1718
1763
  "deploy:event": Receiver<z.ZodObject<{
1719
1764
  run: z.ZodString;
@@ -2197,8 +2242,8 @@ export declare const RECEIVERS: {
2197
2242
  search: z.ZodOptional<z.ZodString>;
2198
2243
  ready: z.ZodOptional<z.ZodBoolean>;
2199
2244
  include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2200
- notes: "notes";
2201
2245
  graph: "graph";
2246
+ notes: "notes";
2202
2247
  dates: "dates";
2203
2248
  thread: "thread";
2204
2249
  }>>>;
@@ -2240,6 +2285,7 @@ export declare const RECEIVERS: {
2240
2285
  rows: z.ZodOptional<z.ZodNumber>;
2241
2286
  edges: z.ZodOptional<z.ZodBoolean>;
2242
2287
  tags: z.ZodOptional<z.ZodNumber>;
2288
+ thread: z.ZodOptional<z.ZodNumber>;
2243
2289
  }, z.core.$strip>>;
2244
2290
  summary: z.ZodOptional<z.ZodObject<{
2245
2291
  byStatus: z.ZodRecord<z.ZodString, z.ZodNumber>;
@@ -2281,7 +2327,8 @@ export declare const RECEIVERS: {
2281
2327
  blocks: z.ZodOptional<z.ZodArray<z.ZodString>>;
2282
2328
  thread: z.ZodOptional<z.ZodObject<{
2283
2329
  threadId: z.ZodOptional<z.ZodString>;
2284
- comments: z.ZodNumber;
2330
+ comments: z.ZodNullable<z.ZodNumber>;
2331
+ unread: z.ZodOptional<z.ZodString>;
2285
2332
  lastAt: z.ZodOptional<z.ZodString>;
2286
2333
  lastAuthor: z.ZodOpt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group: z.string().optional(),
415
415
  tags: z.array(z.string()).optional(), model: z.string().optional(), prompt: z.string().optional(),
416
416
  meta: z.unknown().optional(),
417
+ aid: z.string().regex(/^[a-z][a-z0-9-]{1,63}$/).optional().describe("A stable, slug-shaped actor id (a factory seat such as factory-builder) instead of a minted one. Staff or the owner of `group` only; also writes the TypeDB actor (actor-type agent, model) other receivers verify by aid. A taken aid is refused by name"),
418
+ workspace: z.string().optional().describe("The workspace the service lane acts for (the ask door's nominated slug)"),
417
419
  }),
418
- response: () => z.object({ aid: z.string() }), effect: "ask", auth: "manage_actors",
420
+ response: () => z.object({ aid: z.string(), created: z.boolean().optional(), graph: z.boolean().optional() }), effect: "ask", auth: "manage_actors",
419
421
  examples: [{ name: "scout", type: "agent" }],
420
422
  }),
421
423
  "world:update-actor": receiver({
@@ -1179,13 +1181,30 @@ export const RECEIVERS = {
1179
1181
  // ── model router (C3/C4 — do-metabolism) ──
1180
1182
  "world:pick-model": receiver({
1181
1183
  receiver: "world:pick-model",
1182
- summary: "Return the best proven model for a task shape (warmed/cold/toxic-escalate/fallback-unreachable)",
1183
- request: () => z.object({ shape: z.string().min(1) }),
1184
+ summary: "Return the best proven model for a task shape — every `model` is an OpenRouter id from the registry (chat/model-intel.json ∪ model-speed.json), except reason `lane`, which names a claude-code:<seat> the local lane runs",
1185
+ // `kit` and `rung` were answered by the resolver since factory cards 4 and 29,
1186
+ // but this object was `{ shape }` alone — zod strips undeclared keys, so both
1187
+ // were dropped at the door and every pick answered the whole pool. Measured on
1188
+ // production 2026-09-29: kit "cheap" + rung "irreversible" answered cold haiku.
1189
+ request: () => z.object({
1190
+ shape: z.string().min(1),
1191
+ kit: z.string().min(1).max(64).optional().describe("The kit (routing/teams.json). Present → the pick is one of the kit's BUILD seats and an unknown kit is refused as unknown-kit, never dropped"),
1192
+ rung: z.enum(["trivial", "contained", "shaped", "irreversible"]).optional().describe("The row's risk rung (text/work-categories.md). irreversible → frontier tier only; a rung above the kit's rungMax is refused as rung-outside-kit"),
1193
+ }),
1184
1194
  response: () => z.object({
1185
1195
  ok: z.boolean(),
1186
1196
  model: z.string().optional(),
1187
1197
  effort: z.string().optional(),
1188
- reason: z.enum(['warmed', 'cold', 'toxic-escalate', 'fallback-unreachable']).optional(),
1198
+ reason: z.enum(["warmed", "cold", "toxic-escalate", "fallback-unreachable", "rung-apex", "lane", "unknown-kit", "rung-outside-kit"]).optional(),
1199
+ error: z.string().optional(),
1200
+ kit: z.string().optional(),
1201
+ seats: z.record(z.string(), z.unknown()).nullable().optional(),
1202
+ ranking: z.enum(["cost-per-pass", "pass-rate"]).optional(),
1203
+ prices: z.string().optional(),
1204
+ costPerPass: z.number().optional(),
1205
+ // The (shape → model) rows the draw read, so a caller can SEE a mark or a
1206
+ // warn move the weight even while the answer stays cold (WARM_THRESHOLD 3).
1207
+ weights: z.array(z.object({ model: z.string(), strength: z.number(), resistance: z.number() })).optional(),
1189
1208
  }),
1190
1209
  effect: "ask", auth: "none", reversible: true,
1191
1210
  }),
@@ -1198,8 +1217,14 @@ export const RECEIVERS = {
1198
1217
  }),
1199
1218
  "world:bake-outcome": receiver({
1200
1219
  receiver: "world:bake-outcome",
1201
- summary: "One bake row moves one (family → model) path: pass marks, fail warns, could-not-run moves nothing (platform-gated)",
1202
- request: () => z.object({
1220
+ summary: "One bake row moves one (family → model) path: pass marks, fail warns, could-not-run moves nothing (platform-gated: staff, or a caller acting for the platform workspace)",
1221
+ request: () => z.object({
1222
+ // The service lane (GATEWAY_API_KEY) names the workspace it acts for here —
1223
+ // the ask door reads the VALIDATED payload, so without this key zod stripped
1224
+ // it and every script credential was answered "platform only" (2026-09-29).
1225
+ workspace: z.string().optional().describe("The workspace the service lane acts for (the ask door's nominated slug). The platform gate still decides"),
1226
+ // bake.sh --mark-row sends `slug`, the door's first-choice nomination key.
1227
+ slug: z.string().optional().describe("Alias of `workspace` — the ask door reads payload.slug ?? payload.workspace"),
1203
1228
  family: z.string().regex(/^[a-z][a-z0-9-]{0,39}$/).describe("The card's FAMILY from its shape.env — a bare word (text/work-categories.md § The families). The path key is shape:<family>"),
1204
1229
  model: z.string().min(1).max(96).describe("The model id the row ran, e.g. 'deepseek/deepseek-v4-flash'. The path target is model:<id>"),
1205
1230
  verdict: z.enum(["pass", "fail", "could-not-run"]).describe("pass → mark · fail → warn · could-not-run (provider error, cap) → nothing, because the model never answered"),
@@ -1635,7 +1660,8 @@ export const RECEIVERS = {
1635
1660
  receiver: "world:route",
1636
1661
  summary: "Route a tagged signal to THE handler via the ladder: learned tag-node path (follow_route) → staked subscribers (reputation-ranked) → CEO standing workflow; marks the delivery path so the next route is smarter. reply:true also invokes the resolved actor and returns its answer inline. decide:true instead answers the deterministic verdict { receiver, rung, reason } (reason: highway|classified|ceo) from the learned lane — a pure read, zero side effects, zero tokens; TypeQL twin: route_verdict (migration 0043)",
1637
1662
  request: () => z.object({
1638
- tags: z.array(z.string()),
1663
+ tags: z.array(z.string()).optional(),
1664
+ text: z.string().optional(),
1639
1665
  decide: z.boolean().optional(), // true → verdict-only: no delivery, no mark, no CEO trigger
1640
1666
  deliver: z.boolean().optional(),
1641
1667
  reply: z.boolean().optional(),
@@ -1652,7 +1678,7 @@ export const RECEIVERS = {
1652
1678
  rung: z.number().optional(),
1653
1679
  reason: z.enum(["highway", "classified", "ceo"]).optional(),
1654
1680
  tags: z.array(z.string()).optional(),
1655
- reply: z.object({ ok: z.boolean(), text: z.string().optional(), error: z.string().optional() }).optional(),
1681
+ reply: z.object({ ok: z.boolean(), text: z.string().optional(), error: z.string().optional(), model: z.string().optional(), picked: z.string().optional(), shape: z.string().optional(), reason: z.string().optional(), usage: z.object({ model: z.string(), tokensIn: z.number(), tokensOut: z.number() }).passthrough().optional() }).optional(),
1656
1682
  }),
1657
1683
  effect: "ask",
1658
1684
  }),
@@ -1889,7 +1915,12 @@ export const RECEIVERS = {
1889
1915
  // close
1890
1916
  attempt: z.string().optional(),
1891
1917
  status: z.enum(["done", "verified", "failed", "dissolved"]).optional(),
1892
- produced: z.string().optional(),
1918
+ produced: z.string().optional().describe("What the attempt produced: a thing tid, a commit sha (7–40 hex) or a repo-relative file path. A sha or a path is minted as an `output` thing, output:<workspace>:commit|file:<ref>, and linked by `production`"),
1919
+ // The router lane: the close's status is the verdict on shape:<shape> → model:<model>,
1920
+ // the path world:pick-model follows (done|verified mark, failed warns, dissolved
1921
+ // moves nothing). Both or neither; the platform gate is world:bake-outcome's.
1922
+ shape: z.string().regex(/^[a-z][a-z0-9-]{0,39}$/).optional().describe("The family the attempt built (a bare word) — with `model`, the close moves shape:<shape> → model:<model>"),
1923
+ model: z.string().min(1).max(96).optional().describe("The OpenRouter id that built it — with `shape`, the close moves shape:<shape> → model:<model>"),
1893
1924
  // Scores land on the ATTEMPT — the graph is the authority; a composite on the
1894
1925
  // plan thing is a cached projection over the attempts it contains (§3.2).
1895
1926
  rubric: z.object({
@@ -1908,9 +1939,12 @@ export const RECEIVERS = {
1908
1939
  phase: z.string().optional(),
1909
1940
  status: z.string().optional(),
1910
1941
  produced: z.string().nullable().optional(),
1942
+ producedRef: z.string().optional(),
1911
1943
  rubric: z.array(z.string()).optional(),
1912
1944
  deduped: z.boolean().optional(),
1913
1945
  error: z.string().optional(),
1946
+ // world:bake-outcome's own answer for the router lane: moved mark|warn|none and the path, or its refusal.
1947
+ learned: z.record(z.string(), z.unknown()).optional(),
1914
1948
  }),
1915
1949
  effect: "ask", idempotent: true,
1916
1950
  }),
@@ -2841,6 +2875,7 @@ export const RECEIVERS = {
2841
2875
  rows: z.number().optional().describe("The snapshot hit its row budget; this many unique rows were read. total is a floor."),
2842
2876
  edges: z.boolean().optional().describe("parent/blockedBy edges were capped — a row may read as unblocked or orphaned when it is not."),
2843
2877
  tags: z.number().optional().describe("This many returned rows may be missing tags."),
2878
+ thread: z.number().optional().describe("include:'thread' only — this many returned rows could not have their comments counted (thread.unread present, thread.comments null). Absent = every count is real."),
2844
2879
  }).optional().describe("Absent = nothing was cut. Present = say so before you plan on it."),
2845
2880
  summary: z.object({
2846
2881
  byStatus: z.record(z.string(), z.number()),
@@ -2886,7 +2921,8 @@ export const RECEIVERS = {
2886
2921
  // include: thread — the same D1 conversation tasks:comment writes and /in lists
2887
2922
  thread: z.object({
2888
2923
  threadId: z.string().optional().describe("The inbox thread id; absent = nobody has commented yet."),
2889
- comments: z.number(),
2924
+ comments: z.number().nullable().describe("Messages on the task's thread, summed over both stored key shapes (task:<id> and legacy task:task:<id>). 0 = the read succeeded and nobody has commented. null = COULD NOT LOOK — `unread` says why; never read it as 0."),
2925
+ unread: z.string().optional().describe("Present iff the count could not be read: 'd1_error' (the D1 read failed) or 'no_db' (no D1 binding). Counted in `truncated.thread`."),
2890
2926
  lastAt: z.string().optional(),
2891
2927
  lastAuthor: z.string().optional(),
2892
2928
  lastBody: z.string().optional().describe("First 280 chars of the latest message."),