pushary 1.9.265 → 1.9.267
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/CHANGELOG.md +8 -0
- package/dist/{api-J6LZMTBN.js → api-L2Z47RNK.js} +13 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +29 -29
- package/dist/bin/pushary-bell.js +12 -12
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +26 -26
- package/dist/bin/pushary-clean.js +40 -40
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +35 -35
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +36 -36
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +47 -47
- package/dist/bin/pushary-disconnect.js +31 -31
- package/dist/bin/pushary-display-hook.js +277 -0
- package/dist/bin/pushary-doctor.js +49 -49
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +32 -32
- package/dist/bin/pushary-hook.js +36 -36
- package/dist/bin/pushary-login.js +23 -23
- package/dist/bin/pushary-logout.js +32 -32
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +28 -28
- package/dist/bin/pushary-opencode-bridge.js +22 -22
- package/dist/bin/pushary-opencode-hook.js +33 -33
- package/dist/bin/pushary-permission-denied-hook.js +35 -35
- package/dist/bin/pushary-permission-hook.js +36 -36
- package/dist/bin/pushary-post-hook.js +29 -29
- package/dist/bin/pushary-prompt-hook.js +28 -28
- package/dist/bin/pushary-session-end-hook.js +28 -28
- package/dist/bin/pushary-session-start-hook.js +40 -40
- package/dist/bin/pushary-sessions.js +12 -12
- package/dist/bin/pushary-setup.js +61 -61
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +37 -37
- package/dist/bin/pushary-stop-hook.js +28 -28
- package/dist/bin/pushary-stopfailure-hook.js +28 -28
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +26 -26
- package/dist/bin/pushary-upgrade.js +48 -48
- package/dist/bin/pushary-wait.js +17 -17
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-KUVKMGTY.js → chunk-275RFVSO.js} +1 -1
- package/dist/{chunk-BN4GUE43.js → chunk-2C7L3B3T.js} +4 -4
- package/dist/{chunk-EY7ZPBFZ.js → chunk-2IXNXTLA.js} +6 -6
- package/dist/{chunk-SXUSGBNY.js → chunk-3DY5G7JW.js} +1 -1
- package/dist/{chunk-HVBF4P4C.js → chunk-4R7RMJIP.js} +1 -1
- package/dist/{chunk-A32JBM4J.js → chunk-4TRRDGM5.js} +2 -2
- package/dist/{chunk-V7KJTDSQ.js → chunk-4YOLB6H7.js} +276 -0
- package/dist/{chunk-CKEVUBAH.js → chunk-573LGFOV.js} +2 -2
- package/dist/{chunk-VW2YJO5P.js → chunk-5K6MB557.js} +2 -2
- package/dist/{chunk-QLXDNPEN.js → chunk-6QFYQYLV.js} +2 -2
- package/dist/{chunk-ICGOK7N6.js → chunk-7KAMTVC2.js} +1 -1
- package/dist/{chunk-4CQHOOTR.js → chunk-7SSL355C.js} +1 -1
- package/dist/{chunk-NNOQGK5M.js → chunk-7YCRU3HC.js} +3 -3
- package/dist/{chunk-RUXC23NN.js → chunk-A2YOC25E.js} +2 -2
- package/dist/{chunk-LTSE3TEA.js → chunk-AXIIY75S.js} +3 -3
- package/dist/{chunk-57K3LBJB.js → chunk-B3FN4XL2.js} +2 -2
- package/dist/{chunk-WPKBOJX6.js → chunk-BO5TJWAN.js} +3 -3
- package/dist/{chunk-EEDKN264.js → chunk-BWPDGMKS.js} +1 -1
- package/dist/{chunk-7DRATORT.js → chunk-CSI5V5NO.js} +1 -1
- package/dist/{chunk-I6ZP7GX4.js → chunk-DW7YF5GB.js} +4 -4
- package/dist/{chunk-DJKLVHGI.js → chunk-EVT7LZ7E.js} +1 -1
- package/dist/{chunk-KQFTD45H.js → chunk-EVX63B2G.js} +5 -5
- package/dist/{chunk-ZTC6RRW2.js → chunk-FF7JYSH5.js} +2 -2
- package/dist/{chunk-KTQQBBQR.js → chunk-FSTX5SRV.js} +3 -3
- package/dist/{chunk-UF55EUBY.js → chunk-FV2YDUH5.js} +1 -1
- package/dist/{chunk-RUGGVWWZ.js → chunk-GF75PDAQ.js} +1 -1
- package/dist/{chunk-AEMFRMHP.js → chunk-GXHOOPOY.js} +3 -3
- package/dist/{chunk-HRKTB43U.js → chunk-HWIXP7UY.js} +1 -1
- package/dist/{chunk-HWJJPG6J.js → chunk-HZG7IUDL.js} +4 -4
- package/dist/{chunk-K4R2E25S.js → chunk-I2EZVCOY.js} +5 -5
- package/dist/{chunk-KIFKXFV5.js → chunk-IRS2FE32.js} +1 -1
- package/dist/{chunk-NCP5CXKF.js → chunk-IV7POIBI.js} +12 -12
- package/dist/{chunk-TCEUXUBI.js → chunk-J26QBILB.js} +7 -7
- package/dist/{chunk-FI3QGWFG.js → chunk-JSPW2FFO.js} +1 -1
- package/dist/{chunk-37LPWX25.js → chunk-JYKM47DL.js} +2 -2
- package/dist/{chunk-VHXEKBUD.js → chunk-KBQBO3KA.js} +3 -3
- package/dist/{chunk-TYCRIIBI.js → chunk-KCQP7ZDP.js} +2 -2
- package/dist/{chunk-SOWPQ2FC.js → chunk-KK57NC2O.js} +5 -5
- package/dist/{chunk-Z4Z7V3EK.js → chunk-KPH6GX74.js} +8 -8
- package/dist/{chunk-BEMKLT6F.js → chunk-KPQ7QKS4.js} +1 -1
- package/dist/{chunk-OX6GPAAQ.js → chunk-KQ5S2ZUP.js} +2 -2
- package/dist/{chunk-GDUJTSOO.js → chunk-LB474DMC.js} +5 -5
- package/dist/{chunk-BBXMSJPK.js → chunk-LOSHKUR2.js} +3 -3
- package/dist/{chunk-UE3YQBQT.js → chunk-LXH5JLD7.js} +5 -5
- package/dist/{chunk-T6RUSL5H.js → chunk-MDG6IDIJ.js} +5 -5
- package/dist/{chunk-5HT5FDRZ.js → chunk-MGFCPJHQ.js} +11 -7
- package/dist/{chunk-KHU46H7O.js → chunk-MQO4F37H.js} +4 -4
- package/dist/{chunk-FPHURVGE.js → chunk-MY3ZY6B2.js} +3 -3
- package/dist/{chunk-T6WMAF5P.js → chunk-NBU7Y6JX.js} +1 -1
- package/dist/{chunk-LNLQJVSL.js → chunk-NDOHMHU7.js} +10 -10
- package/dist/{chunk-AFYZW4NA.js → chunk-OEKXK3YR.js} +1 -1
- package/dist/{chunk-E77LZTUK.js → chunk-OF7LT6JD.js} +6 -6
- package/dist/{chunk-2KJYGGZ6.js → chunk-OOSDN4AF.js} +3 -3
- package/dist/{chunk-GQS7ZZ3S.js → chunk-OTCNXBIY.js} +4 -4
- package/dist/{chunk-ANXGIOAH.js → chunk-PDANBIJA.js} +5 -5
- package/dist/{chunk-LEPTAZLV.js → chunk-QTWLOFBV.js} +2 -2
- package/dist/{chunk-ZQUV2VTD.js → chunk-QW7LM6BG.js} +4 -4
- package/dist/{chunk-N25DYTSR.js → chunk-RB4QNUFM.js} +4 -4
- package/dist/{chunk-V2RKBSFJ.js → chunk-RQ5DKUF4.js} +1 -1
- package/dist/{chunk-ZO2CFED5.js → chunk-S44D2HDB.js} +16 -16
- package/dist/{chunk-6EYG42OD.js → chunk-SLWLFMMB.js} +10 -6
- package/dist/{chunk-GI3A5QH5.js → chunk-SSQWDL6Q.js} +1 -1
- package/dist/{chunk-L67LOALO.js → chunk-TDDX5PAP.js} +4 -4
- package/dist/{chunk-WEHHOYKI.js → chunk-TFI7UZ4N.js} +2 -2
- package/dist/{chunk-S6YIK7UL.js → chunk-TXPDNOKT.js} +1 -1
- package/dist/{chunk-GOSRXI4T.js → chunk-U6X2XWRP.js} +1 -1
- package/dist/{chunk-R2DXZ3H7.js → chunk-UVRUK52J.js} +1 -1
- package/dist/{chunk-ZBEFKVTK.js → chunk-UX7YU7EM.js} +1 -1
- package/dist/{chunk-HJTY3GJG.js → chunk-V6673KO7.js} +5 -5
- package/dist/{chunk-LAA7PD6N.js → chunk-VSOUII7B.js} +1 -1
- package/dist/{chunk-LANIUUOD.js → chunk-WAVZTVYL.js} +5 -5
- package/dist/{chunk-UKVLAZIH.js → chunk-WH5M67RN.js} +6 -6
- package/dist/{chunk-W3J2RRNE.js → chunk-WNMTWBV4.js} +5 -5
- package/dist/{chunk-7MTRSXUI.js → chunk-WUKZEENF.js} +4 -4
- package/dist/{chunk-2RAXOB4Y.js → chunk-WX6YWZFM.js} +7 -7
- package/dist/{chunk-IRF23YVI.js → chunk-XF3R4ZPV.js} +10 -10
- package/dist/{chunk-NNPMQ6L6.js → chunk-XHKGTKM6.js} +17 -16
- package/dist/{chunk-AHCI4HO3.js → chunk-XPLUSOU5.js} +1 -1
- package/dist/{chunk-HGJH3PKN.js → chunk-XUN2NSYF.js} +1 -1
- package/dist/{chunk-P55MQFCO.js → chunk-Y2CO2RMJ.js} +3 -3
- package/dist/{chunk-K3LBA4XD.js → chunk-YFJ4ANFO.js} +6 -6
- package/dist/{chunk-J4QQJV4L.js → chunk-YJ2T5AKE.js} +6 -6
- package/dist/{chunk-J43O2OJJ.js → chunk-ZJLVASQZ.js} +4 -4
- package/dist/{codex-app-cards-switch-HUTILTTI.js → codex-app-cards-switch-MZBLPDC5.js} +12 -12
- package/dist/{codex-card-routing-SNGFGTXM.js → codex-card-routing-QMXQ3RRX.js} +2 -2
- package/dist/{codex-desktop-launch-HF6IMUTX.js → codex-desktop-launch-7H4COE7H.js} +3 -3
- package/dist/{codex-session-launch-QLQZTMB7.js → codex-session-launch-ZSY7FTS3.js} +20 -20
- package/dist/{config-I34XYHBG.js → config-PPMFPV2E.js} +3 -3
- package/dist/{global-upgrade-AFRFVNVD.js → global-upgrade-RFXS76KH.js} +9 -9
- package/dist/{identity-ZPEQQCFS.js → identity-SLRS7XIR.js} +4 -4
- package/dist/{live-capabilities-GAWWCLCB.js → live-capabilities-4G46QNGE.js} +4 -4
- package/dist/{paths-CHXMUOTC.js → paths-55IJMRJW.js} +3 -3
- package/dist/reapply-HA6RLYRS.js +76 -0
- package/dist/src/index.js +34 -34
- package/dist/{upgrade-lock-MNUVFYRM.js → upgrade-lock-UGPXSPSU.js} +4 -4
- package/dist/{usage-BH2ND6CM.js → usage-YC6BB7BX.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-YJ5GKYYN.js +0 -76
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GXHOOPOY.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
quoteIfNeeded,
|
|
7
7
|
shellDoubleQuoted
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QW7LM6BG.js";
|
|
9
9
|
import {
|
|
10
10
|
writeFileAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
PUSHARY_HOSTS,
|
|
25
25
|
PUSHARY_TOOL_PREFIX,
|
|
26
26
|
withHookHoldBudget
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4YOLB6H7.js";
|
|
28
28
|
|
|
29
29
|
// src/setup/paths.ts
|
|
30
30
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -103,6 +103,15 @@ var redactSecretsDeep = (text3) => redactSecrets(text3).replace(HIGH_ENTROPY_RUL
|
|
|
103
103
|
var nonEmptyString = (value) => typeof value === "string" && value.length > 0 ? value : void 0;
|
|
104
104
|
var isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
105
105
|
|
|
106
|
+
// ../contracts/src/question-withdrawal.ts
|
|
107
|
+
var QUESTION_WITHDRAWAL_REASONS = ["settled_at_computer", "agent_stopped"];
|
|
108
|
+
var QUESTION_WITHDRAWAL_REASON = {
|
|
109
|
+
settledAtComputer: "settled_at_computer",
|
|
110
|
+
agentStopped: "agent_stopped"
|
|
111
|
+
};
|
|
112
|
+
var CANCEL_QUESTION_REASON_FIELD = "withdrawnBecause";
|
|
113
|
+
var QUESTION_WITHDRAWAL_REASON_SET = new Set(QUESTION_WITHDRAWAL_REASONS);
|
|
114
|
+
|
|
106
115
|
// ../contracts/src/agent-questions.ts
|
|
107
116
|
var MAX_AGENT_QUESTIONS = 4;
|
|
108
117
|
var MIN_AGENT_QUESTION_OPTIONS = 2;
|
|
@@ -4899,8 +4908,12 @@ var readSetupOutcomeProperties = (body) => {
|
|
|
4899
4908
|
var SETUP_STOPPED_PATH = "/api/agent/setup-stopped";
|
|
4900
4909
|
var SETUP_RUN_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;
|
|
4901
4910
|
var isSetupRunId = (value) => typeof value === "string" && SETUP_RUN_ID_PATTERN.test(value);
|
|
4911
|
+
var SETUP_COMPLETED_EVENT = "agent_setup_completed";
|
|
4902
4912
|
var SETUP_STARTED_PHASE = "started";
|
|
4903
4913
|
|
|
4914
|
+
// ../contracts/src/agent-event-wire.ts
|
|
4915
|
+
var HOOK_ACTIVE_EVENT = "agent_hook_active";
|
|
4916
|
+
|
|
4904
4917
|
// ../contracts/src/doctor-wire.ts
|
|
4905
4918
|
var DOCTOR_RAN_EVENT = "agent_doctor_ran";
|
|
4906
4919
|
var DOCTOR_CHECK_AREAS = [
|
|
@@ -5668,6 +5681,265 @@ var waitEndAnswered = (value, note, typedAnswer = false) => ({
|
|
|
5668
5681
|
...typedAnswer ? { typedAnswer: true } : {}
|
|
5669
5682
|
});
|
|
5670
5683
|
|
|
5684
|
+
// ../contracts/src/posthog-event-catalogue.ts
|
|
5685
|
+
var POSTHOG_EVENT_CATALOGUE = {
|
|
5686
|
+
account_deleted: ["dashboard_server"],
|
|
5687
|
+
agent_approval_call_finished: ["dashboard_server"],
|
|
5688
|
+
agent_approval_call_placed: ["dashboard_server"],
|
|
5689
|
+
agent_billing_checkout_ready: ["dashboard_client"],
|
|
5690
|
+
agent_blocked_action_grant: ["dashboard_server"],
|
|
5691
|
+
agent_bypass_stops_changed: ["dashboard_server"],
|
|
5692
|
+
agent_call_number_confirmed: ["dashboard_server"],
|
|
5693
|
+
agent_call_refused: ["dashboard_server"],
|
|
5694
|
+
agent_call_settings_saved: ["dashboard_server"],
|
|
5695
|
+
agent_channel_connected: ["dashboard_server"],
|
|
5696
|
+
agent_checkout_completion_failed: ["dashboard_server"],
|
|
5697
|
+
agent_checkout_handoff: ["dashboard_client"],
|
|
5698
|
+
agent_cli_auto_update_state: ["dashboard_server"],
|
|
5699
|
+
agent_cli_login_authorized: ["dashboard_server"],
|
|
5700
|
+
agent_cli_login_failed: ["dashboard_server"],
|
|
5701
|
+
agent_cli_login_needs_payment: ["dashboard_server"],
|
|
5702
|
+
agent_cli_login_rejected: ["dashboard_server"],
|
|
5703
|
+
agent_cli_login_started: ["dashboard_server"],
|
|
5704
|
+
agent_client_seen: ["dashboard_server"],
|
|
5705
|
+
agent_connector_link_copied: ["dashboard_client"],
|
|
5706
|
+
agent_connector_link_created: ["dashboard_client"],
|
|
5707
|
+
agent_decision: ["dashboard_server"],
|
|
5708
|
+
agent_degraded: ["dashboard_server"],
|
|
5709
|
+
agent_delivery_mode_changed: ["dashboard_server"],
|
|
5710
|
+
agent_device_registered: ["dashboard_server"],
|
|
5711
|
+
agent_doctor_ran: ["cli", "dashboard_server"],
|
|
5712
|
+
agent_first_answer: ["dashboard_server"],
|
|
5713
|
+
agent_first_question: ["dashboard_server"],
|
|
5714
|
+
agent_hook_active: ["cli", "hermes_plugin", "dashboard_server"],
|
|
5715
|
+
agent_hook_batch: ["dashboard_server"],
|
|
5716
|
+
agent_key_created: ["dashboard_server"],
|
|
5717
|
+
agent_key_rotated: ["dashboard_server"],
|
|
5718
|
+
agent_onboarding_completed: ["dashboard_server"],
|
|
5719
|
+
agent_onboarding_finished: ["dashboard_client"],
|
|
5720
|
+
agent_onboarding_step_view: ["dashboard_server"],
|
|
5721
|
+
agent_onboarding_test_answered: ["dashboard_server"],
|
|
5722
|
+
agent_onboarding_test_sent: ["dashboard_server"],
|
|
5723
|
+
agent_outdated_cli_notice: ["dashboard_server"],
|
|
5724
|
+
agent_pair_authorized: ["dashboard_server"],
|
|
5725
|
+
agent_pair_cancelled: ["dashboard_server"],
|
|
5726
|
+
agent_pair_claimed: ["dashboard_server"],
|
|
5727
|
+
agent_pair_denied: ["dashboard_server"],
|
|
5728
|
+
agent_pair_started: ["dashboard_server"],
|
|
5729
|
+
agent_permission_mode_seen: ["dashboard_server"],
|
|
5730
|
+
agent_phone_notification_pause_changed: ["dashboard_server"],
|
|
5731
|
+
agent_phone_pushes_paused: ["dashboard_server"],
|
|
5732
|
+
agent_plan_selected: ["dashboard_client"],
|
|
5733
|
+
agent_plan_switched: ["dashboard_client"],
|
|
5734
|
+
agent_push_subscribed: [],
|
|
5735
|
+
agent_scope_ratified: ["dashboard_server"],
|
|
5736
|
+
agent_session_pushes_paused: ["dashboard_server"],
|
|
5737
|
+
agent_session_pushes_resumed: ["dashboard_server"],
|
|
5738
|
+
agent_setup_command_copied: ["dashboard_server"],
|
|
5739
|
+
agent_setup_completed: ["cli", "dashboard_server"],
|
|
5740
|
+
agent_setup_deferred: ["dashboard_client"],
|
|
5741
|
+
agent_setup_email_sent: ["dashboard_server"],
|
|
5742
|
+
agent_setup_help_answered: ["dashboard_server"],
|
|
5743
|
+
agent_setup_link_requested: ["dashboard_server"],
|
|
5744
|
+
agent_setup_shown: ["dashboard_client"],
|
|
5745
|
+
agent_setup_started: ["cli", "dashboard_server"],
|
|
5746
|
+
agent_signup: ["dashboard_client"],
|
|
5747
|
+
agent_slack_banner_click: ["dashboard_client"],
|
|
5748
|
+
agent_slack_banner_view: ["dashboard_client"],
|
|
5749
|
+
agent_slack_connect_clicked: ["dashboard_client"],
|
|
5750
|
+
agent_slack_connect_failed: ["dashboard_client"],
|
|
5751
|
+
agent_slack_connected: ["dashboard_client"],
|
|
5752
|
+
agent_test_call_finished: ["dashboard_server"],
|
|
5753
|
+
agent_test_call_placed: ["dashboard_server"],
|
|
5754
|
+
agent_turn_gate_summary: ["dashboard_server"],
|
|
5755
|
+
agent_unanswered_approval_streak: ["dashboard_server"],
|
|
5756
|
+
analytics_chart_interacted: [],
|
|
5757
|
+
analytics_filter_applied: [],
|
|
5758
|
+
analytics_page_viewed: ["dashboard_client"],
|
|
5759
|
+
antigravity_guide_entry: ["dashboard_server"],
|
|
5760
|
+
antigravity_tool_approved: ["dashboard_server"],
|
|
5761
|
+
api_key_generated: [],
|
|
5762
|
+
app_updated: ["mac", "dashboard_server"],
|
|
5763
|
+
billing_issue_occurred: [],
|
|
5764
|
+
campaign_audience_selected: [],
|
|
5765
|
+
campaign_created: ["dashboard_client"],
|
|
5766
|
+
campaign_creation_abandoned: ["dashboard_client"],
|
|
5767
|
+
campaign_details_entered: [],
|
|
5768
|
+
campaign_launched: ["dashboard_client"],
|
|
5769
|
+
campaign_scheduled: ["dashboard_client"],
|
|
5770
|
+
campaign_send_declined: [],
|
|
5771
|
+
campaign_template_selected: [],
|
|
5772
|
+
campaigns_page_viewed: ["dashboard_client"],
|
|
5773
|
+
cancellation_survey_completed: [],
|
|
5774
|
+
cancellation_survey_started: [],
|
|
5775
|
+
checkout_canceled: ["dashboard_server"],
|
|
5776
|
+
checkout_completed: [],
|
|
5777
|
+
checkout_expired: ["dashboard_server"],
|
|
5778
|
+
checkout_failed: ["dashboard_server"],
|
|
5779
|
+
checkout_started: ["dashboard_server"],
|
|
5780
|
+
clerk_webhook_failed: ["dashboard_server"],
|
|
5781
|
+
client_error: ["dashboard_server", "cli", "phone", "mac"],
|
|
5782
|
+
codex_tool_approved: ["dashboard_server"],
|
|
5783
|
+
create_campaign_clicked: ["dashboard_client"],
|
|
5784
|
+
creator_activated: ["dashboard_server"],
|
|
5785
|
+
creator_clip_downloaded: ["dashboard_client"],
|
|
5786
|
+
creator_join_requested: ["dashboard_server"],
|
|
5787
|
+
creator_join_submitted: ["dashboard_client"],
|
|
5788
|
+
docs_feedback_comment: ["dashboard_server"],
|
|
5789
|
+
docs_feedback_submitted: ["dashboard_server"],
|
|
5790
|
+
feature_usage_declined: [],
|
|
5791
|
+
fleetcap_upgrade_click: ["dashboard_client"],
|
|
5792
|
+
fleetcap_upgrade_view: ["dashboard_client"],
|
|
5793
|
+
flow_activated: [],
|
|
5794
|
+
flow_created: [],
|
|
5795
|
+
flow_deactivated: [],
|
|
5796
|
+
flows_page_viewed: ["dashboard_client"],
|
|
5797
|
+
google_ads_conversion_upload: ["dashboard_server"],
|
|
5798
|
+
hook_wiring_changed: ["dashboard_server"],
|
|
5799
|
+
hook_wiring_first_seen: ["dashboard_server"],
|
|
5800
|
+
integration_attempted: [],
|
|
5801
|
+
integration_completed: [],
|
|
5802
|
+
integration_connected: [],
|
|
5803
|
+
integration_disconnected: [],
|
|
5804
|
+
invoice_paid: ["dashboard_server"],
|
|
5805
|
+
kill_upgrade_click: ["dashboard_client"],
|
|
5806
|
+
kill_upgrade_view: ["dashboard_client"],
|
|
5807
|
+
login_frequency_decreased: [],
|
|
5808
|
+
mac_sign_in_claimed: ["dashboard_server"],
|
|
5809
|
+
mac_sign_in_denied: ["dashboard_server"],
|
|
5810
|
+
mac_sign_in_expired: ["dashboard_server"],
|
|
5811
|
+
mac_sign_in_started: ["dashboard_server"],
|
|
5812
|
+
marketing_setup_command_copied: ["dashboard_client"],
|
|
5813
|
+
marketing_setup_link_handed_off: ["dashboard_client"],
|
|
5814
|
+
mcp_oauth_refused: ["dashboard_server"],
|
|
5815
|
+
memo_unlocked: ["dashboard_server"],
|
|
5816
|
+
memo_view: ["dashboard_server", "dashboard_client"],
|
|
5817
|
+
mobile_app_first_opened: ["phone"],
|
|
5818
|
+
mobile_billing_issue: ["dashboard_server"],
|
|
5819
|
+
mobile_campaign_link_opened: ["phone"],
|
|
5820
|
+
mobile_chat_connector_card_answered: ["phone"],
|
|
5821
|
+
mobile_chat_connector_card_shown: ["phone"],
|
|
5822
|
+
mobile_connect_option_chosen: ["phone"],
|
|
5823
|
+
mobile_connect_reminder_opened: ["phone"],
|
|
5824
|
+
mobile_first_payment: ["dashboard_server"],
|
|
5825
|
+
mobile_install_referrer_resolved: ["phone"],
|
|
5826
|
+
mobile_keep_plan_tapped: ["phone"],
|
|
5827
|
+
mobile_non_renewing_purchase: ["dashboard_server"],
|
|
5828
|
+
mobile_notification_observed: ["phone"],
|
|
5829
|
+
mobile_onboarding_completed: ["phone"],
|
|
5830
|
+
mobile_onboarding_exited: ["phone"],
|
|
5831
|
+
mobile_onboarding_started: ["phone"],
|
|
5832
|
+
mobile_pair_result: ["phone"],
|
|
5833
|
+
mobile_paywall_plan_state: ["phone"],
|
|
5834
|
+
mobile_paywall_viewed: ["phone"],
|
|
5835
|
+
mobile_product_changed: ["dashboard_server"],
|
|
5836
|
+
mobile_purchase_cancelled: ["phone"],
|
|
5837
|
+
mobile_purchase_failed: ["phone"],
|
|
5838
|
+
mobile_purchase_pending: ["phone"],
|
|
5839
|
+
mobile_purchase_post_store_failed: ["phone"],
|
|
5840
|
+
mobile_purchase_started: ["phone"],
|
|
5841
|
+
mobile_push_permission_result: ["phone"],
|
|
5842
|
+
mobile_refund: ["dashboard_server"],
|
|
5843
|
+
mobile_refund_reversed: ["dashboard_server"],
|
|
5844
|
+
mobile_renewal_payment: ["dashboard_server"],
|
|
5845
|
+
mobile_restore_result: ["phone"],
|
|
5846
|
+
mobile_review_requested: ["phone"],
|
|
5847
|
+
mobile_session_renewal_failed: ["phone"],
|
|
5848
|
+
mobile_session_renewed: ["phone"],
|
|
5849
|
+
mobile_sign_in_failed: ["phone"],
|
|
5850
|
+
mobile_sign_in_second_factor_required: ["phone"],
|
|
5851
|
+
mobile_sign_up_failed: ["phone"],
|
|
5852
|
+
mobile_signed_out_unexpectedly: ["phone"],
|
|
5853
|
+
mobile_signup_completed: ["phone"],
|
|
5854
|
+
mobile_skip_reminder_scheduled: ["phone"],
|
|
5855
|
+
mobile_store_account_bind_failed: ["phone"],
|
|
5856
|
+
mobile_store_offering_resolved: ["phone"],
|
|
5857
|
+
mobile_store_purchaser_attribute_failed: ["phone"],
|
|
5858
|
+
mobile_subscription_cancelled: ["dashboard_server"],
|
|
5859
|
+
mobile_subscription_expired: ["dashboard_server"],
|
|
5860
|
+
mobile_subscription_started_unpaid: ["dashboard_server"],
|
|
5861
|
+
mobile_subscription_transferred: ["dashboard_server"],
|
|
5862
|
+
mobile_subscription_uncancelled: ["dashboard_server"],
|
|
5863
|
+
mobile_team_invite_answered: ["phone"],
|
|
5864
|
+
mobile_team_invite_shown: ["phone"],
|
|
5865
|
+
mobile_trial_started: ["dashboard_server"],
|
|
5866
|
+
onboarding_abandoned: [],
|
|
5867
|
+
onboarding_completed: ["dashboard_client"],
|
|
5868
|
+
onboarding_plan_selected: ["dashboard_client"],
|
|
5869
|
+
onboarding_started: ["dashboard_client"],
|
|
5870
|
+
onboarding_website_entered: ["dashboard_client"],
|
|
5871
|
+
open_in_chrome_failed: ["dashboard_client"],
|
|
5872
|
+
partner_brand_saved: ["dashboard_client"],
|
|
5873
|
+
partner_example_answered: ["dashboard_client"],
|
|
5874
|
+
partner_first_api_call: ["dashboard_server"],
|
|
5875
|
+
partner_framework_selected: ["dashboard_client"],
|
|
5876
|
+
partner_onboarding_finished: ["dashboard_client"],
|
|
5877
|
+
partner_phone_connected: ["dashboard_client"],
|
|
5878
|
+
partner_phone_skipped: ["dashboard_client"],
|
|
5879
|
+
partner_plan_selected: ["dashboard_client"],
|
|
5880
|
+
partner_sandbox_asked: ["dashboard_client"],
|
|
5881
|
+
partner_sandbox_dropped: ["dashboard_client"],
|
|
5882
|
+
partner_sandbox_enrolled: ["dashboard_client"],
|
|
5883
|
+
partner_sandbox_first_protected_action: ["dashboard_server"],
|
|
5884
|
+
partner_sandbox_resolved: ["dashboard_client"],
|
|
5885
|
+
partner_sandbox_started: ["dashboard_client"],
|
|
5886
|
+
partner_signup: ["dashboard_client"],
|
|
5887
|
+
partner_surface_view: ["dashboard_client"],
|
|
5888
|
+
payment_failed: ["dashboard_server"],
|
|
5889
|
+
permission_guide_cta_exposed: ["dashboard_client"],
|
|
5890
|
+
plan_selected: [],
|
|
5891
|
+
pricing_page_viewed: [],
|
|
5892
|
+
profile_updated: [],
|
|
5893
|
+
public_stats_cta_click: ["dashboard_client"],
|
|
5894
|
+
public_stats_view: ["dashboard_client"],
|
|
5895
|
+
receipt_upgrade_click: ["dashboard_client"],
|
|
5896
|
+
receipt_upgrade_view: ["dashboard_client"],
|
|
5897
|
+
receipts_cta_click: ["dashboard_client"],
|
|
5898
|
+
risky_approval_confirmed: ["dashboard_server"],
|
|
5899
|
+
risky_approval_refused: ["dashboard_server"],
|
|
5900
|
+
server_request_failed: ["dashboard_server"],
|
|
5901
|
+
session_expired: [],
|
|
5902
|
+
settings_page_viewed: ["dashboard_client"],
|
|
5903
|
+
sign_in_completed: [],
|
|
5904
|
+
sign_in_started: [],
|
|
5905
|
+
sign_out: ["dashboard_client"],
|
|
5906
|
+
sign_up_completed: [],
|
|
5907
|
+
sign_up_field_error: ["dashboard_client"],
|
|
5908
|
+
sign_up_started: [],
|
|
5909
|
+
site_created: ["dashboard_client"],
|
|
5910
|
+
stale_deployment_notice_raised: ["dashboard_client"],
|
|
5911
|
+
stats_interest_vote: ["dashboard_client"],
|
|
5912
|
+
stripe_payment_setup_canceled: ["dashboard_server"],
|
|
5913
|
+
stripe_payment_setup_failed: ["dashboard_server"],
|
|
5914
|
+
subscriber_exported: [],
|
|
5915
|
+
subscriber_imported: [],
|
|
5916
|
+
subscriber_segmented: [],
|
|
5917
|
+
subscribers_page_viewed: ["dashboard_client"],
|
|
5918
|
+
subscription_cancel_requested: ["dashboard_server"],
|
|
5919
|
+
subscription_cancelled: ["dashboard_server"],
|
|
5920
|
+
subscription_created: ["dashboard_server"],
|
|
5921
|
+
subscription_downgraded: ["dashboard_server"],
|
|
5922
|
+
subscription_resumed: ["dashboard_server"],
|
|
5923
|
+
subscription_upgraded: ["dashboard_server"],
|
|
5924
|
+
suggestion_upgrade_click: ["dashboard_client"],
|
|
5925
|
+
suggestion_upgrade_view: ["dashboard_client"],
|
|
5926
|
+
support_ticket_created: [],
|
|
5927
|
+
team_invite_created: ["dashboard_server"],
|
|
5928
|
+
team_member_first_named_answer: ["dashboard_server"],
|
|
5929
|
+
team_member_joined: ["dashboard_server"],
|
|
5930
|
+
team_setup_action: ["dashboard_client"],
|
|
5931
|
+
team_setup_viewed: ["dashboard_client"],
|
|
5932
|
+
template_created: [],
|
|
5933
|
+
template_deleted: [],
|
|
5934
|
+
template_edited: [],
|
|
5935
|
+
templates_page_viewed: ["dashboard_client"],
|
|
5936
|
+
user_signed_up: ["dashboard_server"],
|
|
5937
|
+
voice_reply_judged: ["dashboard_server"],
|
|
5938
|
+
workspace_created: []
|
|
5939
|
+
};
|
|
5940
|
+
var isCataloguedPostHogEventName = (value) => typeof value === "string" && Object.hasOwn(POSTHOG_EVENT_CATALOGUE, value);
|
|
5941
|
+
var CATALOGUED_POSTHOG_EVENT_NAMES = Object.keys(POSTHOG_EVENT_CATALOGUE).filter(isCataloguedPostHogEventName);
|
|
5942
|
+
|
|
5671
5943
|
// ../contracts/src/index.ts
|
|
5672
5944
|
var APPROVAL_MODES = ["push_only", "terminal_only", "push_first", "notify_only"];
|
|
5673
5945
|
var isApprovalMode = (value) => typeof value === "string" && APPROVAL_MODES.includes(value);
|
|
@@ -12973,6 +13245,8 @@ export {
|
|
|
12973
13245
|
claudeWakeDecision,
|
|
12974
13246
|
CLAUDE_WAKE_API,
|
|
12975
13247
|
claudeWakeWaitingOn,
|
|
13248
|
+
QUESTION_WITHDRAWAL_REASON,
|
|
13249
|
+
CANCEL_QUESTION_REASON_FIELD,
|
|
12976
13250
|
MAX_AGENT_QUESTIONS,
|
|
12977
13251
|
AGENT_QUESTION_HEADER_MAX,
|
|
12978
13252
|
AGENT_QUESTION_OPTION_MAX,
|
|
@@ -13092,7 +13366,9 @@ export {
|
|
|
13092
13366
|
setupCrashKindOf,
|
|
13093
13367
|
readSetupOutcomeProperties,
|
|
13094
13368
|
SETUP_STOPPED_PATH,
|
|
13369
|
+
SETUP_COMPLETED_EVENT,
|
|
13095
13370
|
SETUP_STARTED_PHASE,
|
|
13371
|
+
HOOK_ACTIVE_EVENT,
|
|
13096
13372
|
DOCTOR_RAN_EVENT,
|
|
13097
13373
|
DOCTOR_CHECK_AREAS,
|
|
13098
13374
|
CLI_LOCAL_BIND_PATH,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4TRRDGM5.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
throwIfNpmRefusesInstall
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QW7LM6BG.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
keyPrefix,
|
|
5
5
|
readConfigFileKey,
|
|
6
6
|
readMacAppKeyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y2CO2RMJ.js";
|
|
8
8
|
import {
|
|
9
9
|
NPX_LATEST_COMMAND
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7SSL355C.js";
|
|
11
11
|
|
|
12
12
|
// src/key-signed-out.ts
|
|
13
13
|
var VERDICT_BY_CHECK = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
callDecisionStore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XHKGTKM6.js";
|
|
4
4
|
import {
|
|
5
5
|
claudePromptMayFollowPreToolUseAllow,
|
|
6
6
|
promptedCallIdentityText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FV2YDUH5.js";
|
|
8
8
|
|
|
9
9
|
// src/phone-approval.ts
|
|
10
10
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
OPENCLAW_ENVIRONMENT_KEYS,
|
|
6
6
|
openClawEnvironmentOf,
|
|
7
7
|
openClawPathsFrom
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4TRRDGM5.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePathBinary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QW7LM6BG.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4YOLB6H7.js";
|
|
15
15
|
|
|
16
16
|
// src/openclaw/wiring-state.ts
|
|
17
17
|
var OPENCLAW_PLUGIN_ID = "pushary";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4TRRDGM5.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-CXQWDQCJ.js";
|
|
18
18
|
import {
|
|
19
19
|
isAutoUpdateResult
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4YOLB6H7.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OOSDN4AF.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KCQP7ZDP.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
isValidApiKey,
|
|
15
15
|
normalizeKeyScope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4YOLB6H7.js";
|
|
17
17
|
|
|
18
18
|
// src/session.ts
|
|
19
19
|
var samePusharyAccount = (left, right) => left.kind === "ok" && right.kind === "ok" && left.identity.workspaceId !== "" && left.identity.workspaceId === right.identity.workspaceId && left.identity.siteId === right.identity.siteId;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OTCNXBIY.js";
|
|
4
4
|
import {
|
|
5
5
|
bridgeResolvesToApp,
|
|
6
6
|
cursorUserHooks,
|
|
7
7
|
executableFileName,
|
|
8
8
|
isBridgeLocator,
|
|
9
9
|
liveBridgeProbe
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4TRRDGM5.js";
|
|
11
11
|
import {
|
|
12
12
|
atLeast,
|
|
13
13
|
parseVersion
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isCursorHookPayload,
|
|
22
22
|
isRecord,
|
|
23
23
|
toolsCoveredByGateEntry
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4YOLB6H7.js";
|
|
25
25
|
|
|
26
26
|
// src/cursor-gate-registration.ts
|
|
27
27
|
import { dirname, isAbsolute, join, resolve } from "path";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WX6YWZFM.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Y2CO2RMJ.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4TRRDGM5.js";
|
|
10
10
|
import {
|
|
11
11
|
readJsonSafe
|
|
12
12
|
} from "./chunk-PM2NRK6Y.js";
|
|
13
13
|
import {
|
|
14
14
|
isRecord,
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4YOLB6H7.js";
|
|
17
17
|
|
|
18
18
|
// src/shared-mcp-key.ts
|
|
19
19
|
var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
expectedLaunchCapabilities,
|
|
4
4
|
hasSpawnProvider,
|
|
5
5
|
resolveControlPolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KBQBO3KA.js";
|
|
7
7
|
import {
|
|
8
8
|
daemonHasRemoteProof,
|
|
9
9
|
daemonServiceManagerAvailable,
|
|
10
10
|
hasDaemonServiceDefinition,
|
|
11
11
|
readDaemonNeedsLogin,
|
|
12
12
|
readDaemonStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YJ2T5AKE.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RQ5DKUF4.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeyInForce
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Y2CO2RMJ.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KCQP7ZDP.js";
|
|
24
24
|
import {
|
|
25
25
|
getPackageVersion
|
|
26
26
|
} from "./chunk-CXQWDQCJ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AXIIY75S.js";
|
|
4
4
|
import {
|
|
5
5
|
KEY_SCOPE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4YOLB6H7.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/approval-settings-pages.ts
|
|
9
9
|
var API_KEYS_PATH = "/dashboard/agent/settings";
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
NpmMissingError,
|
|
5
5
|
NpmPermissionError,
|
|
6
6
|
NpmReleaseAgeError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QW7LM6BG.js";
|
|
8
8
|
import {
|
|
9
9
|
writeFileAtomic
|
|
10
10
|
} from "./chunk-PM2NRK6Y.js";
|
|
11
11
|
import {
|
|
12
12
|
NPX_LATEST_COMMAND
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7SSL355C.js";
|
|
14
14
|
import {
|
|
15
15
|
readSetupAgentFailures
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4YOLB6H7.js";
|
|
17
17
|
|
|
18
18
|
// src/setup/config-write.ts
|
|
19
19
|
var AgentConfigWriteError = class extends Error {
|