@apotech-os/support-kit 5.0.1 → 6.0.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/index.d.cts CHANGED
@@ -1502,6 +1502,16 @@ interface PromptCachePort {
1502
1502
  */
1503
1503
  interface PromptDegradedEvent {
1504
1504
  stage: 'platform-unavailable' | 'cache-unavailable' | 'composition-target-missing' | 'composition-target-forbidden' | 'composition-cycle' | 'composition-depth-exceeded'
1505
+ /**
1506
+ * A level answered, and answered with nothing — a Langfuse prompt whose
1507
+ * production version is blank (`platform-empty`), or a `prompt-cache`
1508
+ * mirror entry holding no text (`cache-empty`). Distinct from the
1509
+ * `-unavailable` stages above, which are the level failing to answer at
1510
+ * all: both descend, but only these two mean the level was reachable and
1511
+ * said nothing. The one an operator needs to see, because nothing else
1512
+ * reports that the prompt they just edited is now empty.
1513
+ */
1514
+ | 'platform-empty' | 'cache-empty'
1505
1515
  /**
1506
1516
  * Not a degradation but its terminus: the ladder resolved no text at any
1507
1517
  * level and the run is about to fail on `MissingPromptError`. Emitted
@@ -1957,11 +1967,11 @@ interface SupportKitSettings {
1957
1967
  declare function settingsToProfile(settings: SupportKitSettings, prompts: Record<PromptTableKey, PromptRef>): AgentProfile;
1958
1968
 
1959
1969
  /**
1960
- * `SupportKitFunctionConfig` — what each of the four T22 manifest fragments
1961
- * (`triage-tick`/`process-response`/`sweep`/`handle-approval`) needs to
1962
- * build its `FunctionDef` (spec §3.2's `SupportPipelineConfig`, the slice of
1963
- * it these fragments actually read — `buildSupportPipeline`, T25, owns the
1964
- * full shape and passes this down).
1970
+ * `SupportKitFunctionConfig` — what each manifest fragment
1971
+ * (`triage-tick`/`sweep`/`handle-approval`/…) needs to build its
1972
+ * `FunctionDef` (spec §3.2's `SupportPipelineConfig`, the slice of it these
1973
+ * fragments actually read — `buildSupportPipeline`, T25, owns the full
1974
+ * shape and passes this down).
1965
1975
  */
1966
1976
 
1967
1977
  interface SupportKitFunctionConfig extends PromptNameConfig {
package/dist/index.d.ts CHANGED
@@ -1502,6 +1502,16 @@ interface PromptCachePort {
1502
1502
  */
1503
1503
  interface PromptDegradedEvent {
1504
1504
  stage: 'platform-unavailable' | 'cache-unavailable' | 'composition-target-missing' | 'composition-target-forbidden' | 'composition-cycle' | 'composition-depth-exceeded'
1505
+ /**
1506
+ * A level answered, and answered with nothing — a Langfuse prompt whose
1507
+ * production version is blank (`platform-empty`), or a `prompt-cache`
1508
+ * mirror entry holding no text (`cache-empty`). Distinct from the
1509
+ * `-unavailable` stages above, which are the level failing to answer at
1510
+ * all: both descend, but only these two mean the level was reachable and
1511
+ * said nothing. The one an operator needs to see, because nothing else
1512
+ * reports that the prompt they just edited is now empty.
1513
+ */
1514
+ | 'platform-empty' | 'cache-empty'
1505
1515
  /**
1506
1516
  * Not a degradation but its terminus: the ladder resolved no text at any
1507
1517
  * level and the run is about to fail on `MissingPromptError`. Emitted
@@ -1957,11 +1967,11 @@ interface SupportKitSettings {
1957
1967
  declare function settingsToProfile(settings: SupportKitSettings, prompts: Record<PromptTableKey, PromptRef>): AgentProfile;
1958
1968
 
1959
1969
  /**
1960
- * `SupportKitFunctionConfig` — what each of the four T22 manifest fragments
1961
- * (`triage-tick`/`process-response`/`sweep`/`handle-approval`) needs to
1962
- * build its `FunctionDef` (spec §3.2's `SupportPipelineConfig`, the slice of
1963
- * it these fragments actually read — `buildSupportPipeline`, T25, owns the
1964
- * full shape and passes this down).
1970
+ * `SupportKitFunctionConfig` — what each manifest fragment
1971
+ * (`triage-tick`/`sweep`/`handle-approval`/…) needs to build its
1972
+ * `FunctionDef` (spec §3.2's `SupportPipelineConfig`, the slice of it these
1973
+ * fragments actually read — `buildSupportPipeline`, T25, owns the full
1974
+ * shape and passes this down).
1965
1975
  */
1966
1976
 
1967
1977
  interface SupportKitFunctionConfig extends PromptNameConfig {