@pellux/goodvibes-sdk 0.18.28 → 0.18.30

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 (109) hide show
  1. package/dist/_internal/platform/agents/orchestrator-runner.js +1 -1
  2. package/dist/_internal/platform/bookmarks/manager.d.ts +1 -1
  3. package/dist/_internal/platform/bookmarks/manager.d.ts.map +1 -1
  4. package/dist/_internal/platform/channels/surface-registry.js +3 -3
  5. package/dist/_internal/platform/config/api-keys.d.ts +29 -0
  6. package/dist/_internal/platform/config/api-keys.d.ts.map +1 -0
  7. package/dist/_internal/platform/config/api-keys.js +153 -0
  8. package/dist/_internal/platform/config/index.d.ts +1 -13
  9. package/dist/_internal/platform/config/index.d.ts.map +1 -1
  10. package/dist/_internal/platform/config/index.js +1 -138
  11. package/dist/_internal/platform/config/schema-domain-core.d.ts +1 -0
  12. package/dist/_internal/platform/config/schema-domain-core.d.ts.map +1 -1
  13. package/dist/_internal/platform/config/schema-domain-core.js +7 -0
  14. package/dist/_internal/platform/config/schema-types.d.ts +3 -2
  15. package/dist/_internal/platform/config/schema-types.d.ts.map +1 -1
  16. package/dist/_internal/platform/config/tool-llm.d.ts.map +1 -1
  17. package/dist/_internal/platform/config/tool-llm.js +3 -0
  18. package/dist/_internal/platform/core/conversation-diff.d.ts +6 -2
  19. package/dist/_internal/platform/core/conversation-diff.d.ts.map +1 -1
  20. package/dist/_internal/platform/core/conversation.d.ts +13 -5
  21. package/dist/_internal/platform/core/conversation.d.ts.map +1 -1
  22. package/dist/_internal/platform/core/conversation.js +35 -1
  23. package/dist/_internal/platform/pairing/companion-token.d.ts +45 -0
  24. package/dist/_internal/platform/pairing/companion-token.d.ts.map +1 -0
  25. package/dist/_internal/platform/pairing/companion-token.js +74 -0
  26. package/dist/_internal/platform/pairing/connection-info.d.ts +10 -0
  27. package/dist/_internal/platform/pairing/connection-info.d.ts.map +1 -0
  28. package/dist/_internal/platform/pairing/connection-info.js +27 -0
  29. package/dist/_internal/platform/pairing/index.d.ts +6 -0
  30. package/dist/_internal/platform/pairing/index.d.ts.map +1 -0
  31. package/dist/_internal/platform/pairing/index.js +3 -0
  32. package/dist/_internal/platform/pairing/qr-generator.d.ts +20 -0
  33. package/dist/_internal/platform/pairing/qr-generator.d.ts.map +1 -0
  34. package/dist/_internal/platform/pairing/qr-generator.js +452 -0
  35. package/dist/_internal/platform/plugins/loader.d.ts +5 -1
  36. package/dist/_internal/platform/plugins/loader.d.ts.map +1 -1
  37. package/dist/_internal/platform/plugins/loader.js +7 -3
  38. package/dist/_internal/platform/runtime/bootstrap-hook-bridge.d.ts +10 -0
  39. package/dist/_internal/platform/runtime/bootstrap-hook-bridge.d.ts.map +1 -0
  40. package/dist/_internal/platform/runtime/bootstrap-hook-bridge.js +143 -0
  41. package/dist/_internal/platform/runtime/diagnostics/panels/panel-resources.d.ts +5 -5
  42. package/dist/_internal/platform/runtime/diagnostics/panels/panel-resources.d.ts.map +1 -1
  43. package/dist/_internal/platform/runtime/diagnostics/panels/panel-resources.js +3 -3
  44. package/dist/_internal/platform/runtime/diagnostics/types.d.ts +26 -13
  45. package/dist/_internal/platform/runtime/diagnostics/types.d.ts.map +1 -1
  46. package/dist/_internal/platform/runtime/diagnostics/types.js +4 -2
  47. package/dist/_internal/platform/runtime/mutable-runtime-state.d.ts +14 -0
  48. package/dist/_internal/platform/runtime/mutable-runtime-state.d.ts.map +1 -0
  49. package/dist/_internal/platform/runtime/mutable-runtime-state.js +1 -0
  50. package/dist/_internal/platform/runtime/ops/playbooks/permission-deadlock.js +2 -2
  51. package/dist/_internal/platform/runtime/perf/component-contracts.d.ts +114 -0
  52. package/dist/_internal/platform/runtime/perf/component-contracts.d.ts.map +1 -0
  53. package/dist/_internal/platform/runtime/perf/component-contracts.js +104 -0
  54. package/dist/_internal/platform/runtime/perf/component-health-monitor.d.ts +98 -0
  55. package/dist/_internal/platform/runtime/perf/component-health-monitor.d.ts.map +1 -0
  56. package/dist/_internal/platform/runtime/perf/component-health-monitor.js +248 -0
  57. package/dist/_internal/platform/runtime/perf/index.d.ts +6 -3
  58. package/dist/_internal/platform/runtime/perf/index.d.ts.map +1 -1
  59. package/dist/_internal/platform/runtime/perf/index.js +4 -2
  60. package/dist/_internal/platform/runtime/perf/panel-contracts.d.ts +6 -90
  61. package/dist/_internal/platform/runtime/perf/panel-contracts.d.ts.map +1 -1
  62. package/dist/_internal/platform/runtime/perf/panel-contracts.js +4 -83
  63. package/dist/_internal/platform/runtime/perf/panel-health-monitor.d.ts +4 -88
  64. package/dist/_internal/platform/runtime/perf/panel-health-monitor.d.ts.map +1 -1
  65. package/dist/_internal/platform/runtime/perf/panel-health-monitor.js +4 -236
  66. package/dist/_internal/platform/runtime/service-queries.d.ts +3 -0
  67. package/dist/_internal/platform/runtime/service-queries.d.ts.map +1 -0
  68. package/dist/_internal/platform/runtime/service-queries.js +1 -0
  69. package/dist/_internal/platform/runtime/services.d.ts +2 -2
  70. package/dist/_internal/platform/runtime/services.d.ts.map +1 -1
  71. package/dist/_internal/platform/runtime/services.js +3 -3
  72. package/dist/_internal/platform/runtime/session-return-context.js +1 -1
  73. package/dist/_internal/platform/runtime/shell-command-services.d.ts +2 -2
  74. package/dist/_internal/platform/runtime/shell-command-services.d.ts.map +1 -1
  75. package/dist/_internal/platform/runtime/shell-command-services.js +2 -2
  76. package/dist/_internal/platform/runtime/shell-command-workspace.d.ts +2 -2
  77. package/dist/_internal/platform/runtime/shell-command-workspace.d.ts.map +1 -1
  78. package/dist/_internal/platform/runtime/shell-command-workspace.js +2 -2
  79. package/dist/_internal/platform/runtime/store/domains/index.d.ts +2 -0
  80. package/dist/_internal/platform/runtime/store/domains/index.d.ts.map +1 -1
  81. package/dist/_internal/platform/runtime/store/domains/index.js +1 -0
  82. package/dist/_internal/platform/runtime/store/selectors/index.d.ts +27 -14
  83. package/dist/_internal/platform/runtime/store/selectors/index.d.ts.map +1 -1
  84. package/dist/_internal/platform/runtime/store/selectors/index.js +35 -25
  85. package/dist/_internal/platform/runtime/store/state.d.ts +3 -4
  86. package/dist/_internal/platform/runtime/store/state.d.ts.map +1 -1
  87. package/dist/_internal/platform/runtime/store/state.js +3 -4
  88. package/dist/_internal/platform/runtime/system-message-policy.d.ts +18 -0
  89. package/dist/_internal/platform/runtime/system-message-policy.d.ts.map +1 -0
  90. package/dist/_internal/platform/runtime/system-message-policy.js +35 -0
  91. package/dist/_internal/platform/utils/clipboard.d.ts +3 -2
  92. package/dist/_internal/platform/utils/clipboard.d.ts.map +1 -1
  93. package/dist/_internal/platform/utils/clipboard.js +0 -17
  94. package/dist/_internal/platform/utils/notify.d.ts.map +1 -1
  95. package/dist/_internal/platform/utils/notify.js +4 -1
  96. package/dist/_internal/platform/utils/terminal-width.d.ts +13 -0
  97. package/dist/_internal/platform/utils/terminal-width.d.ts.map +1 -1
  98. package/dist/_internal/platform/utils/terminal-width.js +13 -0
  99. package/dist/_internal/platform/version.js +1 -1
  100. package/package.json +1 -1
  101. package/dist/_internal/platform/core/history.d.ts +0 -22
  102. package/dist/_internal/platform/core/history.d.ts.map +0 -1
  103. package/dist/_internal/platform/core/history.js +0 -43
  104. package/dist/_internal/platform/types/grid.d.ts +0 -27
  105. package/dist/_internal/platform/types/grid.d.ts.map +0 -1
  106. package/dist/_internal/platform/types/grid.js +0 -26
  107. package/dist/_internal/platform/utils/splash-lines.d.ts +0 -8
  108. package/dist/_internal/platform/utils/splash-lines.d.ts.map +0 -1
  109. package/dist/_internal/platform/utils/splash-lines.js +0 -32
