@pi-unipi/core 0.1.11 → 0.1.12

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/constants.ts CHANGED
@@ -162,6 +162,7 @@ export const UTILITY_COMMANDS = {
162
162
  BADGE_GEN: "badge-gen",
163
163
  BADGE_TOGGLE: "badge-toggle",
164
164
  BADGE_SETTINGS: "badge-settings",
165
+ UTIL_SETTINGS: "util-settings",
165
166
  } as const;
166
167
 
167
168
  /** Utility tool names */
package/events.ts CHANGED
@@ -78,6 +78,9 @@ export const UNIPI_EVENTS = {
78
78
 
79
79
  /** Badge generation requested (from kanboard or other module) */
80
80
  BADGE_GENERATE_REQUEST: "unipi:badge:generate:request",
81
+
82
+ /** Agent asked user a question (ask_user tool invoked) */
83
+ ASK_USER_PROMPT: "unipi:ask-user:prompt",
81
84
  } as const;
82
85
 
83
86
  /** Payload for MODULE_READY / MODULE_GONE */
@@ -306,6 +309,20 @@ export interface UnipiBadgeGenerateRequestEvent {
306
309
  conversationSummary?: string;
307
310
  }
308
311
 
312
+ /** Payload for ASK_USER_PROMPT */
313
+ export interface UnipiAskUserPromptEvent {
314
+ /** Question being asked */
315
+ question: string;
316
+ /** Additional context */
317
+ context?: string;
318
+ /** Number of options provided */
319
+ optionCount?: number;
320
+ /** Whether multi-select mode */
321
+ allowMultiple?: boolean;
322
+ /** Whether freeform input allowed */
323
+ allowFreeform?: boolean;
324
+ }
325
+
309
326
  /** Payload for NOTIFICATION_SENT */
310
327
  export interface UnipiNotificationSentEvent {
311
328
  /** Event type that triggered notification */
@@ -341,4 +358,5 @@ export type UnipiEventPayload =
341
358
  | UnipiUtilityDiagnosticsEvent
342
359
  | UnipiUtilityLifecycleEvent
343
360
  | UnipiNotificationSentEvent
344
- | UnipiBadgeGenerateRequestEvent;
361
+ | UnipiBadgeGenerateRequestEvent
362
+ | UnipiAskUserPromptEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/core",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Shared utilities, event types, and constants for Unipi extension suite",
5
5
  "type": "module",
6
6
  "license": "MIT",