@crewhaus/ir 0.1.6 โ 0.1.8
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/dist/index.d.ts +26 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -141,6 +141,27 @@ export type IrSecurity = {
|
|
|
141
141
|
*/
|
|
142
142
|
readonly egressMatcher?: "substring" | "semantic";
|
|
143
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
* Response-feedback config, lowered from `spec.feedback`. Declares that a
|
|
146
|
+
* harness collects human ratings on responses. `modality` always resolves
|
|
147
|
+
* (Zod defaults it to `"binary"`); the rest are optional. `channelReactions`
|
|
148
|
+
* gates the channel target's codegen of Slack ๐/๐ โ `user_feedback`. Carried
|
|
149
|
+
* on the interactive shapes that consume it (IrV0/cli, IrChannelV0). Absent
|
|
150
|
+
* when the spec omits the `feedback` block.
|
|
151
|
+
*/
|
|
152
|
+
export type IrFeedback = {
|
|
153
|
+
readonly enabled?: boolean;
|
|
154
|
+
readonly modality: "binary" | "stars" | "scale" | "comment";
|
|
155
|
+
readonly scale?: {
|
|
156
|
+
readonly min: number;
|
|
157
|
+
readonly max: number;
|
|
158
|
+
};
|
|
159
|
+
readonly storage?: {
|
|
160
|
+
readonly location: string;
|
|
161
|
+
};
|
|
162
|
+
readonly autoDistill?: boolean;
|
|
163
|
+
readonly channelReactions?: boolean;
|
|
164
|
+
};
|
|
144
165
|
/**
|
|
145
166
|
* Track F (Section 57) โ typed message schemas (ฮฃ) for multi-agent
|
|
146
167
|
* communication. Source: AgentFlow (arxiv 2604.20801). A typed graph
|
|
@@ -209,6 +230,8 @@ export type IrV0 = {
|
|
|
209
230
|
* selection). Optional; absent when the spec omits the `security`
|
|
210
231
|
* block. */
|
|
211
232
|
readonly security?: IrSecurity;
|
|
233
|
+
/** Response-feedback config. Optional; absent when the spec omits `feedback`. */
|
|
234
|
+
readonly feedback?: IrFeedback;
|
|
212
235
|
/** ยง47 cross-cutting blockchain subsystem (slice 0). All optional. */
|
|
213
236
|
readonly chains?: readonly IrChainBinding[];
|
|
214
237
|
readonly wallets?: readonly IrWalletBinding[];
|
|
@@ -453,6 +476,9 @@ export type IrChannelV0 = {
|
|
|
453
476
|
readonly gateway?: IrChannelGateway;
|
|
454
477
|
/** Section 55 (Track A) โ named failure taxonomy. Optional. */
|
|
455
478
|
readonly failureTaxonomy?: IrFailureTaxonomy;
|
|
479
|
+
/** Response-feedback config. `feedback.channelReactions` gates Slack ๐/๐
|
|
480
|
+
* โ user_feedback codegen in this target. Absent when spec omits it. */
|
|
481
|
+
readonly feedback?: IrFeedback;
|
|
456
482
|
/** ยง47 cross-cutting blockchain subsystem (slice 0). All optional. */
|
|
457
483
|
readonly chains?: readonly IrChainBinding[];
|
|
458
484
|
readonly wallets?: readonly IrWalletBinding[];
|