@@ -8,8 +8,8 @@
8
8
  * configurable; callers can also request an immediate snapshot via
9
9
  * getSnapshot().
10
10
  */
11
- import type { PanelHealthMonitor } from '../../perf/panel-health-monitor.js';
12
- import type { PanelResourceSnapshot } from '../types.js';
11
+ import type { ComponentHealthMonitor } from '../../perf/component-health-monitor.js';
12
+ import type { ComponentResourceSnapshot } from '../types.js';
13
13
  /**
14
14
  * PanelResourcesPanel — diagnostic data provider for panel resource health.
15
15
  *
@@ -22,7 +22,7 @@ export declare class PanelResourcesPanel {
22
22
  private _current;
23
23
  private _timerId;
24
24
  private readonly _subscribers;
25
- constructor(monitor: PanelHealthMonitor, pollIntervalMs?: number);
25
+ constructor(monitor: ComponentHealthMonitor, pollIntervalMs?: number);
26
26
  /**
27
27
  * Start polling the health monitor.
28
28
  * Safe to call multiple times — subsequent calls are no-ops.
@@ -35,11 +35,11 @@ export declare class PanelResourcesPanel {
35
35
  /**
36
36
  * Return the most recent panel resource snapshot.
37
37
  */
38
- getSnapshot(): PanelResourceSnapshot;
38
+ getSnapshot(): ComponentResourceSnapshot;
39
39
  /**
40
40
  * Force an immediate snapshot refresh and return it.
41
41
  */
