@opencxh/domain 1.251.0 → 1.253.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.
- package/dist/entities/live-lens/types.d.ts +1 -1
- package/dist/entities/playbook/types.d.ts +17 -1
- package/dist/entities/sla/machine.d.ts +2 -2
- package/dist/entities/sla/types.d.ts +8 -0
- package/dist/entities/sla/view.d.ts +2 -0
- package/dist/index.cjs +19 -19
- package/dist/index.js +1335 -1317
- package/dist/platform/ai-tools.d.ts +11 -0
- package/package.json +1 -1
|
@@ -176,6 +176,17 @@ export interface AiToolDescriptor extends AiTool {
|
|
|
176
176
|
* decides the suggest downgrade on this.
|
|
177
177
|
*/
|
|
178
178
|
effect?: "internal" | "outward";
|
|
179
|
+
/**
|
|
180
|
+
* What this tool leaves behind for a human to finish. `"draft"` = it prepares something the
|
|
181
|
+
* user reviews and sends (a reply draft), which is exactly the deliverable of an
|
|
182
|
+
* `AssistantMode: "draft"` turn.
|
|
183
|
+
*
|
|
184
|
+
* Declaring it is what lets that mode keep the drafting tool and drop every other write
|
|
185
|
+
* *without naming any tool*: `effect: "internal"` is too wide — an internal note, an
|
|
186
|
+
* attribute and a work item are all internal, and a model asked to "write something" picks
|
|
187
|
+
* whichever one its description matched. See `tools/mode.ts` in the ai app.
|
|
188
|
+
*/
|
|
189
|
+
produces?: "draft";
|
|
179
190
|
}
|
|
180
191
|
/**
|
|
181
192
|
* Body of `POST /provider/ai-tools/invoke`. Replaces five inline structural types (the caller in
|