@jinn-network/client 0.1.2-canary.d6e72dfd → 0.1.2

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.
Files changed (218) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +3 -0
  3. package/dist/adapters/adapter.d.ts +7 -0
  4. package/dist/adapters/mech/adapter.d.ts +4 -0
  5. package/dist/adapters/mech/adapter.js +140 -19
  6. package/dist/adapters/mech/adapter.js.map +1 -1
  7. package/dist/adapters/mech/contracts.d.ts +17 -1
  8. package/dist/adapters/mech/contracts.js +55 -1
  9. package/dist/adapters/mech/contracts.js.map +1 -1
  10. package/dist/adapters/mech/ipfs.d.ts +30 -5
  11. package/dist/adapters/mech/ipfs.js +162 -17
  12. package/dist/adapters/mech/ipfs.js.map +1 -1
  13. package/dist/adapters/mech/safe.js +8 -6
  14. package/dist/adapters/mech/safe.js.map +1 -1
  15. package/dist/adapters/mech/types.d.ts +2 -0
  16. package/dist/adapters/mech/types.js.map +1 -1
  17. package/dist/api/balance-build.js +3 -3
  18. package/dist/api/balance-build.js.map +1 -1
  19. package/dist/api/fleet-build.js +35 -40
  20. package/dist/api/fleet-build.js.map +1 -1
  21. package/dist/api/gather-status.d.ts +5 -0
  22. package/dist/api/gather-status.js +158 -7
  23. package/dist/api/gather-status.js.map +1 -1
  24. package/dist/api/history-build.d.ts +5 -1
  25. package/dist/api/history-build.js +51 -26
  26. package/dist/api/history-build.js.map +1 -1
  27. package/dist/api/portfolio-v0-build.d.ts +3 -1
  28. package/dist/api/portfolio-v0-build.js +12 -10
  29. package/dist/api/portfolio-v0-build.js.map +1 -1
  30. package/dist/api/rewards-build.js +29 -13
  31. package/dist/api/rewards-build.js.map +1 -1
  32. package/dist/api/status-build.d.ts +32 -6
  33. package/dist/api/status-build.js +2 -1
  34. package/dist/api/status-build.js.map +1 -1
  35. package/dist/api/status-rollup-build.d.ts +2 -0
  36. package/dist/api/status-rollup-build.js +30 -3
  37. package/dist/api/status-rollup-build.js.map +1 -1
  38. package/dist/build-meta.json +1 -1
  39. package/dist/cli/commands/auth.js +27 -5
  40. package/dist/cli/commands/auth.js.map +1 -1
  41. package/dist/cli/commands/balance.js +8 -1
  42. package/dist/cli/commands/balance.js.map +1 -1
  43. package/dist/cli/commands/bootstrap.js +22 -0
  44. package/dist/cli/commands/bootstrap.js.map +1 -1
  45. package/dist/cli/commands/doctor.js +33 -3
  46. package/dist/cli/commands/doctor.js.map +1 -1
  47. package/dist/cli/commands/fleet.js +10 -1
  48. package/dist/cli/commands/fleet.js.map +1 -1
  49. package/dist/cli/commands/history.js +25 -6
  50. package/dist/cli/commands/history.js.map +1 -1
  51. package/dist/cli/commands/logs.js +35 -11
  52. package/dist/cli/commands/logs.js.map +1 -1
  53. package/dist/cli/commands/quickstart.js +39 -1
  54. package/dist/cli/commands/quickstart.js.map +1 -1
  55. package/dist/cli/commands/run.js +38 -0
  56. package/dist/cli/commands/run.js.map +1 -1
  57. package/dist/cli/commands/status.js +11 -1
  58. package/dist/cli/commands/status.js.map +1 -1
  59. package/dist/cli/commands/submit-intent.js +62 -99
  60. package/dist/cli/commands/submit-intent.js.map +1 -1
  61. package/dist/cli/intent-registry-access.d.ts +3 -5
  62. package/dist/cli/intent-registry-access.js +12 -34
  63. package/dist/cli/intent-registry-access.js.map +1 -1
  64. package/dist/cli/introspection-context.js +11 -8
  65. package/dist/cli/introspection-context.js.map +1 -1
  66. package/dist/config.d.ts +28 -1
  67. package/dist/config.js +29 -0
  68. package/dist/config.js.map +1 -1
  69. package/dist/daemon/balance-topup-loop.js +32 -4
  70. package/dist/daemon/balance-topup-loop.js.map +1 -1
  71. package/dist/daemon/creator.d.ts +6 -9
  72. package/dist/daemon/creator.js +45 -51
  73. package/dist/daemon/creator.js.map +1 -1
  74. package/dist/daemon/daemon.d.ts +9 -20
  75. package/dist/daemon/daemon.js +34 -27
  76. package/dist/daemon/daemon.js.map +1 -1
  77. package/dist/daemon/delivery-watcher.d.ts +3 -1
  78. package/dist/daemon/delivery-watcher.js +19 -1
  79. package/dist/daemon/delivery-watcher.js.map +1 -1
  80. package/dist/daemon/reward-claim-loop.js +38 -1
  81. package/dist/daemon/reward-claim-loop.js.map +1 -1
  82. package/dist/dashboard/index.html +71 -496
  83. package/dist/discovery/registry.d.ts +54 -0
  84. package/dist/discovery/registry.js +73 -0
  85. package/dist/discovery/registry.js.map +1 -1
  86. package/dist/earning/bootstrap.js +8 -38
  87. package/dist/earning/bootstrap.js.map +1 -1
  88. package/dist/earning/stolas-claim.d.ts +6 -0
  89. package/dist/earning/stolas-claim.js +7 -0
  90. package/dist/earning/stolas-claim.js.map +1 -1
  91. package/dist/intents/kinds/constants.d.ts +5 -0
  92. package/dist/intents/kinds/constants.js +6 -0
  93. package/dist/intents/kinds/constants.js.map +1 -0
  94. package/dist/intents/kinds/index.d.ts +28 -0
  95. package/dist/intents/kinds/index.js +50 -0
  96. package/dist/intents/kinds/index.js.map +1 -0
  97. package/dist/intents/kinds/portfolio-v0.d.ts +2 -0
  98. package/dist/intents/kinds/portfolio-v0.js +13 -0
  99. package/dist/intents/kinds/portfolio-v0.js.map +1 -0
  100. package/dist/intents/kinds/prediction-apy-v0.d.ts +3 -0
  101. package/dist/intents/kinds/prediction-apy-v0.js +21 -0
  102. package/dist/intents/kinds/prediction-apy-v0.js.map +1 -0
  103. package/dist/intents/kinds/prediction-v0.d.ts +3 -0
  104. package/dist/intents/kinds/prediction-v0.js +32 -0
  105. package/dist/intents/kinds/prediction-v0.js.map +1 -0
  106. package/dist/intents/kinds/spec-kind.d.ts +38 -0
  107. package/dist/intents/kinds/spec-kind.js +6 -0
  108. package/dist/intents/kinds/spec-kind.js.map +1 -0
  109. package/dist/intents/posting-service.d.ts +26 -0
  110. package/dist/intents/posting-service.js +218 -0
  111. package/dist/intents/posting-service.js.map +1 -0
  112. package/dist/intents/prediction-apy-v0-auto.js +1 -1
  113. package/dist/intents/prediction-apy-v0-auto.js.map +1 -1
  114. package/dist/intents/prediction-v0-template.d.ts +8 -3
  115. package/dist/intents/prediction-v0-template.js +21 -1
  116. package/dist/intents/prediction-v0-template.js.map +1 -1
  117. package/dist/intents/sources.d.ts +39 -0
  118. package/dist/intents/sources.js +42 -0
  119. package/dist/intents/sources.js.map +1 -0
  120. package/dist/main.js +89 -65
  121. package/dist/main.js.map +1 -1
  122. package/dist/mcp/server.js +8 -4
  123. package/dist/mcp/server.js.map +1 -1
  124. package/dist/observability/emit-event.d.ts +12 -0
  125. package/dist/observability/emit-event.js +27 -0
  126. package/dist/observability/emit-event.js.map +1 -0
  127. package/dist/preflight/api-port.d.ts +13 -0
  128. package/dist/preflight/api-port.js +32 -0
  129. package/dist/preflight/api-port.js.map +1 -0
  130. package/dist/preflight/rpc-network.d.ts +44 -0
  131. package/dist/preflight/rpc-network.js +121 -0
  132. package/dist/preflight/rpc-network.js.map +1 -0
  133. package/dist/restorer/engine/engine.d.ts +10 -0
  134. package/dist/restorer/engine/engine.js +60 -44
  135. package/dist/restorer/engine/engine.js.map +1 -1
  136. package/dist/restorer/impls/claude-mcp-hyperliquid/index.d.ts +7 -4
  137. package/dist/restorer/impls/claude-mcp-hyperliquid/index.js +12 -1
  138. package/dist/restorer/impls/claude-mcp-hyperliquid/index.js.map +1 -1
  139. package/dist/restorer/impls/claude-mcp-prediction/index.d.ts +2 -1
  140. package/dist/restorer/impls/claude-mcp-prediction/index.js +9 -0
  141. package/dist/restorer/impls/claude-mcp-prediction/index.js.map +1 -1
  142. package/dist/restorer/impls/claude-mcp-prediction/types.d.ts +2 -0
  143. package/dist/restorer/impls/claude-mcp-prediction-apy/index.d.ts +34 -0
  144. package/dist/restorer/impls/claude-mcp-prediction-apy/index.js +233 -0
  145. package/dist/restorer/impls/claude-mcp-prediction-apy/index.js.map +1 -0
  146. package/dist/restorer/impls/claude-mcp-prediction-apy/mcp-tools.d.ts +18 -0
  147. package/dist/restorer/impls/claude-mcp-prediction-apy/mcp-tools.js +136 -0
  148. package/dist/restorer/impls/claude-mcp-prediction-apy/mcp-tools.js.map +1 -0
  149. package/dist/restorer/impls/claude-mcp-prediction-apy/prompt.d.ts +7 -0
  150. package/dist/restorer/impls/claude-mcp-prediction-apy/prompt.js +46 -0
  151. package/dist/restorer/impls/claude-mcp-prediction-apy/prompt.js.map +1 -0
  152. package/dist/restorer/impls/claude-mcp-prediction-apy/session-orchestrator.d.ts +27 -0
  153. package/dist/restorer/impls/claude-mcp-prediction-apy/session-orchestrator.js +128 -0
  154. package/dist/restorer/impls/claude-mcp-prediction-apy/session-orchestrator.js.map +1 -0
  155. package/dist/restorer/impls/claude-mcp-prediction-apy/types.d.ts +64 -0
  156. package/dist/restorer/impls/claude-mcp-prediction-apy/types.js +6 -0
  157. package/dist/restorer/impls/claude-mcp-prediction-apy/types.js.map +1 -0
  158. package/dist/restorer/impls/evaluation-context.d.ts +16 -0
  159. package/dist/restorer/impls/evaluation-context.js +18 -0
  160. package/dist/restorer/impls/evaluation-context.js.map +1 -0
  161. package/dist/restorer/impls/index.d.ts +46 -0
  162. package/dist/restorer/impls/index.js +88 -0
  163. package/dist/restorer/impls/index.js.map +1 -0
  164. package/dist/restorer/impls/legacy-claude/index.d.ts +8 -1
  165. package/dist/restorer/impls/legacy-claude/index.js +79 -10
  166. package/dist/restorer/impls/legacy-claude/index.js.map +1 -1
  167. package/dist/restorer/impls/portfolio-v0-evaluator/index.d.ts +2 -1
  168. package/dist/restorer/impls/portfolio-v0-evaluator/index.js +9 -0
  169. package/dist/restorer/impls/portfolio-v0-evaluator/index.js.map +1 -1
  170. package/dist/restorer/impls/portfolio-v0-evaluator/types.d.ts +2 -0
  171. package/dist/restorer/impls/prediction-apy-v0-baseline/index.d.ts +1 -0
  172. package/dist/restorer/impls/prediction-apy-v0-baseline/index.js +12 -3
  173. package/dist/restorer/impls/prediction-apy-v0-baseline/index.js.map +1 -1
  174. package/dist/restorer/impls/prediction-apy-v0-evaluator/canonical-metrics.d.ts +4 -0
  175. package/dist/restorer/impls/prediction-apy-v0-evaluator/canonical-metrics.js +4 -0
  176. package/dist/restorer/impls/prediction-apy-v0-evaluator/canonical-metrics.js.map +1 -1
  177. package/dist/restorer/impls/prediction-apy-v0-evaluator/index.d.ts +6 -3
  178. package/dist/restorer/impls/prediction-apy-v0-evaluator/index.js +55 -33
  179. package/dist/restorer/impls/prediction-apy-v0-evaluator/index.js.map +1 -1
  180. package/dist/restorer/impls/prediction-apy-v0-evaluator/parse-submission.d.ts +7 -0
  181. package/dist/restorer/impls/prediction-apy-v0-evaluator/parse-submission.js +29 -0
  182. package/dist/restorer/impls/prediction-apy-v0-evaluator/parse-submission.js.map +1 -0
  183. package/dist/restorer/impls/prediction-apy-v0-evaluator/types.d.ts +1 -1
  184. package/dist/restorer/impls/prediction-v0-baseline/index.d.ts +2 -0
  185. package/dist/restorer/impls/prediction-v0-baseline/index.js +6 -0
  186. package/dist/restorer/impls/prediction-v0-baseline/index.js.map +1 -1
  187. package/dist/restorer/impls/prediction-v0-evaluator/checks/integrity.d.ts +6 -0
  188. package/dist/restorer/impls/prediction-v0-evaluator/checks/integrity.js +19 -1
  189. package/dist/restorer/impls/prediction-v0-evaluator/checks/integrity.js.map +1 -1
  190. package/dist/restorer/impls/prediction-v0-evaluator/index.d.ts +6 -3
  191. package/dist/restorer/impls/prediction-v0-evaluator/index.js +30 -4
  192. package/dist/restorer/impls/prediction-v0-evaluator/index.js.map +1 -1
  193. package/dist/restorer/impls/prediction-v0-evaluator/types.d.ts +1 -1
  194. package/dist/restorer/types.d.ts +17 -0
  195. package/dist/restorer/types.js +22 -1
  196. package/dist/restorer/types.js.map +1 -1
  197. package/dist/rpc-error-context.d.ts +10 -0
  198. package/dist/rpc-error-context.js +26 -0
  199. package/dist/rpc-error-context.js.map +1 -0
  200. package/dist/store/store.d.ts +98 -0
  201. package/dist/store/store.js +331 -4
  202. package/dist/store/store.js.map +1 -1
  203. package/dist/trajectory/schema.d.ts +510 -0
  204. package/dist/trajectory/schema.js +74 -0
  205. package/dist/trajectory/schema.js.map +1 -0
  206. package/dist/types/prediction-apy.d.ts +21 -10
  207. package/dist/types/prediction-apy.js +17 -5
  208. package/dist/types/prediction-apy.js.map +1 -1
  209. package/dist/types/prediction.d.ts +11 -10
  210. package/dist/types/prediction.js +3 -2
  211. package/dist/types/prediction.js.map +1 -1
  212. package/dist/venues/aave-v3/client.d.ts +6 -2
  213. package/dist/venues/aave-v3/client.js +14 -5
  214. package/dist/venues/aave-v3/client.js.map +1 -1
  215. package/package.json +4 -3
  216. package/dist/daemon/restorer.d.ts +0 -19
  217. package/dist/daemon/restorer.js +0 -82
  218. package/dist/daemon/restorer.js.map +0 -1
