Class: MeetingExt

Inherits:
Clacky::ApiExtension show all
Defined in:
lib/clacky/default_extensions/meeting/api/handler.rb

Overview

Meeting Extension — real-time transcription, on-demand agent Q&A, and post-meeting summarization. Mounted at /api/ext/meeting/.

Constant Summary collapse

MEETINGS_ROOT =
File.expand_path("~/.clacky/meetings")
VOCABULARY_PATH =
File.join(MEETINGS_ROOT, "vocabulary.txt")
SYSTEM_VOCABULARY =

Always injected into STT vocabulary — these are our own wake words / brand names and must not be droppable by the user's saved list.

"Clacky, 小克".freeze
DEFAULT_VOCABULARY =
"Clacky, 小克, OpenClacky, openclacky"
WRITE_TOOLS =

annotate is a read-only analysis: block every side-effecting tool so the forked subagent can only read/think, never write files, run commands, spawn more work, or prompt the user.

%w[write edit terminal trash_manager invoke_skill request_user_feedback browser].freeze
HALLUCINATION_PHRASES =
Set.new(%w[
  no no. yes yes. ok okay you bye . .. ...
  thanks thank\ you
  uh um hmm mm mm-hmm yeah yeah. yep but and so oh ah ahh huh
  an a i the more well right hi hey wow
      谢谢 谢谢观看 谢谢大家  好的 
]).freeze
DEDUP_WINDOW_SECONDS =
3.0

Constants inherited from Clacky::ApiExtension

Clacky::ApiExtension::DEFAULT_TIMEOUT, Clacky::ApiExtension::HTTP_METHODS, Clacky::ApiExtension::MAX_TIMEOUT

Instance Attribute Summary

Attributes inherited from Clacky::ApiExtension

#params, #req, #res, #route

Method Summary

Methods inherited from Clacky::ApiExtension

#agent_config, class_timeout, compile_pattern, #config, #create_session, #data_path, #dispatch_to_session, #error!, ext_dir, #ext_dir, ext_dir=, ext_id, #ext_id, ext_id=, inherited, #initialize, #invoke, #json, #json_body, #logger, meta, meta=, normalize_pattern, pending_subclasses, public_endpoint, public_paths, #query, register, registry, #registry, reset_registry!, reset_routes!, routes, #server_start_time, #session_manager, #submit_task, #text, timeout

Constructor Details

This class inherits a constructor from Clacky::ApiExtension