sidequestor 0.2.11.dev0__tar.gz → 0.2.12__tar.gz
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.
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/PKG-INFO +34 -14
- sidequestor-0.2.11.dev0/src/sidequestor.egg-info/PKG-INFO → sidequestor-0.2.12/README.md +33 -26
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/pyproject.toml +1 -1
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/__init__.py +1 -1
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/package_data/OPERATING.md +5 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/dashboard-quest-visualizer.js +1 -1
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/dashboard.html +2 -1
- sidequestor-0.2.12/src/sidequestor/runtime/yaas-triage/checkers/slack_search.py +97 -0
- sidequestor-0.2.12/src/sidequestor/runtime/yaas-triage/checkers/slack_search.watch.json +14 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dispatch/dispatch-agent.sh +1 -1
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ledger/add-watch.py +6 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-checker-authoring/SKILL.md +1 -1
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-ops/SKILL.md +5 -2
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-quest-creation/SKILL.md +1 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-quest-creation/new-quest.py +21 -1
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-quest-dispatch/SKILL.md +2 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/tick.py +19 -6
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/tick_state.py +24 -0
- sidequestor-0.2.11.dev0/README.md → sidequestor-0.2.12/src/sidequestor.egg-info/PKG-INFO +46 -13
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor.egg-info/SOURCES.txt +2 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_dispatch_agent.py +3 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_slack_search.py +112 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/LICENSE +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/MANIFEST.in +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/setup.cfg +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/__main__.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/build_info.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/cli.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/credential_setup.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/dashboard.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/isolated.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/job_path.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/launchd.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/migrations.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/native.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/onboarding.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/package_data/env.example +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/package_data/settings.json.example +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/quest_terminal.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/resources.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/dashboard-quest-visualizer.css +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/theme-branding.css +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/theme-branding.js +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/approval_state.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/approval_store.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/assets/sidequestor-knows-its-pretty-thank-you.png +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/assets/sidequestor-mark.png +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/approval.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/approval.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/cron-due.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/email.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/email.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/email.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/github.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/github_issue.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/github_issue.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/github_issue.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/github_pr.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/github_pr.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/github_pr.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/health_issue.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/health_issue.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/jira.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/jira.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/jira.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/notion.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/notion_comments.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/notion_comments.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/notion_data_source.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/notion_data_source.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/notion_page.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/notion_page.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/notion_store.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/notion_tree.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/reactions.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/result.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/schedule.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/schedule.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/slack_channel.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/slack_channel.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/slack_dm.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/slack_dm.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/slack_mention.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/slack_mention.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/slack_mention.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/slack_thread.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/slack_thread.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/slack_utils.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/telegram.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/telegram_chat.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/telegram_chat.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/telegram_chat.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/telegram_search.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/telegram_search.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/telegram_search.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_dm.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_dm.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_dm.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_home.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_home.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_home.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_mentions.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_mentions.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_mentions.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_search.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_search.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_search.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_user_posts.lag +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_user_posts.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/checkers/x_user_posts.watch.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dashboard_permissions.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dashboard_settings.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dashboard_theme.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dashboard_visualizer.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dispatch/extract-tokens.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dispatch/fake-worker.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dispatch/format-stream.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dispatch/plan.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dispatch/run-agent.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dispatch/slack-read-health.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dispatch/spend-window.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dispatch/translate-stream.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/dispatch/worker.mcp.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/inbox.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ledger/ack-watch.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ledger/approval-helper.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ledger/checker-health.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ledger/commit.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ledger/ensure-watch-ids.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ledger/housekeep.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ledger/watch-guard.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ops/dashboard-server.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ops/dashboard-start.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ops/doctor.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ops/health-monitor.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ops/heartbeat-loop.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ops/notify.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ops/rotate-logs.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/ops/sync-yaas-v2.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/reaction_config.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/reaction_lifecycle.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/setup/com.yaas.dashboard.plist.template +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/setup/com.yaas.heartbeat.plist.template +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/setup/com.yaas.triage.plist.template +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/setup/init-yaas-v2-tracking.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/setup/install-launchd-common.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/setup/install-launchd-dashboard.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/setup/install-launchd-heartbeat.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/setup/install-launchd.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/setup/setup.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/setup/yaas-app-config.json +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-action-closure/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-answering-quality/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-dashboard-theme/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-dashboard-theme/references/theming.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-draft-readiness/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-gdoc-anchored-comments/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-gdoc-anchored-comments/gdoc-comment.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/gmail-reply.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/gmail_policy.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/send_fresh.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-onboarding/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-reactions/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-slack-channel/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-slack-file/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/skills/yaas-slack-interface/SKILL.md +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/client.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/credential_store.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/jira-call.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/keychain-helper.c +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/log-event.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/mcp-call.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/native_tls.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/notion-call.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/notion-state.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/react-lifecycle.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/slack-channel.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/slack-expand.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/slack-file.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/slack-react.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/slack-send.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/slack_credentials.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/slack_files.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/slack_read_cooldown.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/telegram-call.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/telegram-send.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/telegram_credentials.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/timeline_io.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/x-call.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/x-send.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/surfaces/x_credentials.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/system_health.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/tick_check.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/tick_dispatch.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/timeline_time.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/triage-loop.sh +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/setup.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/setup_output.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/setup_worker.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/update_check.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/upgrade.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/upgrade_job.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/worker_readiness.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/workspace.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor.egg-info/dependency_links.txt +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor.egg-info/entry_points.txt +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor.egg-info/requires.txt +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor.egg-info/top_level.txt +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/yaas_triage/__init__.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/yaas_triage/__main__.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/yaas_triage/cli.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/dashboard_quest_visualizer.cjs +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/dashboard_review_preview.cjs +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/dashboard_theme_branding.cjs +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_approval_failure.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_build_info.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_checker_connector_gates.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_claude_slack_defaults.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_cli_lifecycle.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_connector_policy.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_credential_setup.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_credential_state_root.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_dashboard_app_links.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_dashboard_composer_persistence.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_dashboard_permissions.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_dashboard_ports.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_dashboard_review_preview.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_dashboard_settings.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_dashboard_theme.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_dashboard_visualizer.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_default_workspace.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_dispatch_manifest.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_gdoc_comment.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_gmail_reply.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_gmail_send.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_initial_run_gate.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_install_script.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_instance_registry.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_jira_checker.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_job_path.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_launchd_lifecycle.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_multi_instance_operations.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_native_tls.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_notion_checkers.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_notion_tree.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_onboarding.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_quest_creation_handoff.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_quest_terminal.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_reaction_config.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_reaction_lifecycle.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_reaction_pending.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_runtime_config.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_runtime_docs.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_runtime_imports.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_schedule_boundaries.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_schedule_watch_validation.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_setup.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_slack_channel.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_slack_expand.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_slack_file.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_slack_oauth_listener.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_slack_parser.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_slack_read_cooldown.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_slack_send.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_slack_worker_health.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_system_health.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_telegram_send.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_telegram_x_checkers.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_timeline_chronology.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_triage_liveness.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_unacked_prune.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_update_check.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_upgrade.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_upgrade_job.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_version.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_watch_activity.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_watcher_status_dashboard.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_worker_readiness.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_x_send.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_x_user_auth.py +0 -0
- {sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/tests/test_x_user_checkers.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sidequestor
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.12
|
|
4
4
|
Summary: Sidequestor workspace and triage command shell
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Requires-Python: >=3.11
|
|
@@ -120,10 +120,10 @@ Commands use your saved default workspace. Explicit `--workspace PATH`, `--insta
|
|
|
120
120
|
To install this release explicitly:
|
|
121
121
|
|
|
122
122
|
```bash
|
|
123
|
-
uv tool install --force 'sidequestor==0.2.
|
|
123
|
+
uv tool install --force 'sidequestor==0.2.11'
|
|
124
124
|
```
|
|
125
125
|
|
|
126
|
-
Use `sidequestor[telegram]==0.2.
|
|
126
|
+
Use `sidequestor[telegram]==0.2.11` instead if you need Telegram support.
|
|
127
127
|
Development builds must be upgraded explicitly; built-in update notices compare
|
|
128
128
|
stable version numbers only. Restart a running dashboard to display the new version.
|
|
129
129
|
|
|
@@ -288,6 +288,31 @@ it as a guard against mistakes rather than a security boundary. The packaged `ya
|
|
|
288
288
|
For a reply, include `"thread_ts":"<parent ts>"`. If sending exits 3, the file may already be
|
|
289
289
|
posted; inspect the Slack conversation before trying again.
|
|
290
290
|
|
|
291
|
+
## How do I monitor Slack messages for text?
|
|
292
|
+
|
|
293
|
+
Add a `slack_search` watch to find new messages matching a Slack search expression across
|
|
294
|
+
conversations the connected account can search:
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
sq watch QUEST_ID '{"type":"slack_search","query":"\"docs.google.com\"","reason":"Find Google Docs links"}'
|
|
298
|
+
sq watch QUEST_ID '{"type":"slack_search","query":"\"Jane Doe\" -from:<@U0EXAMPLE>","reason":"Track messages mentioning a name"}'
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
Quote a phrase for phrase matching. Slack search modifiers such as `in:#channel` and
|
|
302
|
+
`from:<@USER_ID>` can narrow a query. The checker reserves `after:`, `before:`, `on:`,
|
|
303
|
+
and `during:` for its watermark; quote literal text that looks like one of those modifiers.
|
|
304
|
+
Add `-from:<@USER_ID>` when Sidequestor may post messages that match the query, to prevent
|
|
305
|
+
the watch from triggering on its own replies.
|
|
306
|
+
A new watch starts at its creation time. To backfill,
|
|
307
|
+
add it with `sq watch` and an earlier `last_checked_ts`; the checker drains results in
|
|
308
|
+
bounded prefixes.
|
|
309
|
+
|
|
310
|
+
Slack search follows the connected account's access and the search index, which can lag
|
|
311
|
+
behind new messages. It keeps a 120-second safety window; messages indexed later than that
|
|
312
|
+
can be missed. It may include private-channel and DM matches; follow the quest's
|
|
313
|
+
audience rules before sharing message contents. Matching message bodies stay out of triage
|
|
314
|
+
logs. Use `slack_mention` for actual @mentions.
|
|
315
|
+
|
|
291
316
|
## How do I configure Notion watches?
|
|
292
317
|
|
|
293
318
|
Notion polling is opt-in: append `notion` to `SIDEQUESTOR_CHECKER_CONNECTORS` in
|
|
@@ -820,24 +845,19 @@ for a second sample before sending a macOS notification for transient worker fau
|
|
|
820
845
|
between workers. A temporary watcher watermark hold clears from the quest's current blockers
|
|
821
846
|
after that watch successfully checks again; a separate unresolved quest blocker stays visible.
|
|
822
847
|
|
|
823
|
-
### Changes in 0.2.11
|
|
848
|
+
### Changes in 0.2.11
|
|
824
849
|
|
|
825
|
-
This
|
|
850
|
+
This release adds setup reviews for incomplete quest requests and separates
|
|
826
851
|
source links from destinations in approval cards. The configured inbox/adopt reaction now
|
|
827
852
|
files a Slack thread under the right existing quest, then handles a warranted immediate
|
|
828
853
|
reply in the same dispatch. It checks the current thread and previous outcomes before
|
|
829
854
|
retrying; no reply is sent when none is owed. Future quest sends retain their existing
|
|
830
855
|
permissions. Ambiguous ownership or unresolved delivery goes to review/retry.
|
|
831
856
|
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
```
|
|
837
|
-
|
|
838
|
-
Use `sidequestor[telegram]==0.2.11.dev0` to retain Telegram support. In each workspace,
|
|
839
|
-
run `sq sync-resources`; restart previously running jobs with `sq stop` then `sq start`.
|
|
840
|
-
The stable installation examples above remain pinned to 0.2.10.
|
|
857
|
+
Claude workers now allow the built-in `ToolSearch` tool, enabling MCP definitions to
|
|
858
|
+
load on demand when supported by the Claude version and endpoint. Inherited MCP servers
|
|
859
|
+
remain available. Codex and Cursor launchers and the procedure files are unchanged;
|
|
860
|
+
context or cost savings depend on the backend and have not been measured by this release.
|
|
841
861
|
|
|
842
862
|
### Changes in 0.2.10
|
|
843
863
|
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: sidequestor
|
|
3
|
-
Version: 0.2.11.dev0
|
|
4
|
-
Summary: Sidequestor workspace and triage command shell
|
|
5
|
-
License-Expression: Apache-2.0
|
|
6
|
-
Requires-Python: >=3.11
|
|
7
|
-
Description-Content-Type: text/markdown
|
|
8
|
-
License-File: LICENSE
|
|
9
|
-
Requires-Dist: truststore<1,>=0.10
|
|
10
|
-
Provides-Extra: telegram
|
|
11
|
-
Requires-Dist: Telethon<2,>=1.44; extra == "telegram"
|
|
12
|
-
Dynamic: license-file
|
|
13
|
-
|
|
14
1
|
# Sidequestor
|
|
15
2
|
|
|
16
3
|
**Your side quests, handled.** Sidequestor is a local-first Slack sidekick that keeps small
|
|
@@ -120,10 +107,10 @@ Commands use your saved default workspace. Explicit `--workspace PATH`, `--insta
|
|
|
120
107
|
To install this release explicitly:
|
|
121
108
|
|
|
122
109
|
```bash
|
|
123
|
-
uv tool install --force 'sidequestor==0.2.
|
|
110
|
+
uv tool install --force 'sidequestor==0.2.11'
|
|
124
111
|
```
|
|
125
112
|
|
|
126
|
-
Use `sidequestor[telegram]==0.2.
|
|
113
|
+
Use `sidequestor[telegram]==0.2.11` instead if you need Telegram support.
|
|
127
114
|
Development builds must be upgraded explicitly; built-in update notices compare
|
|
128
115
|
stable version numbers only. Restart a running dashboard to display the new version.
|
|
129
116
|
|
|
@@ -288,6 +275,31 @@ it as a guard against mistakes rather than a security boundary. The packaged `ya
|
|
|
288
275
|
For a reply, include `"thread_ts":"<parent ts>"`. If sending exits 3, the file may already be
|
|
289
276
|
posted; inspect the Slack conversation before trying again.
|
|
290
277
|
|
|
278
|
+
## How do I monitor Slack messages for text?
|
|
279
|
+
|
|
280
|
+
Add a `slack_search` watch to find new messages matching a Slack search expression across
|
|
281
|
+
conversations the connected account can search:
|
|
282
|
+
|
|
283
|
+
```bash
|
|
284
|
+
sq watch QUEST_ID '{"type":"slack_search","query":"\"docs.google.com\"","reason":"Find Google Docs links"}'
|
|
285
|
+
sq watch QUEST_ID '{"type":"slack_search","query":"\"Jane Doe\" -from:<@U0EXAMPLE>","reason":"Track messages mentioning a name"}'
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
Quote a phrase for phrase matching. Slack search modifiers such as `in:#channel` and
|
|
289
|
+
`from:<@USER_ID>` can narrow a query. The checker reserves `after:`, `before:`, `on:`,
|
|
290
|
+
and `during:` for its watermark; quote literal text that looks like one of those modifiers.
|
|
291
|
+
Add `-from:<@USER_ID>` when Sidequestor may post messages that match the query, to prevent
|
|
292
|
+
the watch from triggering on its own replies.
|
|
293
|
+
A new watch starts at its creation time. To backfill,
|
|
294
|
+
add it with `sq watch` and an earlier `last_checked_ts`; the checker drains results in
|
|
295
|
+
bounded prefixes.
|
|
296
|
+
|
|
297
|
+
Slack search follows the connected account's access and the search index, which can lag
|
|
298
|
+
behind new messages. It keeps a 120-second safety window; messages indexed later than that
|
|
299
|
+
can be missed. It may include private-channel and DM matches; follow the quest's
|
|
300
|
+
audience rules before sharing message contents. Matching message bodies stay out of triage
|
|
301
|
+
logs. Use `slack_mention` for actual @mentions.
|
|
302
|
+
|
|
291
303
|
## How do I configure Notion watches?
|
|
292
304
|
|
|
293
305
|
Notion polling is opt-in: append `notion` to `SIDEQUESTOR_CHECKER_CONNECTORS` in
|
|
@@ -820,24 +832,19 @@ for a second sample before sending a macOS notification for transient worker fau
|
|
|
820
832
|
between workers. A temporary watcher watermark hold clears from the quest's current blockers
|
|
821
833
|
after that watch successfully checks again; a separate unresolved quest blocker stays visible.
|
|
822
834
|
|
|
823
|
-
### Changes in 0.2.11
|
|
835
|
+
### Changes in 0.2.11
|
|
824
836
|
|
|
825
|
-
This
|
|
837
|
+
This release adds setup reviews for incomplete quest requests and separates
|
|
826
838
|
source links from destinations in approval cards. The configured inbox/adopt reaction now
|
|
827
839
|
files a Slack thread under the right existing quest, then handles a warranted immediate
|
|
828
840
|
reply in the same dispatch. It checks the current thread and previous outcomes before
|
|
829
841
|
retrying; no reply is sent when none is owed. Future quest sends retain their existing
|
|
830
842
|
permissions. Ambiguous ownership or unresolved delivery goes to review/retry.
|
|
831
843
|
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
```
|
|
837
|
-
|
|
838
|
-
Use `sidequestor[telegram]==0.2.11.dev0` to retain Telegram support. In each workspace,
|
|
839
|
-
run `sq sync-resources`; restart previously running jobs with `sq stop` then `sq start`.
|
|
840
|
-
The stable installation examples above remain pinned to 0.2.10.
|
|
844
|
+
Claude workers now allow the built-in `ToolSearch` tool, enabling MCP definitions to
|
|
845
|
+
load on demand when supported by the Claude version and endpoint. Inherited MCP servers
|
|
846
|
+
remain available. Codex and Cursor launchers and the procedure files are unchanged;
|
|
847
|
+
context or cost savings depend on the backend and have not been measured by this release.
|
|
841
848
|
|
|
842
849
|
### Changes in 0.2.10
|
|
843
850
|
|
|
@@ -13,6 +13,11 @@ Act first, then report. Close every listed item before exiting with:
|
|
|
13
13
|
python3 <runtime-root>/yaas-triage/ledger/ack-watch.py ack <run_id> <item_id> handled|nothing_to_do|blocked "<note>"
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
Slack text-search watches can match messages across conversations the connected account can
|
|
17
|
+
search, including private channels and DMs. The search index may lag new messages. Treat matches
|
|
18
|
+
as private source material: follow the quest audience rules before quoting or sharing them.
|
|
19
|
+
Matching message bodies are not copied into triage logs.
|
|
20
|
+
|
|
16
21
|
## Health diagnosis and system reviews
|
|
17
22
|
|
|
18
23
|
A `health_issue` watch requests diagnosis only. Use read-only checks on the supplied
|
{sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/dashboard-quest-visualizer.js
RENAMED
|
@@ -24,7 +24,7 @@ function resources(e){const out=[];for(const key of ['channel_id','thread_ts','r
|
|
|
24
24
|
function safeLink(value){try{const u=new URL(value);return !u.username&&!u.password&&['https:','http:','slack:'].includes(u.protocol)?u.href:null}catch{return null}}
|
|
25
25
|
// Canonical entities are locations/objects. Log events never become entities.
|
|
26
26
|
function activity(event){const words=event.split('_');return words.some(w=>['error','failed','blocked'].includes(w))?'attention':words.some(w=>['fired','trigger','due'].includes(w))?'trigger':words.some(w=>['sent','replied','executed','created','updated','cloned','copied','labelled','labeled','merged','closed','edited','posted','adopted','written'].includes(w))?'action':'information'}
|
|
27
|
-
const WATCH_TYPES=['approval','email','github_issue','github_pr','health_issue','jira','notion_comments','notion_data_source','notion_page','schedule','slack_channel','slack_dm','slack_mention','slack_thread','telegram_chat','telegram_search','x_dm','x_home','x_mentions','x_search','x_user_posts'];
|
|
27
|
+
const WATCH_TYPES=['approval','email','github_issue','github_pr','health_issue','jira','notion_comments','notion_data_source','notion_page','schedule','slack_channel','slack_dm','slack_mention','slack_search','slack_thread','telegram_chat','telegram_search','x_dm','x_home','x_mentions','x_search','x_user_posts'];
|
|
28
28
|
const CATEGORIES={cron:['Cron','◷'],scheduled:['Scheduled','◴'],email:['Email','✉'],notion:['Notion','N'],telegram:['Telegram','➤'],slack:['Slack','#'],github:['GitHub','GH'],jira:['Jira','J'],x:['X','𝕏'],google:['Google','G'],coda:['Coda','C'],review:['Review','✓'],health:['Health','◇'],other:['Unrecognized','?'],resource:['Resource','·']};
|
|
29
29
|
function categoryOf(value){const t=scalar(value).toLowerCase();return /gmail|email/.test(t)?'email':/slack/.test(t)?'slack':/telegram/.test(t)?'telegram':/^x(?:_| |$)|twitter/.test(t)?'x':/notion/.test(t)?'notion':/github/.test(t)?'github':/jira/.test(t)?'jira':/google|gdoc|drive/.test(t)?'google':/coda/.test(t)?'coda':/approval|review/.test(t)?'review':/health/.test(t)?'health':'other'}
|
|
30
30
|
function watchCategory(w){return w.type==='schedule'?(w.cron?'cron':'scheduled'):categoryOf(w.type)}
|
|
@@ -150,7 +150,7 @@ function reviewDestination(card){const t=card.target||{};if(t.action==='quest_se
|
|
|
150
150
|
function reviewMessageCopy(card){if(card.target?.action==='quest_setup')return{label:'Setup plan to approve',hint:'Answer the questions using Request change, then approve the resolved plan to start monitoring. Close issue stops setup.'};if(card.target?.action==='health_repair')return{label:'What happened and how to recover',hint:'Follow the steps below first. Approval queues an agent check; it does not mean the issue is fixed.'};if(card.target?.action==='sidequestor_upgrade')return{label:'Upgrade plan',hint:'Approval hands this fixed lifecycle to an independent background job.'};if(card.target?.report_kind==='package_bug')return{label:'Bug report email to send',hint:'The agent sends this exact report only after approval; reporting does not resolve the health issue.'};if(['slack_message','slack_reply'].includes(card.action_type))return{label:'Message to send',hint:'Approval permits this message; Slack must also be connected. If execution reports missing sign-in, run setup with this workspace explicitly selected and follow the Slack connection steps. If delivery is uncertain, inspect Slack before retrying.'};const message=card.action_type==='email_reply';if(message)return{label:'Message to send',hint:'The agent will send this draft to the destination above after approval.'};if(card.action_type==='file_edit')return{label:'Action for the agent',hint:'Approval asks the agent to carry out this file action.'};return{label:'Proposed external action',hint:'Approval asks the agent to carry out this action.'}}
|
|
151
151
|
function reviewAlert(title,body,at,kind,repo=''){return`<div class="review-alert ${kind}" role="note"><div class="review-alert-head"><strong>${esc(title)}</strong>${at?`<time datetime="${esc(at)}">${esc(watchTime(at))}</time>`:''}</div><div class="rich-copy">${markdown(body,repo)}</div></div>`}
|
|
152
152
|
function pill(text,kind='neutral'){return`<span class="pill ${esc(kind)}">${esc(text)}</span>`}
|
|
153
|
-
const watchLabels={approval:'Approval',email:'Email search',github_issue:'GitHub issues',github_pr:'GitHub pull requests',jira:'Jira search',notion_page:'Notion page',notion_data_source:'Notion data source',notion_comments:'Notion comments',schedule:'Schedule',slack_channel:'Slack channel',slack_dm:'Slack direct message',slack_mention:'Slack mentions',slack_thread:'Slack thread'};
|
|
153
|
+
const watchLabels={approval:'Approval',email:'Email search',github_issue:'GitHub issues',github_pr:'GitHub pull requests',jira:'Jira search',notion_page:'Notion page',notion_data_source:'Notion data source',notion_comments:'Notion comments',schedule:'Schedule',slack_channel:'Slack channel',slack_dm:'Slack direct message',slack_mention:'Slack mentions',slack_search:'Slack text search',slack_thread:'Slack thread'};
|
|
154
154
|
function watchLabel(w){return watchLabels[String(w.type||'').toLowerCase()]||String(w.type||'Watch').replaceAll('_',' ')}
|
|
155
155
|
function watchList(value){if(Array.isArray(value))return value.filter(x=>x!==null&&x!==undefined&&String(x).trim()).map(String).join(', ');return value===null||value===undefined?'':String(value).trim()}
|
|
156
156
|
function watchTarget(w){const type=String(w.type||'').toLowerCase(),channel=w.channel_name||w.channel_id,user=w.user_name||w.user_id,repo=w.repo||w.github_repo;
|
|
@@ -158,6 +158,7 @@ function watchTarget(w){const type=String(w.type||'').toLowerCase(),channel=w.ch
|
|
|
158
158
|
if(type==='slack_channel')return channel?`Channel ${channel}`:'Slack channel target not recorded';
|
|
159
159
|
if(type==='slack_dm')return[channel&&`Channel ${channel}`,user&&`with ${user}`].filter(Boolean).join(' · ')||'Slack direct message target not recorded';
|
|
160
160
|
if(type==='slack_mention')return user?`Mentions of ${user}`:'Slack mentions target not recorded';
|
|
161
|
+
if(type==='slack_search')return w.query?`Query: ${w.query}`:'Slack search query not recorded';
|
|
161
162
|
if(type==='email')return w.query?`Query: ${w.query}`:'Email query not recorded';
|
|
162
163
|
if(type.startsWith('notion_'))return w.page_id||w.data_source_id||w.database_id||w.block_id||'Notion target not recorded';
|
|
163
164
|
if(type==='jira')return w.jql?`JQL: ${w.jql}`:'Jira query not recorded';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# Copyright 2026 Circle Internet Group, Inc. All rights reserved.
|
|
3
|
+
#
|
|
4
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
#
|
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
# you may not use this file except in compliance with the License.
|
|
8
|
+
# You may obtain a copy of the License at
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
# See the License for the specific language governing permissions and
|
|
16
|
+
# limitations under the License.
|
|
17
|
+
|
|
18
|
+
"""
|
|
19
|
+
checkers/slack_search.py — find new Slack messages matching a search query.
|
|
20
|
+
|
|
21
|
+
Input: watch entry JSON as argv[1]
|
|
22
|
+
{"type":"slack_search","query":"\"release notes\"","last_checked_ts":"1234.567"}
|
|
23
|
+
|
|
24
|
+
The query may use Slack text and conversation/sender modifiers. Date modifiers are
|
|
25
|
+
reserved for the checker, which adds a coarse lower bound from the precise watermark.
|
|
26
|
+
The shared search helper then filters to timestamps strictly newer than the watermark.
|
|
27
|
+
Search results are limited to conversations the connected Slack account can access.
|
|
28
|
+
"""
|
|
29
|
+
import json
|
|
30
|
+
import math
|
|
31
|
+
import os
|
|
32
|
+
import sys
|
|
33
|
+
|
|
34
|
+
SCRIPT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
35
|
+
MCP_CALL = os.environ.get(
|
|
36
|
+
"MCP_CALL",
|
|
37
|
+
os.path.join(os.path.dirname(SCRIPT_DIR), "surfaces", "mcp-call.sh"),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
sys.path.insert(0, SCRIPT_DIR)
|
|
41
|
+
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
|
42
|
+
import result
|
|
43
|
+
import slack_utils
|
|
44
|
+
import tick_state
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def main():
|
|
48
|
+
entry = json.loads(sys.argv[1])
|
|
49
|
+
query = entry.get("query")
|
|
50
|
+
problem = tick_state.slack_search_query_problem(query)
|
|
51
|
+
if problem:
|
|
52
|
+
result.misconfig(problem)
|
|
53
|
+
return
|
|
54
|
+
query = query.strip()
|
|
55
|
+
try:
|
|
56
|
+
raw_since = entry["last_checked_ts"]
|
|
57
|
+
if isinstance(raw_since, bool):
|
|
58
|
+
raise ValueError("boolean watermark")
|
|
59
|
+
since = float(raw_since)
|
|
60
|
+
if not math.isfinite(since) or since < 0:
|
|
61
|
+
raise ValueError("non-finite or negative watermark")
|
|
62
|
+
except (KeyError, TypeError, ValueError):
|
|
63
|
+
result.misconfig(
|
|
64
|
+
"last_checked_ts must be a non-negative Unix timestamp; "
|
|
65
|
+
"use an explicit older value only for backfill"
|
|
66
|
+
)
|
|
67
|
+
return
|
|
68
|
+
search_query = f"{query} after:{slack_utils.search_since_date(since)}"
|
|
69
|
+
try:
|
|
70
|
+
count, _preview, advance_to, complete = slack_utils.search_messages(
|
|
71
|
+
MCP_CALL,
|
|
72
|
+
search_query,
|
|
73
|
+
since,
|
|
74
|
+
content_label="Text",
|
|
75
|
+
)
|
|
76
|
+
except slack_utils.SlackSearchAuth as exc:
|
|
77
|
+
result.misconfig(str(exc))
|
|
78
|
+
return
|
|
79
|
+
except slack_utils.SlackSearchTransient as exc:
|
|
80
|
+
cause = result.transient_cause(str(exc), "slack_search")
|
|
81
|
+
result.ratelimited(f"slack transient ({cause}); watermark held")
|
|
82
|
+
return
|
|
83
|
+
except Exception as exc:
|
|
84
|
+
# Connector exceptions can include upstream response text. Do not persist it because
|
|
85
|
+
# this search can cover private channels and DMs.
|
|
86
|
+
result.error(f"{type(exc).__name__}: Slack search failed; inspect connector health")
|
|
87
|
+
return
|
|
88
|
+
# Search hits can come from private channels and DMs. Keep message bodies out of the
|
|
89
|
+
# triage log; the worker re-reads only the dispatched watermark prefix before acting.
|
|
90
|
+
result.counted(count, "matching Slack messages", advance_to=advance_to, complete=complete)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
if __name__ == "__main__":
|
|
94
|
+
try:
|
|
95
|
+
main()
|
|
96
|
+
except Exception as exc:
|
|
97
|
+
result.error(f"{type(exc).__name__}: {exc}")
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "checker_example is a minimal checker input, not an add-watch or new-quest creation template; it intentionally includes last_checked_ts.",
|
|
3
|
+
"schema_version": 1,
|
|
4
|
+
"required": [["query"]],
|
|
5
|
+
"identity": ["query"],
|
|
6
|
+
"checker_example": {
|
|
7
|
+
"type": "slack_search",
|
|
8
|
+
"query": "\"docs.google.com\"",
|
|
9
|
+
"last_checked_ts": "1"
|
|
10
|
+
},
|
|
11
|
+
"open_loop": true,
|
|
12
|
+
"user_creatable": true,
|
|
13
|
+
"upstream": "slack"
|
|
14
|
+
}
|
|
@@ -101,7 +101,7 @@ case "$BACKEND" in
|
|
|
101
101
|
--permission-mode "$PERMISSION_MODE" \
|
|
102
102
|
--add-dir "$RUNTIME_DIR" \
|
|
103
103
|
--mcp-config "$SCRIPT_DIR/worker.mcp.json" \
|
|
104
|
-
--tools "Read,Edit,Write,Bash,Glob,Grep,WebFetch,WebSearch" \
|
|
104
|
+
--tools "Read,Edit,Write,Bash,Glob,Grep,WebFetch,WebSearch,ToolSearch" \
|
|
105
105
|
--output-format stream-json --verbose \
|
|
106
106
|
${DBG[@]+"${DBG[@]}"} \
|
|
107
107
|
-p "$PROMPT"
|
|
@@ -196,6 +196,12 @@ def validate(entry):
|
|
|
196
196
|
entry.pop(field, None)
|
|
197
197
|
else:
|
|
198
198
|
entry[field] = value
|
|
199
|
+
if wtype == "slack_search":
|
|
200
|
+
if isinstance(entry.get("query"), str):
|
|
201
|
+
entry["query"] = entry["query"].strip()
|
|
202
|
+
problem = _tick_state()[0].slack_search_query_problem(entry.get("query"))
|
|
203
|
+
if problem:
|
|
204
|
+
die(f"bad_query_for_slack_search:{problem}")
|
|
199
205
|
if not any(all(entry.get(field) for field in alt) for alt in required[wtype]):
|
|
200
206
|
if wtype == "schedule":
|
|
201
207
|
die("schedule_needs_cron_and_tz_or_next_fire_ts")
|
|
@@ -85,7 +85,7 @@ to `misconfig` with a reason that names the fix.
|
|
|
85
85
|
assert it goes strictly up. A checker that cannot advance is a livelock that looks healthy.
|
|
86
86
|
|
|
87
87
|
**Pre-dispatch filters.** If the type can wake the worker on things nobody cares about, accept
|
|
88
|
-
filter fields (`filter_user_ids`, `filter_keywords` on
|
|
88
|
+
filter fields (`filter_user_ids`, `filter_keywords` on Slack conversation watches) and evaluate them
|
|
89
89
|
*inside the checker*. A rejection there is free; a rejection after dispatch costs a model
|
|
90
90
|
round-trip. Note in the docstring that extra watch fields are passed through unvalidated, so a
|
|
91
91
|
misspelled filter key is silently ignored.
|
|
@@ -24,7 +24,7 @@ yaas-triage/
|
|
|
24
24
|
├── triage-loop.sh ← the launchd wrapper that sleeps between ticks (runs tick.py)
|
|
25
25
|
├── checkers/ ← one script per watch type (plugin directory)
|
|
26
26
|
│ ├── notion_page.py · notion_data_source.py · notion_comments.py ← known Notion resources
|
|
27
|
-
│ ├── slack_thread.py · slack_channel.py · slack_dm.py · slack_mention.py
|
|
27
|
+
│ ├── slack_thread.py · slack_channel.py · slack_dm.py · slack_mention.py · slack_search.py
|
|
28
28
|
│ ├── schedule.py · email.py
|
|
29
29
|
│ ├── jira.py ← Jira issues via ../surfaces/jira-call.sh (no MCP needed)
|
|
30
30
|
│ ├── github_pr.py ← PR activity via `gh search prs`
|
|
@@ -134,6 +134,7 @@ Keep the lag as small as the source allows. Every second of lag widens the windo
|
|
|
134
134
|
{"type": "slack_channel", "channel_id": "C...", "last_checked_ts": "0", "reason": "..."},
|
|
135
135
|
{"type": "slack_dm", "channel_id": "D...", "user_id": "U...", "last_checked_ts": "0", "reason": "..."},
|
|
136
136
|
{"type": "slack_mention", "user_id": "U...", "last_checked_ts": "0", "reason": "..."},
|
|
137
|
+
{"type": "slack_search", "query": "\"docs.google.com\"", "reason": "..."},
|
|
137
138
|
{"type": "schedule", "cron": "0 9 * * 1", "tz": "Asia/Singapore", "last_checked_ts": "0", "reason": "..."},
|
|
138
139
|
{"type": "email", "query": "from:partner@company.com subject:Re:", "last_checked_ts": "0", "reason": "..."},
|
|
139
140
|
{"type": "jira", "jql": "labels=my-label", "last_checked_ts": "0", "reason": "..."},
|
|
@@ -154,7 +155,9 @@ Keep the lag as small as the source allows. Every second of lag widens the windo
|
|
|
154
155
|
|
|
155
156
|
`.lag` note: `github_issue.lag = 30`, same as `github_pr` and for the same reason (GitHub's search index is eventually consistent).
|
|
156
157
|
|
|
157
|
-
`last_checked_ts` is always a Unix epoch float string. The orchestrator is the sole owner of this field — the worker must never modify existing entries (it may only append new ones).
|
|
158
|
+
`last_checked_ts` is always a Unix epoch float string. The orchestrator is the sole owner of this field — the worker must never modify existing entries (it may only append new ones). `sq watch` supplies the creation-time watermark when it is omitted; set an earlier value only when an intentional backfill is wanted.
|
|
159
|
+
|
|
160
|
+
`slack_search` accepts a Slack search expression in `query`; the query is its watch identity. The checker adds the safe date boundary itself, so `after:`, `before:`, `on:`, and `during:` are reserved and rejected in the supplied query. Quote literal text that looks like a date modifier. Its shared search helper holds the watermark 120 seconds behind Slack's eventually consistent search index, paginates bounded prefixes, and filters exact timestamps after the stored watermark. This is a finite safety window: a message indexed later can be missed. The default watch starts at creation time; an earlier explicit watermark can backfill in bounded prefixes. Results span public and private conversations and DMs the connected account can search; follow quest audience rules before sharing message content. Bot-authored results are skipped, and their message bodies are not copied into triage logs. Add `-from:<@USER_ID>` if Sidequestor may post messages that match the query, to prevent self-triggering.
|
|
158
161
|
|
|
159
162
|
In an interactive session, retire an obsolete entry by persistent ID with
|
|
160
163
|
`sq watch retire <quest_id> <watch_id> "<reason>"`. The helper shares the triage lock, removes
|
|
@@ -32,6 +32,7 @@ Use information already supplied and reasonable defaults. An explicit request to
|
|
|
32
32
|
- **`slack_channel`** — provide channel name or ID. Watches entire channel for new top-level messages. Does NOT catch replies inside existing threads; for those, add the specific thread as `slack_thread`.
|
|
33
33
|
- **`slack_dm`** — needs BOTH `user_id` and `channel_id` (the DM channel, `D…`). Resolve a name → user ID via `mcp__slack__slack_search_users`, then resolve that user's DM channel; a `user_id` is not a channel. Fires on new DMs from that person.
|
|
34
34
|
- **`slack_mention`** — a Slack `user_id`. Fires on any new message that @mentions that user, anywhere the searcher can see (global, not channel-scoped). No channel field; the worker re-runs the mention search to locate each hit. Use for "back me up: respond when anyone @mentions me." Skips `[BOT]` authors and the watched user's own messages.
|
|
35
|
+
- **`slack_search`** — a Slack search `query` expression. Finds new matching messages across conversations the connected account can search, including private channels and DMs it can access. Quote a phrase for phrase matching, such as `"docs.google.com"` or `"Jane Doe"`. Optional `in:` and `from:` modifiers can narrow it. Add `-from:<@USER_ID>` whenever Sidequestor may post messages matching the query, to prevent self-triggering; omit it only when intentionally tracking the connected user's messages. Do not include `after:`, `before:`, `on:`, or `during:` because the checker adds its own watermark boundary; quote literal text that looks like one of these modifiers. Slack search uses its own indexing and matching rules, so verify important link queries against known messages.
|
|
35
36
|
- **`schedule`** — fires the quest at a time you choose, in one of two shapes:
|
|
36
37
|
- **repeating**: `cron` (5-field) + `tz` (IANA timezone). `tz` is required alongside `cron` — a bare cron is ambiguous.
|
|
37
38
|
- **one-shot**: `next_fire_ts` (epoch seconds), and no `cron`. Fires once, then the watch is spent.
|
|
@@ -43,6 +43,9 @@ Watch entry fields by type:
|
|
|
43
43
|
slack_channel: channel_id, reason
|
|
44
44
|
slack_dm: channel_id (the D… DM conversation), user_id, reason
|
|
45
45
|
slack_mention: user_id, reason (fires on any message that @mentions user_id, anywhere)
|
|
46
|
+
slack_search: query, reason (Slack search expression across accessible conversations)
|
|
47
|
+
Quote phrases for phrase matching. Date modifiers are reserved for the watch
|
|
48
|
+
watermark; optional in: and from: modifiers may narrow the search.
|
|
46
49
|
schedule: cron + tz (repeating), or next_fire_ts (Unix seconds); reason [optional: id]
|
|
47
50
|
email: query (Gmail search string), reason
|
|
48
51
|
jira: jql (JQL string, e.g. "labels=my-label"), reason
|
|
@@ -128,7 +131,9 @@ RUNTIME_ROOT = Path(os.environ.get("SIDEQUESTOR_RUNTIME_ROOT")
|
|
|
128
131
|
or os.environ.get("YAAS_RUNTIME_ROOT")
|
|
129
132
|
or Path(__file__).resolve().parents[3])
|
|
130
133
|
sys.path.insert(0, str(RUNTIME_ROOT / "yaas-triage"))
|
|
131
|
-
from tick_state import load_watch_manifests, slack_id_problem,
|
|
134
|
+
from tick_state import (load_watch_manifests, slack_id_problem,
|
|
135
|
+
schedule_timestamp_problem, Config, BadEnvKnob,
|
|
136
|
+
initial_watch_watermark)
|
|
132
137
|
|
|
133
138
|
SLACK_CONVERSATION = re.compile(r"[CDG][A-Z0-9]{2,}")
|
|
134
139
|
|
|
@@ -215,6 +220,14 @@ def validate_watches(watches, *, allow_empty=False):
|
|
|
215
220
|
f"in checkers/{t}.watch.json.")
|
|
216
221
|
if t not in user_creatable_types:
|
|
217
222
|
die(f"watches[{i}] has runtime-only type {t!r}; it cannot be created in a new quest")
|
|
223
|
+
if t == "slack_search":
|
|
224
|
+
from tick_state import slack_search_query_problem
|
|
225
|
+
|
|
226
|
+
if isinstance(w.get("query"), str):
|
|
227
|
+
w["query"] = w["query"].strip()
|
|
228
|
+
problem = slack_search_query_problem(w.get("query"))
|
|
229
|
+
if problem:
|
|
230
|
+
die(f"watches[{i}] (type='slack_search') {problem}")
|
|
218
231
|
if not w.get("reason"):
|
|
219
232
|
die(f"watches[{i}] (type={t!r}) missing 'reason'")
|
|
220
233
|
if not any(all(w.get(field) for field in alt) for alt in required_fields[t]):
|
|
@@ -343,6 +356,13 @@ def main():
|
|
|
343
356
|
watch_lines.append(f"- `slack_channel` `{w['channel_id']}` \n _{w['reason']}_")
|
|
344
357
|
elif t == "slack_dm":
|
|
345
358
|
watch_lines.append(f"- `slack_dm` from `{w['user_id']}` \n _{w['reason']}_")
|
|
359
|
+
elif t == "slack_search":
|
|
360
|
+
query_display = json.dumps(w["query"])
|
|
361
|
+
fence = "`" * (max((len(match.group(0)) for match in
|
|
362
|
+
re.finditer(r"`+", query_display)), default=0) + 1)
|
|
363
|
+
watch_lines.append(
|
|
364
|
+
f"- `slack_search` query {fence}{query_display}{fence} \n _{w['reason']}_"
|
|
365
|
+
)
|
|
346
366
|
elif t == "schedule":
|
|
347
367
|
if w.get("cron"):
|
|
348
368
|
schedule = f"`{w['cron']}` ({w['tz']})"
|
|
@@ -90,6 +90,8 @@ Never read all four as a reflex. Each file read costs a model round-trip. After
|
|
|
90
90
|
|
|
91
91
|
**Slack mention watch type** (`slack_mention`): fires on any new message that @mentions the entry's `user_id`, anywhere Slack search can see (global, not channel-scoped). The entry has no channel, so read `watch.json` for the entry's `last_checked_ts`, re-run `slack_search_public_and_private` with query `<@USER_ID> after:<date>`, keep only results newer than the watermark (skipping `[BOT]` authors and the watched user's own posts), then `slack_read_thread` on each hit before acting.
|
|
92
92
|
|
|
93
|
+
**Slack text-search watch type** (`slack_search`): use the dispatched item's `last_checked_ts` and `advance_to` as the exact lower and upper bounds; if either is missing, ack `blocked` rather than running an open-ended search. Re-run `slack_search_public_and_private` with the watch's `query`, sort by timestamp ascending, and add date-granular `after:` and `before:` bounds broad enough to cover both timestamps (at least one day before `last_checked_ts` and one day after `advance_to`). Paginate until results exceed `advance_to`, then stop; keep only results with `Message_ts > last_checked_ts` and `Message_ts <= advance_to`. Skip `[BOT]` authors. This handles the index delay without processing results that belong to a later checker prefix. Inspect each matching message and its thread as needed before acting. Search can include private channels and DMs visible to the connected account, so do not copy message contents into a broader destination unless the quest's audience and authorization allow it. A query matching your own messages can add `-from:<@USER_ID>`.
|
|
94
|
+
|
|
93
95
|
**Telegram watch types** (`telegram_chat`, `telegram_search`): re-run the packaged
|
|
94
96
|
`surfaces/telegram-call.py` with the watch's `credential_id`, `peer`, a current `before_ts`, and a
|
|
95
97
|
bounded `limit`; include `query`/`from_user` for `telegram_search`. Post-filter returned messages
|
|
@@ -468,8 +468,11 @@ def check_quest(t, qid):
|
|
|
468
468
|
advance_to = verdict.get("advance_to")
|
|
469
469
|
complete = verdict.get("complete", True)
|
|
470
470
|
if v == tick_check.DIRTY:
|
|
471
|
-
|
|
472
|
-
|
|
471
|
+
row = {"qid": qid, "status": "dirty", "watch_id": wid, "type": wtype,
|
|
472
|
+
"advance_to": advance_to, "complete": complete, "reason": reason}
|
|
473
|
+
if wtype == "slack_search":
|
|
474
|
+
row["last_checked_ts"] = entry.get("last_checked_ts")
|
|
475
|
+
rows.append(row)
|
|
473
476
|
had_dirty = True
|
|
474
477
|
else: # CLEAN
|
|
475
478
|
rows.append({"qid": qid, "status": "ok", "watch_id": wid, "type": wtype,
|
|
@@ -939,7 +942,9 @@ def analyze(t):
|
|
|
939
942
|
t.dirty_quests.append(qid)
|
|
940
943
|
t.dirty_watches.append({"quest_id": qid, "watch_id": r["watch_id"], "type": r["type"],
|
|
941
944
|
"checker_outcome": "dirty", "advance_to": r.get("advance_to"),
|
|
942
|
-
"complete": r.get("complete") is not False
|
|
945
|
+
"complete": r.get("complete") is not False,
|
|
946
|
+
**({"last_checked_ts": r.get("last_checked_ts")}
|
|
947
|
+
if r["type"] == "slack_search" else {})})
|
|
943
948
|
t.log(f"DIRTY: {qid} — {r.get('reason','')}")
|
|
944
949
|
elif status == "hold":
|
|
945
950
|
if qid not in t.skipped_quests:
|
|
@@ -1335,9 +1340,17 @@ def dispatch_loop(t, dispatch_targets, targets_json):
|
|
|
1335
1340
|
|
|
1336
1341
|
|
|
1337
1342
|
def _quest_dispatch_items(target, dirty_watches_json):
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1343
|
+
items = []
|
|
1344
|
+
for watch in dirty_watches_json:
|
|
1345
|
+
if watch["quest_id"] != target:
|
|
1346
|
+
continue
|
|
1347
|
+
item = {"item_id": watch["watch_id"], "type": watch["type"],
|
|
1348
|
+
"complete": watch.get("complete") is not False}
|
|
1349
|
+
if watch["type"] == "slack_search":
|
|
1350
|
+
item["last_checked_ts"] = watch.get("last_checked_ts")
|
|
1351
|
+
item["advance_to"] = watch.get("advance_to")
|
|
1352
|
+
items.append(item)
|
|
1353
|
+
return items
|
|
1341
1354
|
|
|
1342
1355
|
|
|
1343
1356
|
def dispatch_one(t, target, timeout, dirty_watches_json):
|
{sidequestor-0.2.11.dev0 → sidequestor-0.2.12}/src/sidequestor/runtime/yaas-triage/tick_state.py
RENAMED
|
@@ -70,6 +70,9 @@ NON_WATCH_EXECUTABLES = {"cron-due", "reactions"}
|
|
|
70
70
|
# whether to linkify, so a false negative there costs a hyperlink, not a broken watch.
|
|
71
71
|
SLACK_CONVERSATION_RE = re.compile(r"[CDG][A-Z0-9]+")
|
|
72
72
|
SLACK_MEMBER_RE = re.compile(r"[UW][A-Z0-9]+")
|
|
73
|
+
SLACK_SEARCH_DATE_MODIFIER_RE = re.compile(
|
|
74
|
+
r"(?<![A-Z0-9_])(?:after|before|on|during):", re.IGNORECASE
|
|
75
|
+
)
|
|
73
76
|
|
|
74
77
|
# Which Slack id fields each watch type carries, and which namespace each one must be in.
|
|
75
78
|
SLACK_ID_FIELDS = {
|
|
@@ -84,6 +87,27 @@ _SLACK_ID_SHAPES = {
|
|
|
84
87
|
}
|
|
85
88
|
|
|
86
89
|
|
|
90
|
+
def slack_search_query_problem(query):
|
|
91
|
+
"""Return a validation error for a malformed or unsafe Slack search query."""
|
|
92
|
+
if not isinstance(query, str) or not query.strip():
|
|
93
|
+
return "query must be a non-empty Slack search expression"
|
|
94
|
+
|
|
95
|
+
quoted = False
|
|
96
|
+
outside_quotes = []
|
|
97
|
+
for char in query.strip():
|
|
98
|
+
if char == '"':
|
|
99
|
+
quoted = not quoted
|
|
100
|
+
outside_quotes.append(" ")
|
|
101
|
+
continue
|
|
102
|
+
outside_quotes.append(" " if quoted else char)
|
|
103
|
+
if quoted:
|
|
104
|
+
return "query must use balanced double quotes"
|
|
105
|
+
if SLACK_SEARCH_DATE_MODIFIER_RE.search("".join(outside_quotes)):
|
|
106
|
+
return ("query date modifiers are reserved; quote literal text such as "
|
|
107
|
+
"on:call; the checker applies the watch watermark")
|
|
108
|
+
return None
|
|
109
|
+
|
|
110
|
+
|
|
87
111
|
def _repo_root(start):
|
|
88
112
|
"""The repo root is the nearest ancestor directory that contains yaas-triage/.
|
|
89
113
|
|