@@ -0,0 +1,510 @@
1
+ /**
2
+ * jinn.trajectory.v1 — OTLP-JSON-shaped trace blob signed and uploaded once
3
+ * per run. Scope: docs/superpowers/specs/2026-04-23-jinn-execution-envelope-tee-scope.md
4
+ * §3.1 trajectory row + K6 span profile, §4.3 trajectory profile deliverable.
5
+ *
6
+ * Each span carries jinn.prevSpanHash (in-run hash chain) + jinn.span.kind
7
+ * (normative profile). Secret-scrub (§4.3 V1 minimum) produces a run-level
8
+ * redactionManifest signed alongside the spans.
9
+ */
10
+ import { z } from 'zod';
11
+ export declare const JinnSpanKindSchema: z.ZodEnum<["jinn.phase", "jinn.llm_call", "jinn.mcp_call", "jinn.artifact.emit", "jinn.venue_io", "jinn.state_transition"]>;
12
+ export type JinnSpanKind = z.infer<typeof JinnSpanKindSchema>;
13
+ /** An OTLP-shaped span with Jinn-required attributes. */
14
+ export declare const SpanSchema: z.ZodObject<{
15
+ traceId: z.ZodString;
16
+ spanId: z.ZodString;
17
+ parentSpanId: z.ZodNullable<z.ZodString>;
18
+ name: z.ZodString;
19
+ kind: z.ZodEnum<["INTERNAL", "CLIENT", "SERVER", "PRODUCER", "CONSUMER"]>;
20
+ startTimeUnixNano: z.ZodString;
21
+ endTimeUnixNano: z.ZodString;
22
+ attributes: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>, Record<string, unknown>, Record<string, unknown>>;
23
+ events: z.ZodArray<z.ZodObject<{
24
+ timeUnixNano: z.ZodString;
25
+ name: z.ZodString;
26
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ name: string;
29
+ timeUnixNano: string;
30
+ attributes?: Record<string, unknown> | undefined;
31
+ }, {
32
+ name: string;
33
+ timeUnixNano: string;
34
+ attributes?: Record<string, unknown> | undefined;
35
+ }>, "many">;
36
+ status: z.ZodObject<{
37
+ code: z.ZodEnum<["UNSET", "OK", "ERROR"]>;
38
+ message: z.ZodOptional<z.ZodString>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ code: "UNSET" | "OK" | "ERROR";
41
+ message?: string | undefined;
42
+ }, {
43
+ code: "UNSET" | "OK" | "ERROR";
44
+ message?: string | undefined;
45
+ }>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ name: string;
48
+ status: {
49
+ code: "UNSET" | "OK" | "ERROR";
50
+ message?: string | undefined;
51
+ };
52
+ kind: "INTERNAL" | "CLIENT" | "SERVER" | "PRODUCER" | "CONSUMER";
53
+ events: {
54
+ name: string;
55
+ timeUnixNano: string;
56
+ attributes?: Record<string, unknown> | undefined;
57
+ }[];
58
+ attributes: Record<string, unknown>;
59
+ traceId: string;
60
+ spanId: string;
61
+ parentSpanId: string | null;
62
+ startTimeUnixNano: string;
63
+ endTimeUnixNano: string;
64
+ }, {
65
+ name: string;
66
+ status: {
67
+ code: "UNSET" | "OK" | "ERROR";
68
+ message?: string | undefined;
69
+ };
70
+ kind: "INTERNAL" | "CLIENT" | "SERVER" | "PRODUCER" | "CONSUMER";
71
+ events: {
72
+ name: string;
73
+ timeUnixNano: string;
74
+ attributes?: Record<string, unknown> | undefined;
75
+ }[];
76
+ attributes: Record<string, unknown>;
77
+ traceId: string;
78
+ spanId: string;
79
+ parentSpanId: string | null;
80
+ startTimeUnixNano: string;
81
+ endTimeUnixNano: string;
82
+ }>;
83
+ export type Span = z.infer<typeof SpanSchema>;
84
+ export declare const RedactionManifestSchema: z.ZodEffects<z.ZodObject<{
85
+ spans: z.ZodArray<z.ZodObject<{
86
+ spanId: z.ZodString;
87
+ redactedKeys: z.ZodArray<z.ZodString, "many">;
88
+ }, "strip", z.ZodTypeAny, {
89
+ spanId: string;
90
+ redactedKeys: string[];
91
+ }, {
92
+ spanId: string;
93
+ redactedKeys: string[];
94
+ }>, "many">;
95
+ totalRedactions: z.ZodNumber;
96
+ }, "strip", z.ZodTypeAny, {
97
+ spans: {
98
+ spanId: string;
99
+ redactedKeys: string[];
100
+ }[];
101
+ totalRedactions: number;
102
+ }, {
103
+ spans: {
104
+ spanId: string;
105
+ redactedKeys: string[];
106
+ }[];
107
+ totalRedactions: number;
108
+ }>, {
109
+ spans: {
110
+ spanId: string;
111
+ redactedKeys: string[];
112
+ }[];
113
+ totalRedactions: number;
114
+ }, {
115
+ spans: {
116
+ spanId: string;
117
+ redactedKeys: string[];
118
+ }[];
119
+ totalRedactions: number;
120
+ }>;
121
+ export type RedactionManifest = z.infer<typeof RedactionManifestSchema>;
122
+ export declare const JinnTrajectoryV1Schema: z.ZodObject<{
123
+ schemaVersion: z.ZodLiteral<"jinn.trajectory.v1">;
124
+ runId: z.ZodString;
125
+ parentEnvelopeCid: z.ZodNullable<z.ZodString>;
126
+ spans: z.ZodArray<z.ZodObject<{
127
+ traceId: z.ZodString;
128
+ spanId: z.ZodString;
129
+ parentSpanId: z.ZodNullable<z.ZodString>;
130
+ name: z.ZodString;
131
+ kind: z.ZodEnum<["INTERNAL", "CLIENT", "SERVER", "PRODUCER", "CONSUMER"]>;
132
+ startTimeUnixNano: z.ZodString;
133
+ endTimeUnixNano: z.ZodString;
134
+ attributes: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>, Record<string, unknown>, Record<string, unknown>>;
135
+ events: z.ZodArray<z.ZodObject<{
136
+ timeUnixNano: z.ZodString;
137
+ name: z.ZodString;
138
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ name: string;
141
+ timeUnixNano: string;
142
+ attributes?: Record<string, unknown> | undefined;
143
+ }, {
144
+ name: string;
145
+ timeUnixNano: string;
146
+ attributes?: Record<string, unknown> | undefined;
147
+ }>, "many">;
148
+ status: z.ZodObject<{
149
+ code: z.ZodEnum<["UNSET", "OK", "ERROR"]>;
150
+ message: z.ZodOptional<z.ZodString>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ code: "UNSET" | "OK" | "ERROR";
153
+ message?: string | undefined;
154
+ }, {
155
+ code: "UNSET" | "OK" | "ERROR";
156
+ message?: string | undefined;
157
+ }>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ name: string;
160
+ status: {
161
+ code: "UNSET" | "OK" | "ERROR";
162
+ message?: string | undefined;
163
+ };
164
+ kind: "INTERNAL" | "CLIENT" | "SERVER" | "PRODUCER" | "CONSUMER";
165
+ events: {
166
+ name: string;
167
+ timeUnixNano: string;
168
+ attributes?: Record<string, unknown> | undefined;
169
+ }[];
170
+ attributes: Record<string, unknown>;
171
+ traceId: string;
172
+ spanId: string;
173
+ parentSpanId: string | null;
174
+ startTimeUnixNano: string;
175
+ endTimeUnixNano: string;
176
+ }, {
177
+ name: string;
178
+ status: {
179
+ code: "UNSET" | "OK" | "ERROR";
180
+ message?: string | undefined;
181
+ };
182
+ kind: "INTERNAL" | "CLIENT" | "SERVER" | "PRODUCER" | "CONSUMER";
183
+ events: {
184
+ name: string;
185
+ timeUnixNano: string;
186
+ attributes?: Record<string, unknown> | undefined;
187
+ }[];
188
+ attributes: Record<string, unknown>;
189
+ traceId: string;
190
+ spanId: string;
191
+ parentSpanId: string | null;
192
+ startTimeUnixNano: string;
193
+ endTimeUnixNano: string;
194
+ }>, "many">;
195
+ redactionManifest: z.ZodEffects<z.ZodObject<{
196
+ spans: z.ZodArray<z.ZodObject<{
197
+ spanId: z.ZodString;
198
+ redactedKeys: z.ZodArray<z.ZodString, "many">;
199
+ }, "strip", z.ZodTypeAny, {
200
+ spanId: string;
201
+ redactedKeys: string[];
202
+ }, {
203
+ spanId: string;
204
+ redactedKeys: string[];
205
+ }>, "many">;
206
+ totalRedactions: z.ZodNumber;
207
+ }, "strip", z.ZodTypeAny, {
208
+ spans: {
209
+ spanId: string;
210
+ redactedKeys: string[];
211
+ }[];
212
+ totalRedactions: number;
213
+ }, {
214
+ spans: {
215
+ spanId: string;
216
+ redactedKeys: string[];
217
+ }[];
218
+ totalRedactions: number;
219
+ }>, {
220
+ spans: {
221
+ spanId: string;
222
+ redactedKeys: string[];
223
+ }[];
224
+ totalRedactions: number;
225
+ }, {
226
+ spans: {
227
+ spanId: string;
228
+ redactedKeys: string[];
229
+ }[];
230
+ totalRedactions: number;
231
+ }>;
232
+ signature: z.ZodObject<{
233
+ algo: z.ZodLiteral<"secp256k1">;
234
+ signer: z.ZodString;
235
+ hash: z.ZodString;
236
+ sig: z.ZodString;
237
+ }, "strip", z.ZodTypeAny, {
238
+ hash: string;
239
+ algo: "secp256k1";
240
+ signer: string;
241
+ sig: string;
242
+ }, {
243
+ hash: string;
244
+ algo: "secp256k1";
245
+ signer: string;
246
+ sig: string;
247
+ }>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ signature: {
250
+ hash: string;
251
+ algo: "secp256k1";
252
+ signer: string;
253
+ sig: string;
254
+ };
255
+ schemaVersion: "jinn.trajectory.v1";
256
+ parentEnvelopeCid: string | null;
257
+ spans: {
258
+ name: string;
259
+ status: {
260
+ code: "UNSET" | "OK" | "ERROR";
261
+ message?: string | undefined;
262
+ };
263
+ kind: "INTERNAL" | "CLIENT" | "SERVER" | "PRODUCER" | "CONSUMER";
264
+ events: {
265
+ name: string;
266
+ timeUnixNano: string;
267
+ attributes?: Record<string, unknown> | undefined;
268
+ }[];
269
+ attributes: Record<string, unknown>;
270
+ traceId: string;
271
+ spanId: string;
272
+ parentSpanId: string | null;
273
+ startTimeUnixNano: string;
274
+ endTimeUnixNano: string;
275
+ }[];
276
+ runId: string;
277
+ redactionManifest: {
278
+ spans: {
279
+ spanId: string;
280
+ redactedKeys: string[];
281
+ }[];
282
+ totalRedactions: number;
283
+ };
284
+ }, {
285
+ signature: {
286
+ hash: string;
287
+ algo: "secp256k1";
288
+ signer: string;
289
+ sig: string;
290
+ };
291
+ schemaVersion: "jinn.trajectory.v1";
292
+ parentEnvelopeCid: string | null;
293
+ spans: {
294
+ name: string;
295
+ status: {
296
+ code: "UNSET" | "OK" | "ERROR";
297
+ message?: string | undefined;
298
+ };
299
+ kind: "INTERNAL" | "CLIENT" | "SERVER" | "PRODUCER" | "CONSUMER";
300
+ events: {
301
+ name: string;
302
+ timeUnixNano: string;
303
+ attributes?: Record<string, unknown> | undefined;
304
+ }[];
305
+ attributes: Record<string, unknown>;
306
+ traceId: string;
307
+ spanId: string;
308
+ parentSpanId: string | null;
309
+ startTimeUnixNano: string;
310
+ endTimeUnixNano: string;
311
+ }[];
312
+ runId: string;
313
+ redactionManifest: {
314
+ spans: {
315
+ spanId: string;
316
+ redactedKeys: string[];
317
+ }[];
318
+ totalRedactions: number;
319
+ };
320
+ }>;
321
+ export type JinnTrajectoryV1 = z.infer<typeof JinnTrajectoryV1Schema>;
322
+ /** Unsigned form — what we hash + sign. */
323
+ export declare const UnsignedTrajectorySchema: z.ZodObject<Omit<{
324
+ schemaVersion: z.ZodLiteral<"jinn.trajectory.v1">;
325
+ runId: z.ZodString;
326
+ parentEnvelopeCid: z.ZodNullable<z.ZodString>;
327
+ spans: z.ZodArray<z.ZodObject<{
328
+ traceId: z.ZodString;
329
+ spanId: z.ZodString;
330
+ parentSpanId: z.ZodNullable<z.ZodString>;
331
+ name: z.ZodString;
332
+ kind: z.ZodEnum<["INTERNAL", "CLIENT", "SERVER", "PRODUCER", "CONSUMER"]>;
333
+ startTimeUnixNano: z.ZodString;
334
+ endTimeUnixNano: z.ZodString;
335
+ attributes: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>, Record<string, unknown>, Record<string, unknown>>;
336
+ events: z.ZodArray<z.ZodObject<{
337
+ timeUnixNano: z.ZodString;
338
+ name: z.ZodString;
339
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ name: string;
342
+ timeUnixNano: string;
343
+ attributes?: Record<string, unknown> | undefined;
344
+ }, {
345
+ name: string;
346
+ timeUnixNano: string;
347
+ attributes?: Record<string, unknown> | undefined;
348
+ }>, "many">;
349
+ status: z.ZodObject<{
350
+ code: z.ZodEnum<["UNSET", "OK", "ERROR"]>;
351
+ message: z.ZodOptional<z.ZodString>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ code: "UNSET" | "OK" | "ERROR";
354
+ message?: string | undefined;
355
+ }, {
356
+ code: "UNSET" | "OK" | "ERROR";
357
+ message?: string | undefined;
358
+ }>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ name: string;
361
+ status: {
362
+ code: "UNSET" | "OK" | "ERROR";
363
+ message?: string | undefined;
364
+ };
365
+ kind: "INTERNAL" | "CLIENT" | "SERVER" | "PRODUCER" | "CONSUMER";
366
+ events: {
367
+ name: string;
368
+ timeUnixNano: string;
369
+ attributes?: Record<string, unknown> | undefined;
370
+ }[];
371
+ attributes: Record<string, unknown>;
372
+ traceId: string;
373
+ spanId: string;
374
+ parentSpanId: string | null;
375
+ startTimeUnixNano: string;
376
+ endTimeUnixNano: string;
377
+ }, {
378
+ name: string;
379
+ status: {
380
+ code: "UNSET" | "OK" | "ERROR";
381
+ message?: string | undefined;
382
+ };
383
+ kind: "INTERNAL" | "CLIENT" | "SERVER" | "PRODUCER" | "CONSUMER";
384
+ events: {
385
+ name: string;
386
+ timeUnixNano: string;
387
+ attributes?: Record<string, unknown> | undefined;
388
+ }[];
389
+ attributes: Record<string, unknown>;
390
+ traceId: string;
391
+ spanId: string;
392
+ parentSpanId: string | null;
393
+ startTimeUnixNano: string;
394
+ endTimeUnixNano: string;
395
+ }>, "many">;
396
+ redactionManifest: z.ZodEffects<z.ZodObject<{
397
+ spans: z.ZodArray<z.ZodObject<{
398
+ spanId: z.ZodString;
399
+ redactedKeys: z.ZodArray<z.ZodString, "many">;
400
+ }, "strip", z.ZodTypeAny, {
401
+ spanId: string;
402
+ redactedKeys: string[];
403
+ }, {
404
+ spanId: string;
405
+ redactedKeys: string[];
406
+ }>, "many">;
407
+ totalRedactions: z.ZodNumber;
408
+ }, "strip", z.ZodTypeAny, {
409
+ spans: {
410
+ spanId: string;
411
+ redactedKeys: string[];
412
+ }[];
413
+ totalRedactions: number;
414
+ }, {
415
+ spans: {
416
+ spanId: string;
417
+ redactedKeys: string[];
418
+ }[];
419
+ totalRedactions: number;
420
+ }>, {
421
+ spans: {
422
+ spanId: string;
423
+ redactedKeys: string[];
424
+ }[];
425
+ totalRedactions: number;
426
+ }, {
427
+ spans: {
428
+ spanId: string;
429
+ redactedKeys: string[];
430
+ }[];
431
+ totalRedactions: number;
432
+ }>;
433
+ signature: z.ZodObject<{
434
+ algo: z.ZodLiteral<"secp256k1">;
435
+ signer: z.ZodString;
436
+ hash: z.ZodString;
437
+ sig: z.ZodString;
438
+ }, "strip", z.ZodTypeAny, {
439
+ hash: string;
440
+ algo: "secp256k1";
441
+ signer: string;
442
+ sig: string;
443
+ }, {
444
+ hash: string;
445
+ algo: "secp256k1";
446
+ signer: string;
447
+ sig: string;
448
+ }>;
449
+ }, "signature">, "strip", z.ZodTypeAny, {
450
+ schemaVersion: "jinn.trajectory.v1";
451
+ parentEnvelopeCid: string | null;
452
+ spans: {
453
+ name: string;
454
+ status: {
455
+ code: "UNSET" | "OK" | "ERROR";
456
+ message?: string | undefined;
457
+ };
458
+ kind: "INTERNAL" | "CLIENT" | "SERVER" | "PRODUCER" | "CONSUMER";
459
+ events: {
460
+ name: string;
461
+ timeUnixNano: string;
462
+ attributes?: Record<string, unknown> | undefined;
463
+ }[];
464
+ attributes: Record<string, unknown>;
465
+ traceId: string;
466
+ spanId: string;
467
+ parentSpanId: string | null;
468
+ startTimeUnixNano: string;
469
+ endTimeUnixNano: string;
470
+ }[];
471
+ runId: string;
472
+ redactionManifest: {
473
+ spans: {
474
+ spanId: string;
475
+ redactedKeys: string[];
476
+ }[];
477
+ totalRedactions: number;
478
+ };
479
+ }, {
480
+ schemaVersion: "jinn.trajectory.v1";
481
+ parentEnvelopeCid: string | null;
482
+ spans: {
483
+ name: string;
484
+ status: {
485
+ code: "UNSET" | "OK" | "ERROR";
486
+ message?: string | undefined;
487
+ };
488
+ kind: "INTERNAL" | "CLIENT" | "SERVER" | "PRODUCER" | "CONSUMER";
489
+ events: {
490
+ name: string;
491
+ timeUnixNano: string;
492
+ attributes?: Record<string, unknown> | undefined;
493
+ }[];
494
+ attributes: Record<string, unknown>;
495
+ traceId: string;
496
+ spanId: string;
497
+ parentSpanId: string | null;
498
+ startTimeUnixNano: string;
499
+ endTimeUnixNano: string;
500
+ }[];
501
+ runId: string;
502
+ redactionManifest: {
503
+ spans: {
504
+ spanId: string;
505
+ redactedKeys: string[];
506
+ }[];
507
+ totalRedactions: number;
508
+ };
509
+ }>;
510
+ export type UnsignedTrajectory = z.infer<typeof UnsignedTrajectorySchema>;
@@ -0,0 +1,74 @@
1
+ /**
2
+ * jinn.trajectory.v1 — OTLP-JSON-shaped trace blob signed and uploaded once
3
+ * per run. Scope: docs/superpowers/specs/2026-04-23-jinn-execution-envelope-tee-scope.md
4
+ * §3.1 trajectory row + K6 span profile, §4.3 trajectory profile deliverable.
5
+ *
6
+ * Each span carries jinn.prevSpanHash (in-run hash chain) + jinn.span.kind
7
+ * (normative profile). Secret-scrub (§4.3 V1 minimum) produces a run-level
8
+ * redactionManifest signed alongside the spans.
9
+ */
10
+ import { z } from 'zod';
11
+ const HexStringSchema = z.string().regex(/^0x[0-9a-fA-F]*$/);
12
+ export const JinnSpanKindSchema = z.enum([
13
+ 'jinn.phase',
14
+ 'jinn.llm_call',
15
+ 'jinn.mcp_call',
16
+ 'jinn.artifact.emit',
17
+ 'jinn.venue_io',
18
+ 'jinn.state_transition',
19
+ ]);
20
+ const EventSchema = z.object({
21
+ timeUnixNano: z.string(),
22
+ name: z.string(),
23
+ attributes: z.record(z.unknown()).optional(),
24
+ });
25
+ const SpanStatusSchema = z.object({
26
+ code: z.enum(['UNSET', 'OK', 'ERROR']),
27
+ message: z.string().optional(),
28
+ });
29
+ /** An OTLP-shaped span with Jinn-required attributes. */
30
+ export const SpanSchema = z.object({
31
+ traceId: z.string().regex(/^[0-9a-f]{32}$/),
32
+ spanId: z.string().regex(/^[0-9a-f]{16}$/),
33
+ parentSpanId: z.string().regex(/^[0-9a-f]{16}$/).nullable(),
34
+ name: z.string().min(1),
35
+ kind: z.enum(['INTERNAL', 'CLIENT', 'SERVER', 'PRODUCER', 'CONSUMER']),
36
+ startTimeUnixNano: z.string(),
37
+ endTimeUnixNano: z.string(),
38
+ attributes: z
39
+ .record(z.unknown())
40
+ .refine((a) => typeof a['jinn.span.kind'] === 'string', {
41
+ message: 'jinn.span.kind attribute required',
42
+ })
43
+ .refine((a) => typeof a['jinn.prevSpanHash'] === 'string', {
44
+ message: 'jinn.prevSpanHash attribute required',
45
+ }),
46
+ events: z.array(EventSchema),
47
+ status: SpanStatusSchema,
48
+ });
49
+ export const RedactionManifestSchema = z
50
+ .object({
51
+ spans: z.array(z.object({
52
+ spanId: z.string().regex(/^[0-9a-f]{16}$/),
53
+ redactedKeys: z.array(z.string()),
54
+ })),
55
+ totalRedactions: z.number().int().nonnegative(),
56
+ })
57
+ .refine((m) => m.spans.reduce((acc, s) => acc + s.redactedKeys.length, 0) === m.totalRedactions, { message: 'totalRedactions must equal sum of per-span redactedKeys' });
58
+ const SignatureSchema = z.object({
59
+ algo: z.literal('secp256k1'),
60
+ signer: HexStringSchema,
61
+ hash: HexStringSchema,
62
+ sig: HexStringSchema,
63
+ });
64
+ export const JinnTrajectoryV1Schema = z.object({
65
+ schemaVersion: z.literal('jinn.trajectory.v1'),
66
+ runId: z.string().min(1),
67
+ parentEnvelopeCid: z.string().nullable(),
68
+ spans: z.array(SpanSchema),
69
+ redactionManifest: RedactionManifestSchema,
70
+ signature: SignatureSchema,
71
+ });
72
+ /** Unsigned form — what we hash + sign. */
73
+ export const UnsignedTrajectorySchema = JinnTrajectoryV1Schema.omit({ signature: true });
74
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/trajectory/schema.ts"],"names":[],"mappings":"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"}
@@ -77,6 +77,11 @@ export declare const PredictionApyV0SpecSchema: z.ZodObject<{
77
77
  }>;