42
- refresh(now?: number): PanelResourceSnapshot;
42
+ refresh(now?: number): ComponentResourceSnapshot;
43
43
  /**
44
44
  * Register a callback invoked whenever the snapshot is refreshed.
45
45
  * @returns An unsubscribe function.
@@ -1 +1 @@
1
- {"version":3,"file":"panel-resources.d.ts","sourceRoot":"","sources":["../../../../../../src/_internal/platform/runtime/diagnostics/panels/panel-resources.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,KAAK,EAAsB,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAY7E;;;;;GAKG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAS;IACzC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAC9C,OAAO,CAAC,QAAQ,CAAwB;IACxC,OAAO,CAAC,QAAQ,CAA+C;IAC/D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAyB;gBAE1C,OAAO,EAAE,kBAAkB,EAAE,cAAc,GAAE,MAAiC;IAM1F;;;OAGG;IACH,KAAK,IAAI,IAAI;IAQb;;OAEG;IACH,IAAI,IAAI,IAAI;IAOZ;;OAEG;IACH,WAAW,IAAI,qBAAqB;IAIpC;;OAEG;IACH,OAAO,CAAC,GAAG,GAAE,MAAmB,GAAG,qBAAqB;IAKxD;;;OAGG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAK3C;;OAEG;IACH,OAAO,IAAI,IAAI;IASf,OAAO,CAAC,cAAc;IA0CtB,OAAO,CAAC,OAAO;CAShB"}
1
+ {"version":3,"file":"panel-resources.d.ts","sourceRoot":"","sources":["../../../../../../src/_internal/platform/runtime/diagnostics/panels/panel-resources.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AACrF,OAAO,KAAK,EAA0B,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAYrF;;;;;GAKG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAS;IACzC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAyB;IAClD,OAAO,CAAC,QAAQ,CAA4B;IAC5C,OAAO,CAAC,QAAQ,CAA+C;IAC/D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAyB;gBAE1C,OAAO,EAAE,sBAAsB,EAAE,cAAc,GAAE,MAAiC;IAM9F;;;OAGG;IACH,KAAK,IAAI,IAAI;IAQb;;OAEG;IACH,IAAI,IAAI,IAAI;IAOZ;;OAEG;IACH,WAAW,IAAI,yBAAyB;IAIxC;;OAEG;IACH,OAAO,CAAC,GAAG,GAAE,MAAmB,GAAG,yBAAyB;IAK5D;;;OAGG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAK3C;;OAEG;IACH,OAAO,IAAI,IAAI;IASf,OAAO,CAAC,cAAc;IA0CtB,OAAO,CAAC,OAAO;CAShB"}
@@ -78,9 +78,9 @@ export class PanelResourcesPanel {
78
78
  _buildSnapshot(capturedAt) {
79
79
  const healthStates = this._monitor.getAllHealth();
80
80
  const panels = healthStates.map((h) => {
81
- const contract = this._monitor.getContract(h.panelId);
81
+ const contract = this._monitor.getContract(h.componentId);
82
82
  return {
83
- panelId: h.panelId,
83
+ componentId: h.componentId,
84
84
  throttleStatus: h.throttleStatus,
85
85
  healthStatus: h.healthStatus,
86
86
  renderP95Ms: h.renderP95Ms,
@@ -97,7 +97,7 @@ export class PanelResourcesPanel {
97
97
  // Sort: overloaded first, then warning, then healthy; alphabetical within tier
98
98
  panels.sort((a, b) => {
99
99
  const diff = (HEALTH_ORDER[a.healthStatus] ?? 2) - (HEALTH_ORDER[b.healthStatus] ?? 2);
100
- return diff !== 0 ? diff : a.panelId.localeCompare(b.panelId);
100
+ return diff !== 0 ? diff : a.componentId.localeCompare(b.componentId);
101
101
  });
102
102
  const overloadedCount = panels.filter((p) => p.healthStatus === 'overloaded').length;
103
103
  const warningCount = panels.filter((p) => p.healthStatus === 'warning').length;
@@ -268,16 +268,20 @@ export interface HealthDashboardData {
268
268
  readonly remediationActions: readonly RemediationAction[];
269
269
  }
270
270
  /**
271
- * Configuration for a single diagnostic panel data provider.
271
+ * Configuration for a single diagnostic component data provider.
272
272
  */
