wicked-crew-api-types 0.102.0 → 0.103.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/index.d.ts +39 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2815,6 +2815,38 @@ export type AdviceDeliveredEvent = {
|
|
|
2815
2815
|
detail: string | null;
|
|
2816
2816
|
};
|
|
2817
2817
|
|
|
2818
|
+
/**
|
|
2819
|
+
* (wicked-core#762) The engine ended an ACP turn itself: the worker's final message was followed by
|
|
2820
|
+
* `quietSecs` of silence (`WICKED_ACP_SETTLE_SECS`, default 600) with no tool call open, so the turn
|
|
2821
|
+
* is settled `Ok` with its `outputBytes` of output as the attempt's result and the wedged process is
|
|
2822
|
+
* dropped. Crew's stall watchdog reads it as a returned worker (never a reassign). Spelled as
|
|
2823
|
+
* wicked-core's `CoreEvent::to_json` emits it.
|
|
2824
|
+
*/
|
|
2825
|
+
export type AcpTurnSettledEvent = {
|
|
2826
|
+
type: 'acpTurnSettled';
|
|
2827
|
+
session: string;
|
|
2828
|
+
ord: number;
|
|
2829
|
+
attempt: number;
|
|
2830
|
+
cliKey: string;
|
|
2831
|
+
quietSecs: number;
|
|
2832
|
+
outputBytes: number;
|
|
2833
|
+
};
|
|
2834
|
+
|
|
2835
|
+
/**
|
|
2836
|
+
* (wicked-core#418) An ACP session opened to replace a process the engine closed itself, and what
|
|
2837
|
+
* the cold start cost (`ms`, to the opened session): `reason` is `posture_switch`,
|
|
2838
|
+
* `fenced_unit_quiesced` or `turn_settled` (read an unknown token as a reason, never an error).
|
|
2839
|
+
*/
|
|
2840
|
+
export type AcpProcessRestartedEvent = {
|
|
2841
|
+
type: 'acpProcessRestarted';
|
|
2842
|
+
session: string;
|
|
2843
|
+
ord: number;
|
|
2844
|
+
attempt: number;
|
|
2845
|
+
cliKey: string;
|
|
2846
|
+
reason: 'posture_switch' | 'fenced_unit_quiesced' | 'turn_settled' | (string & {});
|
|
2847
|
+
ms: number;
|
|
2848
|
+
};
|
|
2849
|
+
|
|
2818
2850
|
/**
|
|
2819
2851
|
* DES-TEAMING-001 §5.3 / §7 (wicked-core#602, S3; api-types 0.40.0) — the worker's answer to one
|
|
2820
2852
|
* DELIVERED finding, read from its final output line `ADVICE <id>: ACCEPT|DECLINE — <reason>` (the
|
|
@@ -4758,6 +4790,13 @@ export interface WorkflowDef {
|
|
|
4758
4790
|
* Gated at intake: a launch whose snapshot lacks the skill is refused before any unit is planned.
|
|
4759
4791
|
*/
|
|
4760
4792
|
base_skill_ref?: string | null;
|
|
4793
|
+
/**
|
|
4794
|
+
* (api-types 0.102.0; wicked-core#850, core-ts ≥ 0.7.46) The instruments a run of this workflow
|
|
4795
|
+
* REQUIRES: `distinct_evaluator`, `judge`, `qe_acceptance`. ABSENT ⇒ the first two. An unknown or
|
|
4796
|
+
* repeated token refuses the def at load. `qe_acceptance` is enforced by crew at delivery (an
|
|
4797
|
+
* attributed QE PASS, or no push) and is never waived by `reducedAssurance`.
|
|
4798
|
+
*/
|
|
4799
|
+
required_instruments?: string[] | null;
|
|
4761
4800
|
}
|
|
4762
4801
|
|
|
4763
4802
|
/** A drop-in workflow definition the ENGINE refused, with the engine's own reason (wicked-crew#718). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-crew-api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.103.0",
|
|
4
4
|
"description": "The wire contract of the wicked-crew daemon's /api/v1 REST surface and /ws CoreEvent frames \u2014 types only, zero runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./index.d.ts",
|