78
78
  export type PredictionApyV0Spec = z.infer<typeof PredictionApyV0SpecSchema>;
79
79
  export declare const PredictionApyV0EligibilitySchema: z.ZodObject<{
80
+ /**
81
+ * Latest time after window start for a valid submission: submittedAt ≤
82
+ * startTs + maxSubmissionDelayMs. Default 72h so it does not cut off
83
+ * late-in-window posts on long windows; tighten per market.
84
+ */
80
85
  maxSubmissionDelayMs: z.ZodDefault<z.ZodNumber>;
81
86
  }, "strip", z.ZodTypeAny, {
82
87
  maxSubmissionDelayMs: number;
@@ -174,6 +179,11 @@ export declare const PredictionApyV0IntentSchema: z.ZodEffects<z.ZodEffects<z.Zo
174
179
  };
175
180
  }>;
176
181
  eligibility: z.ZodDefault<z.ZodObject<{
182
+ /**
183
+ * Latest time after window start for a valid submission: submittedAt ≤
184
+ * startTs + maxSubmissionDelayMs. Default 72h so it does not cut off
185
+ * late-in-window posts on long windows; tighten per market.
186
+ */
177
187
  maxSubmissionDelayMs: z.ZodDefault<z.ZodNumber>;
178
188
  }, "strip", z.ZodTypeAny, {
179
189
  maxSubmissionDelayMs: number;
@@ -766,17 +776,18 @@ export declare const PredictionApyVerdictManifestSchema: z.ZodObject<{
766
776
  predictedBps: z.ZodString;
767
777
  submittedAt: z.ZodNumber;
768
778
  modelId: z.ZodString;
769
- submissionManifestCid: z.ZodString;
779
+ /** Present when the submission was registered on IPFS; omitted for inline/dev. */
780
+ submissionManifestCid: z.ZodOptional<z.ZodString>;
770
781
  }, "strip", z.ZodTypeAny, {
771
782
  submittedAt: number;
772
783
  modelId: string;
773
- submissionManifestCid: string;
774
784
  predictedBps: string;
785
+ submissionManifestCid?: string | undefined;
775
786
  }, {
776
787
  submittedAt: number;
777
788
  modelId: string;
778
- submissionManifestCid: string;
779
789
  predictedBps: string;
790
+ submissionManifestCid?: string | undefined;
780
791
  }>;
781
792
  groundTruth: z.ZodObject<{
782
793
  twApyBps: z.ZodString;
@@ -790,15 +801,15 @@ export declare const PredictionApyVerdictManifestSchema: z.ZodObject<{
790
801
  }>;
791
802
  checks: z.ZodArray<z.ZodObject<{
792
803
  name: z.ZodString;
793
- status: z.ZodEnum<["PASS", "FAIL", "SKIP"]>;
804
+ status: z.ZodEnum<["PASS", "FAIL", "SKIP", "INDETERMINATE"]>;
794
805
  detail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
795
806
  }, "strip", z.ZodTypeAny, {
796
807
  name: string;
797
- status: "PASS" | "FAIL" | "SKIP";
808
+ status: "PASS" | "FAIL" | "SKIP" | "INDETERMINATE";
798
809
  detail?: string | Record<string, unknown> | undefined;
799
810
  }, {
800
811
  name: string;
801
- status: "PASS" | "FAIL" | "SKIP";
812
+ status: "PASS" | "FAIL" | "SKIP" | "INDETERMINATE";
802
813
  detail?: string | Record<string, unknown> | undefined;
803
814
  }>, "many">;
804
815
  signature: z.ZodObject<{
@@ -847,12 +858,12 @@ export declare const PredictionApyVerdictManifestSchema: z.ZodObject<{
847
858
  claimed: {
848
859
  submittedAt: number;
849
860
  modelId: string;
850
- submissionManifestCid: string;
851
861
  predictedBps: string;
862
+ submissionManifestCid?: string | undefined;
852
863
  };
853
864
  checks: {
854
865
  name: string;
855
- status: "PASS" | "FAIL" | "SKIP";
866
+ status: "PASS" | "FAIL" | "SKIP" | "INDETERMINATE";
856
867
  detail?: string | Record<string, unknown> | undefined;
857
868
  }[];
858
869
  oracleReading: {
@@ -896,12 +907,12 @@ export declare const PredictionApyVerdictManifestSchema: z.ZodObject<{
896
907
  claimed: {
897
908
  submittedAt: number;
898
909
  modelId: string;
899
- submissionManifestCid: string;
900
910
  predictedBps: string;
911
+ submissionManifestCid?: string | undefined;
901
912
  };
902
913
  checks: {
903
914
  name: string;
904
- status: "PASS" | "FAIL" | "SKIP";
915
+ status: "PASS" | "FAIL" | "SKIP" | "INDETERMINATE";
905
916
  detail?: string | Record<string, unknown> | undefined;
906
917
  }[];
907
918
  oracleReading: {