273
- export interface PanelConfig {
273
+ export interface ComponentConfig {
274
274
  /** Maximum number of entries retained in the buffer. */
275
275
  readonly bufferLimit: number;
276
276
  }
277
+ /** @deprecated Use ComponentConfig instead. */
278
+ export type PanelConfig = ComponentConfig;
277
279
  /**
278
- * Default panel configuration used when none is provided.
280
+ * Default component configuration used when none is provided.
279
281
  */
280
- export declare const DEFAULT_PANEL_CONFIG: PanelConfig;
282
+ export declare const DEFAULT_COMPONENT_CONFIG: ComponentConfig;
283
+ /** @deprecated Use DEFAULT_COMPONENT_CONFIG instead. */
284
+ export declare const DEFAULT_PANEL_CONFIG: ComponentConfig;
281
285
  /**
282
286
  * Severity of a single tool contract violation.
283
287
  * Mirrors ContractViolationSeverity from the contract-verifier module.
@@ -405,13 +409,17 @@ export interface IntegrationDeliveryDiagnostics {
405
409
  /** Epoch ms of this snapshot. */
406
410
  readonly capturedAt: number;
407
411
  }
408
- import type { PanelThrottleStatus, PanelHealthStatus } from '../perf/panel-contracts.js';
412
+ import type { ComponentThrottleStatus, ComponentHealthStatus } from '../perf/component-contracts.js';
413
+ /** @deprecated Use ComponentThrottleStatus. Kept for PanelResourceEntry field typing. */
414
+ type PanelThrottleStatus = ComponentThrottleStatus;
415
+ /** @deprecated Use ComponentHealthStatus. Kept for PanelResourceEntry field typing. */
416
+ type PanelHealthStatus = ComponentHealthStatus;
409
417
  /**
410
- * Diagnostic snapshot for a single panel's resource usage and health.
418
+ * Diagnostic snapshot for a single component's resource usage and health.
411
419
  */
412
- export interface PanelResourceEntry {
413
- /** Panel id. */
414
- readonly panelId: string;
420
+ export interface ComponentResourceEntry {
421
+ /** Component id. */
422
+ readonly componentId: string;
415
423
  /** Current throttle status. */
416
424
  readonly throttleStatus: PanelThrottleStatus;
417
425
  /** Current health status. */
@@ -435,12 +443,14 @@ export interface PanelResourceEntry {
435
443
  /** Epoch ms when next render is permitted (0 = unrestricted). */
436
444
  readonly nextAllowedAt: number;
437
445
  }
446
+ /** @deprecated Use ComponentResourceEntry instead. */
447
+ export type PanelResourceEntry = ComponentResourceEntry;
438
448
  /**
439
- * Full snapshot of panel resource health for the diagnostics panel.
449
+ * Full snapshot of component resource health for the diagnostics panel.
440
450
  */
441
- export interface PanelResourceSnapshot {
442
- /** All tracked panel entries, sorted: overloaded > warning > healthy. */
443
- readonly panels: readonly PanelResourceEntry[];
451
+ export interface ComponentResourceSnapshot {
452
+ /** All tracked component entries, sorted: overloaded > warning > healthy. */
453
+ readonly panels: readonly ComponentResourceEntry[];
444
454
  /** Count of panels currently in 'overloaded' health status. */
445
455
  readonly overloadedCount: number;
446
456
  /** Count of panels currently in 'warning' health status. */
@@ -452,6 +462,8 @@ export interface PanelResourceSnapshot {
452
462
  /** Epoch ms when this snapshot was captured. */
453
463
  readonly capturedAt: number;
454
464
  }
465
+ /** @deprecated Use ComponentResourceSnapshot instead. */
466
+ export type PanelResourceSnapshot = ComponentResourceSnapshot;
455
467
  /**
456
468
  * Outcome of a token scope audit check.
457
469
  * Mirrors TokenScopeAuditResult from src/security/token-audit.ts.
@@ -530,4 +542,5 @@ export declare function applyFilter<T extends {
530
542
  * @param limit - Maximum buffer size.
531
543
  */
532
544
  export declare function appendBounded<T>(buffer: T[], entry: T, limit: number): void;
545
+ export {};
533
546
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/diagnostics/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAgB,MAAM,oBAAoB,CAAC;AAInF,iFAAiF;AACjF,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAIxC;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,2DAA2D;IAC3D,QAAQ,CAAC,KAAK,CAAC,EAAE,eAAe,CAAC;IACjC,2EAA2E;IAC3E,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,4EAA4E;IAC5E,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,iDAAiD;IACjD,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,mDAAmD;IACnD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,gDAAgD;IAChD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,gDAAgD;IAChD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,+DAA+D;IAC/D,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,6CAA6C;AAC7C,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAIlE,6DAA6D;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QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,2CAA2C;IAC3C,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5C,6CAA6C;IAC7C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAID;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAC1E,OAAO,EAAE,SAAS,CAAC,EAAE,EACrB,MAAM,EAAE,gBAAgB,GAAG,SAAS,EACpC,YAAY,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,GACjC,CAAC,EAAE,CA2BL;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAK3E"}
@@ -2,11 +2,13 @@
2
2
  /** Default maximum number of entries retained in a bounded diagnostic buffer. */
3
3
  export const DEFAULT_BUFFER_LIMIT = 500;
4
4
  /**
5
- * Default panel configuration used when none is provided.
5
+ * Default component configuration used when none is provided.
6
6
  */
7
- export const DEFAULT_PANEL_CONFIG = {
7
+ export const DEFAULT_COMPONENT_CONFIG = {
8
8
  bufferLimit: DEFAULT_BUFFER_LIMIT,
9
9
  };
10
+ /** @deprecated Use DEFAULT_COMPONENT_CONFIG instead. */
11
+ export const DEFAULT_PANEL_CONFIG = DEFAULT_COMPONENT_CONFIG;
10
12
  // ── Utility ───────────────────────────────────────────────────────────────────
11
13
  /**
12
14
  * Apply a DiagnosticFilter to an array of entries.
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Mutable runtime state that host shells can update in response to command,
3
+ * model-picker, and resume flows without replacing a larger runtime object.
4
+ */
5
+ export interface MutableRuntimeState {
6
+ model: string;
7
+ provider: string;
8
+ debugMode: boolean;
9
+ systemPrompt: string;
10
+ /** Empty string if not configured. */
11
+ reasoningEffort: string;
12
+ sessionId: string;
13
+ }
14
+ //# sourceMappingURL=mutable-runtime-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutable-runtime-state.d.ts","sourceRoot":"","sources":["../../../../src/_internal/platform/runtime/mutable-runtime-state.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -43,7 +43,7 @@ export const permissionDeadlockPlaybook = {
43
43
  passed: false,
44
44
  summary: 'UI responsiveness requires live render context.',
45
45
  severity: 'warning',
46
- context: { hint: 'Check Ink render tree for active PermissionPrompt component' },
46
+ context: { hint: 'Check host render context for active PermissionPrompt component' },
47
47
  })),
48
48
  },
49
49
  ],
@@ -99,7 +99,7 @@ export const permissionDeadlockPlaybook = {
99
99
  },
100
100
  ],
101
101
  escalationCriteria: [
102
- 'Permission UI is rendering but unresponsive to keyboard input (Ink render stall)',
102
+ 'Permission UI is rendering but unresponsive to keyboard input (Host render stall)',
103
103
  'Adding allow rules does not unblock the pending request',
104
104
  'Multiple concurrent permission deadlocks across different turns',
105
105
  'Policy engine itself is throwing on evaluation',
@@ -0,0 +1,114 @@
1
+ /** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */
2
+ /**
3
+ * Component resource contracts — per-component CPU/IO/update budget definitions.
4
+ *
5
+ * Each component declares a resource contract describing its acceptable update
6
+ * rate and render cost. The ComponentHealthMonitor enforces these contracts at
7
+ * runtime, throttling or degrading components that exceed their budgets.
8
+ *
9
+ * "Component" is intentionally surface-agnostic: a TUI panel, a web widget,
10
+ * or any other renderable unit can register with the monitor using these types.
11
+ */
12
+ /** Throttle status for a component. */
13
+ export type ComponentThrottleStatus = 'normal' | 'throttled' | 'degraded';
14
+ /** Health of a single component based on contract compliance. */
15
+ export type ComponentHealthStatus = 'healthy' | 'warning' | 'overloaded';
16
+ /**
17
+ * Resource contract for a single component.
18
+ *
19
+ * Defines the maximum acceptable update rate and render cost budget.
20
+ * Violations trigger throttling; sustained violations trigger degradation.
21
+ */
22
+ export interface ComponentResourceContract {
23
+ /** Component id this contract applies to. */
24
+ componentId: string;
25
+ /**
26
+ * Maximum updates per second the component is allowed to request.
27
+ * Components that exceed this rate are throttled.
28
+ */
29
+ maxUpdatesPerSecond: number;
30
+ /**
31
+ * Maximum acceptable render duration in milliseconds (p95).
32
+ * Components that consistently exceed this are degraded.
33
+ */
34
+ maxRenderMs: number;
35
+ /**
36
+ * Minimum interval in milliseconds between renders when throttled.
37
+ * The monitor enforces this floor when the component exceeds its update rate.
38
+ */
39
+ throttleIntervalMs: number;
40
+ /**
41
+ * Number of consecutive budget violations before moving to 'degraded' status.
42
+ * Degraded components render at a fixed reduced rate regardless of update requests.
43
+ */
44
+ degradeAfterViolations: number;
45
+ /**
46
+ * Fixed render interval in milliseconds when the component is degraded.
47
+ * Replaces throttleIntervalMs for severely overloaded components.
48
+ */
49
+ degradedIntervalMs: number;
50
+ }
51
+ /**
52
+ * Live health state for a single component, maintained by the ComponentHealthMonitor.
53
+ */
54
+ export interface ComponentHealthState {
55
+ /** Component id. */
56
+ componentId: string;
57
+ /** Current throttle status. */
58
+ throttleStatus: ComponentThrottleStatus;
59
+ /** Current health status. */
60
+ healthStatus: ComponentHealthStatus;
61
+ /** Observed render count over the last measurement window. */
62
+ rendersInWindow: number;
63
+ /** p95 render duration in ms over the last measurement window. */
64
+ renderP95Ms: number;
65
+ /** Number of consecutive contract violations (update rate or render cost). */
66
+ consecutiveViolations: number;
67
+ /** Epoch ms when the component was last allowed to render. */
68
+ lastRenderAt: number;
69
+ /** Epoch ms of next allowed render (0 = no restriction). */
70
+ nextAllowedAt: number;
71
+ /** Total renders suppressed due to throttle or degradation since monitor start. */
72
+ totalSuppressed: number;
73
+ /** Total renders permitted since monitor start. */
74
+ totalPermitted: number;
75
+ }
76
+ /**
77
+ * Default resource contracts by component category.
78
+ *
79
+ * Components without an explicit contract inherit from their category default.
80
+ * Active/interactive components get more generous budgets; monitoring components
81
+ * are throttled aggressively to prevent render storms.
82
+ */
83
+ export declare const CATEGORY_CONTRACTS: Record<string, Omit<ComponentResourceContract, 'componentId'>>;
84
+ /**
85
+ * Build a ComponentResourceContract for a component, merging category defaults
86
+ * with any per-component overrides.
87
+ *
88
+ * @param componentId - The component's unique id.
89
+ * @param category - The component's category (used to select the base contract).
90
+ * @param overrides - Optional per-component overrides applied on top of the category contract.
91
+ */
92
+ export declare function buildContract(componentId: string, category: string, overrides?: Partial<Omit<ComponentResourceContract, 'componentId'>>): ComponentResourceContract;
93
+ /**
94
+ * Create an initial (clean) ComponentHealthState for a component.
95
+ */
96
+ export declare function createInitialComponentHealthState(componentId: string): ComponentHealthState;
97
+ /** @deprecated Use ComponentThrottleStatus */
98
+ export type PanelThrottleStatus = ComponentThrottleStatus;
99
+ /** @deprecated Use ComponentHealthStatus */
100
+ export type PanelHealthStatus = ComponentHealthStatus;
101
+ /** @deprecated Use ComponentResourceContract */
102
+ export type PanelResourceContract = Omit<ComponentResourceContract, 'componentId'> & {
103
+ panelId: string;
104
+ };
105
+ /** @deprecated Use ComponentHealthState */
106
+ export type PanelHealthState = Omit<ComponentHealthState, 'componentId'> & {
107
+ panelId: string;
108
+ };
109
+ /**
110
+ * @deprecated Use createInitialComponentHealthState.
111
+ * Creates an initial PanelHealthState with a panelId field for legacy callers.
112
+ */
113
+ export declare function createInitialPanelHealthState(panelId: string): PanelHealthState;
114
+ //# sourceMappingURL=component-contracts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-contracts.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/perf/component-contracts.ts"],"names":[],"mappings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EACnB,QAAQ,EAAE,MAAM,EAChB,SAAS,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,aAAa,CAAC,CAAC,GAClE,yBAAyB,CAO3B;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,WAAW,EAAE,MAAM,GAAG,oBAAoB,CAa3F;AAOD,8CAA8C;AAC9C,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,CAAC;AAE1D,4CAA4C;AAC5C,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AAEtD,gDAAgD;AAChD,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,yBAAyB,EAAE,aAAa,CAAC,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzG,2CAA2C;AAC3C,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/F;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB,CAa/E"}
@@ -0,0 +1,104 @@
1
+ /** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */
2
+ /**
3
+ * Default resource contracts by component category.
4
+ *
5
+ * Components without an explicit contract inherit from their category default.
6
+ * Active/interactive components get more generous budgets; monitoring components
7
+ * are throttled aggressively to prevent render storms.
8
+ */
9
+ export const CATEGORY_CONTRACTS = {
10
+ development: {
11
+ maxUpdatesPerSecond: 10,
12
+ maxRenderMs: 20,
13
+ throttleIntervalMs: 100,
14
+ degradeAfterViolations: 5,
15
+ degradedIntervalMs: 500,
16
+ },
17
+ agent: {
18
+ maxUpdatesPerSecond: 5,
19
+ maxRenderMs: 30,
20
+ throttleIntervalMs: 200,
21
+ degradeAfterViolations: 5,
22
+ degradedIntervalMs: 1000,
23
+ },
24
+ monitoring: {
25
+ maxUpdatesPerSecond: 2,
26
+ maxRenderMs: 50,
27
+ throttleIntervalMs: 500,
28
+ degradeAfterViolations: 3,
29
+ degradedIntervalMs: 2000,
30
+ },
31
+ session: {
32
+ maxUpdatesPerSecond: 4,
33
+ maxRenderMs: 25,
34
+ throttleIntervalMs: 250,
35
+ degradeAfterViolations: 5,
36
+ degradedIntervalMs: 1000,
37
+ },
38
+ ai: {
39
+ maxUpdatesPerSecond: 8,
40
+ maxRenderMs: 20,
41
+ throttleIntervalMs: 125,
42
+ degradeAfterViolations: 5,
43
+ degradedIntervalMs: 500,
44
+ },
45
+ /** Fallback for unrecognised categories. */
46
+ default: {
47
+ maxUpdatesPerSecond: 5,
48
+ maxRenderMs: 30,
49
+ throttleIntervalMs: 200,
50
+ degradeAfterViolations: 5,
51
+ degradedIntervalMs: 1000,
52
+ },
53
+ };
54
+ /**
55
+ * Build a ComponentResourceContract for a component, merging category defaults
56
+ * with any per-component overrides.
57
+ *
58
+ * @param componentId - The component's unique id.
59
+ * @param category - The component's category (used to select the base contract).
60
+ * @param overrides - Optional per-component overrides applied on top of the category contract.
61
+ */
62
+ export function buildContract(componentId, category, overrides) {
63
+ const base = CATEGORY_CONTRACTS[category] ?? CATEGORY_CONTRACTS['default'];
64
+ return {
65
+ componentId,
66
+ ...base,
67
+ ...overrides,
68
+ };
69
+ }
70
+ /**
71
+ * Create an initial (clean) ComponentHealthState for a component.
72
+ */
73
+ export function createInitialComponentHealthState(componentId) {
74
+ return {
75
+ componentId,
76
+ throttleStatus: 'normal',
77
+ healthStatus: 'healthy',
78
+ rendersInWindow: 0,
79
+ renderP95Ms: 0,
80
+ consecutiveViolations: 0,
81
+ lastRenderAt: 0,
82
+ nextAllowedAt: 0,
83
+ totalSuppressed: 0,
84
+ totalPermitted: 0,
85
+ };
86
+ }
87
+ /**
88
+ * @deprecated Use createInitialComponentHealthState.
89
+ * Creates an initial PanelHealthState with a panelId field for legacy callers.
90
+ */
91
+ export function createInitialPanelHealthState(panelId) {
92
+ return {
93
+ panelId,
94
+ throttleStatus: 'normal',
95
+ healthStatus: 'healthy',
96
+ rendersInWindow: 0,
97
+ renderP95Ms: 0,
98
+ consecutiveViolations: 0,
99
+ lastRenderAt: 0,
100
+ nextAllowedAt: 0,
101
+ totalSuppressed: 0,
102
+ totalPermitted: 0,
103
+ };
104
+ }
@@ -0,0 +1,98 @@
1
+ /**
2
+ * ComponentHealthMonitor — enforces per-component resource contracts.
3
+ *
4
+ * Tracks update rate and render cost per component. Components that exceed their
5
+ * contracted budget are throttled (render gated to a minimum interval).
6
+ * Components with sustained violations are degraded (rendered at a fixed low rate).
7
+ *
8
+ * The monitor does NOT render components itself — callers ask canRender() before
9
+ * rendering and report the actual render cost via recordRender().
10
+ *
11
+ * This keeps the monitor policy-focused and the rendering path ignorant of
12
+ * throttling policy details.
13
+ *
14
+ * Surface-agnostic: a TUI panel, a web widget, or any other renderable unit
15
+ * can register with this monitor. The TUI uses componentId values that
16
+ * correspond to panel identifiers; other surfaces use their own naming.
17
+ */
18
+ import type { ComponentResourceContract, ComponentHealthState } from './component-contracts.js';
19
+ /**
20
+ * ComponentHealthMonitor — tracks component resource usage and enforces budgets.
21
+ *
22
+ * Usage:
23
+ * 1. Register components with register(componentId, category).
24
+ * 2. Before rendering: if (!monitor.canRender(componentId, now)) skip the render.
25
+ * 3. After rendering: monitor.recordRender(componentId, durationMs, now).
26
+ * 4. Read health via getHealth(componentId) or getAllHealth().
27
+ */
28
+ export declare class ComponentHealthMonitor {
29
+ private readonly _tracks;
30
+ /**
31
+ * Register a component with the monitor.
32
+ *
33
+ * If the component is already registered, this is a no-op.
34
+ *
35
+ * @param componentId - Unique component identifier.
36
+ * @param category - Component category (used to select the base contract).
37
+ * @param contractOverrides - Optional per-component contract overrides.
38
+ */
39
+ register(componentId: string, category: string, contractOverrides?: Partial<Omit<ComponentResourceContract, 'componentId'>>): void;
40
+ /**
41
+ * Deregister a component, removing all tracking state.
42
+ */
43
+ deregister(componentId: string): void;
44
+ /**
45
+ * Check whether a component is permitted to render at the given time.
46
+ *
47
+ * Records the render request for rate tracking regardless of the outcome.
48
+ * If the component is not registered, renders are always permitted.
49
+ *
50
+ * @param componentId - Component to check.
51
+ * @param now - Current epoch ms (defaults to Date.now()).
52
+ * @returns true if the render is permitted; false if it should be skipped.
53
+ */
54
+ canRender(componentId: string, now?: number): boolean;
55
+ /**
56
+ * Record the actual render duration for a component.
57
+ *
58
+ * Should be called after every permitted render completes. Updates the
59
+ * p95 render cost and may escalate the component's throttle status if the
60
+ * render cost budget is violated.
61
+ *
62
+ * @param componentId - Component that rendered.
63
+ * @param durationMs - Actual render duration in milliseconds.
64
+ * @param now - Epoch ms at render completion (defaults to Date.now()).
65
+ */
66
+ recordRender(componentId: string, durationMs: number, now?: number): void;
67
+ /**
68
+ * Return the current health state for a component, or undefined if not registered.
69
+ */
70
+ getHealth(componentId: string): ComponentHealthState | undefined;
71
+ /**
72
+ * Return health states for all registered components.
73
+ */
74
+ getAllHealth(): ComponentHealthState[];
75
+ /**
76
+ * Return the resource contract for a registered component, or undefined.
77
+ */
78
+ getContract(componentId: string): ComponentResourceContract | undefined;
79
+ /**
80
+ * Forcibly reset a component's health state to normal.
81
+ * Useful for tests or manual operator intervention.
82
+ */
83
+ resetHealth(componentId: string): void;
84
+ private _rotateWindow;
85
+ private _applyViolation;
86
+ /**
87
+ * Dual-path recovery: `_recordClean` handles render-cost-based recovery
88
+ * (triggered from `recordRender` after a cheap render), while `_rotateWindow`
89
+ * handles rate-based recovery (triggered at window boundaries). Both paths
90
+ * call `_recover` once the clean-window threshold is met, so either signal
91
+ * alone is sufficient to restore a component to normal status.
92
+ */
93
+ private _recordClean;
94
+ private _recover;
95
+ }
96
+ /** @deprecated Use ComponentHealthMonitor */
97
+ export { ComponentHealthMonitor as PanelHealthMonitor };
98
+ //# sourceMappingURL=component-health-monitor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-health-monitor.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/perf/component-health-monitor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAqChG;;;;;;;;GAQG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA0C;IAElE;;;;;;;;OAQG;IACH,QAAQ,CACN,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,iBAAiB,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,aAAa,CAAC,CAAC,GAC1E,IAAI;IAgBP;;OAEG;IACH,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAIrC;;;;;;;;;OASG;IACH,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,GAAE,MAAmB,GAAG,OAAO;IAmCjE;;;;;;;;;;OAUG;IACH,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,GAAE,MAAmB,GAAG,IAAI;IA2BrF;;OAEG;IACH,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS;IAIhE;;OAEG;IACH,YAAY,IAAI,oBAAoB,EAAE;IAItC;;OAEG;IACH,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,yBAAyB,GAAG,SAAS;IAIvE;;;OAGG;IACH,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAatC,OAAO,CAAC,aAAa;IA2BrB,OAAO,CAAC,eAAe;IAiBvB;;;;;;OAMG;IACH,OAAO,CAAC,YAAY;IASpB,OAAO,CAAC,QAAQ;CAOjB;AAMD,6CAA6C;AAC7C,OAAO,EAAE,sBAAsB,IAAI,kBAAkB,EAAE,CAAC"}