@raidiant/notifai 11.7.1 → 12.0.0-beta.13
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 +57 -0
- package/NOTICE +16 -0
- package/THIRD_PARTY_NOTICES +725 -0
- package/bin/notifai.mjs +11420 -0
- package/data/install.ps1 +318 -0
- package/data/release.json +1 -0
- package/inventory.json +1 -0
- package/npm-adapter-files.json +52 -0
- package/package.json +14 -44
- package/README.md +0 -168
- package/dist/agent-update-notice.d.ts +0 -7
- package/dist/agent-update-notice.js +0 -77
- package/dist/agent-update-notice.js.map +0 -1
- package/dist/atomic-file.d.ts +0 -30
- package/dist/atomic-file.js +0 -148
- package/dist/atomic-file.js.map +0 -1
- package/dist/attendant-update.d.ts +0 -15
- package/dist/attendant-update.js +0 -96
- package/dist/attendant-update.js.map +0 -1
- package/dist/claude-wake.d.ts +0 -108
- package/dist/claude-wake.js +0 -369
- package/dist/claude-wake.js.map +0 -1
- package/dist/cli-bin.d.ts +0 -26
- package/dist/cli-bin.js +0 -220
- package/dist/cli-bin.js.map +0 -1
- package/dist/cli-contract.d.ts +0 -16
- package/dist/cli-contract.js +0 -27
- package/dist/cli-contract.js.map +0 -1
- package/dist/cli-release.d.ts +0 -36
- package/dist/cli-release.js +0 -85
- package/dist/cli-release.js.map +0 -1
- package/dist/client.d.ts +0 -109
- package/dist/client.js +0 -217
- package/dist/client.js.map +0 -1
- package/dist/codex-answer-control.d.ts +0 -14
- package/dist/codex-answer-control.js +0 -41
- package/dist/codex-answer-control.js.map +0 -1
- package/dist/codex-answer-presentation.d.ts +0 -18
- package/dist/codex-answer-presentation.js +0 -113
- package/dist/codex-answer-presentation.js.map +0 -1
- package/dist/codex-input-lifecycle.d.ts +0 -10
- package/dist/codex-input-lifecycle.js +0 -63
- package/dist/codex-input-lifecycle.js.map +0 -1
- package/dist/codex-native-control.d.ts +0 -13
- package/dist/codex-native-control.js +0 -120
- package/dist/codex-native-control.js.map +0 -1
- package/dist/codex-native-turn.d.ts +0 -37
- package/dist/codex-native-turn.js +0 -155
- package/dist/codex-native-turn.js.map +0 -1
- package/dist/codex-question-bindings.d.ts +0 -76
- package/dist/codex-question-bindings.js +0 -151
- package/dist/codex-question-bindings.js.map +0 -1
- package/dist/codex-queue-control.d.ts +0 -21
- package/dist/codex-queue-control.js +0 -59
- package/dist/codex-queue-control.js.map +0 -1
- package/dist/codex-tool-messages.d.ts +0 -7
- package/dist/codex-tool-messages.js +0 -126
- package/dist/codex-tool-messages.js.map +0 -1
- package/dist/codex-wake.d.ts +0 -58
- package/dist/codex-wake.js +0 -135
- package/dist/codex-wake.js.map +0 -1
- package/dist/command-session.d.ts +0 -14
- package/dist/command-session.js +0 -31
- package/dist/command-session.js.map +0 -1
- package/dist/commands-acknowledge.d.ts +0 -13
- package/dist/commands-acknowledge.js +0 -116
- package/dist/commands-acknowledge.js.map +0 -1
- package/dist/commands-agent-sessions.d.ts +0 -6
- package/dist/commands-agent-sessions.js +0 -51
- package/dist/commands-agent-sessions.js.map +0 -1
- package/dist/commands-ask.d.ts +0 -62
- package/dist/commands-ask.js +0 -503
- package/dist/commands-ask.js.map +0 -1
- package/dist/commands-auth.d.ts +0 -76
- package/dist/commands-auth.js +0 -421
- package/dist/commands-auth.js.map +0 -1
- package/dist/commands-close.d.ts +0 -6
- package/dist/commands-close.js +0 -273
- package/dist/commands-close.js.map +0 -1
- package/dist/commands-config.d.ts +0 -31
- package/dist/commands-config.js +0 -272
- package/dist/commands-config.js.map +0 -1
- package/dist/commands-core.d.ts +0 -145
- package/dist/commands-core.js +0 -190
- package/dist/commands-core.js.map +0 -1
- package/dist/commands-devices.d.ts +0 -41
- package/dist/commands-devices.js +0 -144
- package/dist/commands-devices.js.map +0 -1
- package/dist/commands-doctor.d.ts +0 -25
- package/dist/commands-doctor.js +0 -1553
- package/dist/commands-doctor.js.map +0 -1
- package/dist/commands-guidance.d.ts +0 -27
- package/dist/commands-guidance.js +0 -150
- package/dist/commands-guidance.js.map +0 -1
- package/dist/commands-harness-context.d.ts +0 -57
- package/dist/commands-harness-context.js +0 -102
- package/dist/commands-harness-context.js.map +0 -1
- package/dist/commands-hook-attend.d.ts +0 -70
- package/dist/commands-hook-attend.js +0 -655
- package/dist/commands-hook-attend.js.map +0 -1
- package/dist/commands-hook-diagnostics.d.ts +0 -37
- package/dist/commands-hook-diagnostics.js +0 -136
- package/dist/commands-hook-diagnostics.js.map +0 -1
- package/dist/commands-hook-install.d.ts +0 -26
- package/dist/commands-hook-install.js +0 -784
- package/dist/commands-hook-install.js.map +0 -1
- package/dist/commands-hook-run.d.ts +0 -29
- package/dist/commands-hook-run.js +0 -933
- package/dist/commands-hook-run.js.map +0 -1
- package/dist/commands-hook-shape.d.ts +0 -19
- package/dist/commands-hook-shape.js +0 -48
- package/dist/commands-hook-shape.js.map +0 -1
- package/dist/commands-init.d.ts +0 -42
- package/dist/commands-init.js +0 -901
- package/dist/commands-init.js.map +0 -1
- package/dist/commands-io.d.ts +0 -2
- package/dist/commands-io.js +0 -117
- package/dist/commands-io.js.map +0 -1
- package/dist/commands-logs.d.ts +0 -30
- package/dist/commands-logs.js +0 -201
- package/dist/commands-logs.js.map +0 -1
- package/dist/commands-native-acknowledge.d.ts +0 -8
- package/dist/commands-native-acknowledge.js +0 -114
- package/dist/commands-native-acknowledge.js.map +0 -1
- package/dist/commands-project.d.ts +0 -4
- package/dist/commands-project.js +0 -41
- package/dist/commands-project.js.map +0 -1
- package/dist/commands-receive.d.ts +0 -3
- package/dist/commands-receive.js +0 -59
- package/dist/commands-receive.js.map +0 -1
- package/dist/commands-send-support.d.ts +0 -59
- package/dist/commands-send-support.js +0 -258
- package/dist/commands-send-support.js.map +0 -1
- package/dist/commands-send.d.ts +0 -34
- package/dist/commands-send.js +0 -900
- package/dist/commands-send.js.map +0 -1
- package/dist/commands-setup-proof.d.ts +0 -43
- package/dist/commands-setup-proof.js +0 -134
- package/dist/commands-setup-proof.js.map +0 -1
- package/dist/commands-skill.d.ts +0 -21
- package/dist/commands-skill.js +0 -199
- package/dist/commands-skill.js.map +0 -1
- package/dist/commands-sounds.d.ts +0 -12
- package/dist/commands-sounds.js +0 -35
- package/dist/commands-sounds.js.map +0 -1
- package/dist/commands-update-check.d.ts +0 -6
- package/dist/commands-update-check.js +0 -102
- package/dist/commands-update-check.js.map +0 -1
- package/dist/commands-update-resume.d.ts +0 -7
- package/dist/commands-update-resume.js +0 -143
- package/dist/commands-update-resume.js.map +0 -1
- package/dist/commands-update-skill.d.ts +0 -5
- package/dist/commands-update-skill.js +0 -36
- package/dist/commands-update-skill.js.map +0 -1
- package/dist/commands-update.d.ts +0 -11
- package/dist/commands-update.js +0 -286
- package/dist/commands-update.js.map +0 -1
- package/dist/commands.d.ts +0 -26
- package/dist/commands.js +0 -27
- package/dist/commands.js.map +0 -1
- package/dist/config-schema.d.ts +0 -62
- package/dist/config-schema.js +0 -302
- package/dist/config-schema.js.map +0 -1
- package/dist/config.d.ts +0 -181
- package/dist/config.js +0 -357
- package/dist/config.js.map +0 -1
- package/dist/credentials.d.ts +0 -96
- package/dist/credentials.js +0 -342
- package/dist/credentials.js.map +0 -1
- package/dist/file-lock.d.ts +0 -34
- package/dist/file-lock.js +0 -367
- package/dist/file-lock.js.map +0 -1
- package/dist/generated-session-label.d.ts +0 -2
- package/dist/generated-session-label.js +0 -152
- package/dist/generated-session-label.js.map +0 -1
- package/dist/guidance-content.d.ts +0 -53
- package/dist/guidance-content.js +0 -248
- package/dist/guidance-content.js.map +0 -1
- package/dist/guidance-render.d.ts +0 -25
- package/dist/guidance-render.js +0 -47
- package/dist/guidance-render.js.map +0 -1
- package/dist/guidance.d.ts +0 -69
- package/dist/guidance.js +0 -173
- package/dist/guidance.js.map +0 -1
- package/dist/harness-session-title.d.ts +0 -22
- package/dist/harness-session-title.js +0 -74
- package/dist/harness-session-title.js.map +0 -1
- package/dist/harnesses.d.ts +0 -65
- package/dist/harnesses.js +0 -159
- package/dist/harnesses.js.map +0 -1
- package/dist/hermes-attendant.d.ts +0 -38
- package/dist/hermes-attendant.js +0 -337
- package/dist/hermes-attendant.js.map +0 -1
- package/dist/hermes-plugin.d.ts +0 -11
- package/dist/hermes-plugin.js +0 -299
- package/dist/hermes-plugin.js.map +0 -1
- package/dist/hook-acknowledgements.d.ts +0 -70
- package/dist/hook-acknowledgements.js +0 -490
- package/dist/hook-acknowledgements.js.map +0 -1
- package/dist/hook-adapter.d.ts +0 -48
- package/dist/hook-adapter.js +0 -419
- package/dist/hook-adapter.js.map +0 -1
- package/dist/hook-events.d.ts +0 -105
- package/dist/hook-events.js +0 -130
- package/dist/hook-events.js.map +0 -1
- package/dist/hook-gates.d.ts +0 -7
- package/dist/hook-gates.js +0 -20
- package/dist/hook-gates.js.map +0 -1
- package/dist/hook-input.d.ts +0 -10
- package/dist/hook-input.js +0 -64
- package/dist/hook-input.js.map +0 -1
- package/dist/hook-lifecycle.d.ts +0 -112
- package/dist/hook-lifecycle.js +0 -2031
- package/dist/hook-lifecycle.js.map +0 -1
- package/dist/hook-project-sessions.d.ts +0 -28
- package/dist/hook-project-sessions.js +0 -141
- package/dist/hook-project-sessions.js.map +0 -1
- package/dist/hook-question-lock.d.ts +0 -29
- package/dist/hook-question-lock.js +0 -217
- package/dist/hook-question-lock.js.map +0 -1
- package/dist/hook-question-retirement.d.ts +0 -74
- package/dist/hook-question-retirement.js +0 -314
- package/dist/hook-question-retirement.js.map +0 -1
- package/dist/hook-question-state.d.ts +0 -58
- package/dist/hook-question-state.js +0 -239
- package/dist/hook-question-state.js.map +0 -1
- package/dist/hook-session-state.d.ts +0 -127
- package/dist/hook-session-state.js +0 -488
- package/dist/hook-session-state.js.map +0 -1
- package/dist/hook-types.d.ts +0 -476
- package/dist/hook-types.js +0 -4
- package/dist/hook-types.js.map +0 -1
- package/dist/injection-render.d.ts +0 -36
- package/dist/injection-render.js +0 -61
- package/dist/injection-render.js.map +0 -1
- package/dist/install-hooks.d.ts +0 -470
- package/dist/install-hooks.js +0 -1622
- package/dist/install-hooks.js.map +0 -1
- package/dist/integration-health.d.ts +0 -26
- package/dist/integration-health.js +0 -133
- package/dist/integration-health.js.map +0 -1
- package/dist/interactive.d.ts +0 -22
- package/dist/interactive.js +0 -644
- package/dist/interactive.js.map +0 -1
- package/dist/invocation-context.d.ts +0 -47
- package/dist/invocation-context.js +0 -164
- package/dist/invocation-context.js.map +0 -1
- package/dist/local-path.d.ts +0 -7
- package/dist/local-path.js +0 -27
- package/dist/local-path.js.map +0 -1
- package/dist/logging.d.ts +0 -157
- package/dist/logging.js +0 -599
- package/dist/logging.js.map +0 -1
- package/dist/main-run.d.ts +0 -1
- package/dist/main-run.js +0 -42
- package/dist/main-run.js.map +0 -1
- package/dist/main.d.ts +0 -2
- package/dist/main.js +0 -12
- package/dist/main.js.map +0 -1
- package/dist/native-answer-operation.d.ts +0 -70
- package/dist/native-answer-operation.js +0 -247
- package/dist/native-answer-operation.js.map +0 -1
- package/dist/native-skills.d.ts +0 -64
- package/dist/native-skills.js +0 -167
- package/dist/native-skills.js.map +0 -1
- package/dist/node-floor.d.ts +0 -19
- package/dist/node-floor.js +0 -32
- package/dist/node-floor.js.map +0 -1
- package/dist/npm-invocation.d.ts +0 -34
- package/dist/npm-invocation.js +0 -53
- package/dist/npm-invocation.js.map +0 -1
- package/dist/openclaw-continuation-bridge.d.ts +0 -7
- package/dist/openclaw-continuation-bridge.js +0 -64
- package/dist/openclaw-continuation-bridge.js.map +0 -1
- package/dist/openclaw-gateway-readiness.d.ts +0 -1
- package/dist/openclaw-gateway-readiness.js +0 -24
- package/dist/openclaw-gateway-readiness.js.map +0 -1
- package/dist/openclaw-generation.d.ts +0 -21
- package/dist/openclaw-generation.js +0 -115
- package/dist/openclaw-generation.js.map +0 -1
- package/dist/openclaw-message-bridge.d.ts +0 -8
- package/dist/openclaw-message-bridge.js +0 -93
- package/dist/openclaw-message-bridge.js.map +0 -1
- package/dist/openclaw-pending.d.ts +0 -8
- package/dist/openclaw-pending.js +0 -47
- package/dist/openclaw-pending.js.map +0 -1
- package/dist/openclaw-plugin.d.ts +0 -75
- package/dist/openclaw-plugin.js +0 -1353
- package/dist/openclaw-plugin.js.map +0 -1
- package/dist/openclaw-session-access.d.ts +0 -12
- package/dist/openclaw-session-access.js +0 -79
- package/dist/openclaw-session-access.js.map +0 -1
- package/dist/opencode-plugin.d.ts +0 -88
- package/dist/opencode-plugin.js +0 -286
- package/dist/opencode-plugin.js.map +0 -1
- package/dist/orca-session-title.d.ts +0 -11
- package/dist/orca-session-title.js +0 -111
- package/dist/orca-session-title.js.map +0 -1
- package/dist/pack-feedback-slice.d.ts +0 -35
- package/dist/pack-feedback-slice.js +0 -126
- package/dist/pack-feedback-slice.js.map +0 -1
- package/dist/pairing-qr.d.ts +0 -5
- package/dist/pairing-qr.js +0 -24
- package/dist/pairing-qr.js.map +0 -1
- package/dist/pending-pairing.d.ts +0 -38
- package/dist/pending-pairing.js +0 -70
- package/dist/pending-pairing.js.map +0 -1
- package/dist/platform.d.ts +0 -67
- package/dist/platform.js +0 -140
- package/dist/platform.js.map +0 -1
- package/dist/process-identity.d.ts +0 -26
- package/dist/process-identity.js +0 -82
- package/dist/process-identity.js.map +0 -1
- package/dist/program.d.ts +0 -59
- package/dist/program.js +0 -691
- package/dist/program.js.map +0 -1
- package/dist/project-enablement.d.ts +0 -21
- package/dist/project-enablement.js +0 -71
- package/dist/project-enablement.js.map +0 -1
- package/dist/question-settlement-process.d.ts +0 -17
- package/dist/question-settlement-process.js +0 -35
- package/dist/question-settlement-process.js.map +0 -1
- package/dist/question-timing.d.ts +0 -46
- package/dist/question-timing.js +0 -48
- package/dist/question-timing.js.map +0 -1
- package/dist/readiness.d.ts +0 -153
- package/dist/readiness.js +0 -149
- package/dist/readiness.js.map +0 -1
- package/dist/release.d.ts +0 -31
- package/dist/release.js +0 -52
- package/dist/release.js.map +0 -1
- package/dist/send-attempts.d.ts +0 -26
- package/dist/send-attempts.js +0 -139
- package/dist/send-attempts.js.map +0 -1
- package/dist/send.d.ts +0 -115
- package/dist/send.js +0 -421
- package/dist/send.js.map +0 -1
- package/dist/session-activation.d.ts +0 -13
- package/dist/session-activation.js +0 -64
- package/dist/session-activation.js.map +0 -1
- package/dist/session-attendant-probe.d.ts +0 -85
- package/dist/session-attendant-probe.js +0 -173
- package/dist/session-attendant-probe.js.map +0 -1
- package/dist/session-attendant-state.d.ts +0 -70
- package/dist/session-attendant-state.js +0 -256
- package/dist/session-attendant-state.js.map +0 -1
- package/dist/session-attendant.d.ts +0 -143
- package/dist/session-attendant.js +0 -520
- package/dist/session-attendant.js.map +0 -1
- package/dist/session-delivery.d.ts +0 -249
- package/dist/session-delivery.js +0 -576
- package/dist/session-delivery.js.map +0 -1
- package/dist/session-handoff.d.ts +0 -98
- package/dist/session-handoff.js +0 -118
- package/dist/session-handoff.js.map +0 -1
- package/dist/session-input-wakes.d.ts +0 -78
- package/dist/session-input-wakes.js +0 -239
- package/dist/session-input-wakes.js.map +0 -1
- package/dist/session-inputs.d.ts +0 -57
- package/dist/session-inputs.js +0 -434
- package/dist/session-inputs.js.map +0 -1
- package/dist/session-labels.d.ts +0 -56
- package/dist/session-labels.js +0 -396
- package/dist/session-labels.js.map +0 -1
- package/dist/session-message-handoff.d.ts +0 -39
- package/dist/session-message-handoff.js +0 -107
- package/dist/session-message-handoff.js.map +0 -1
- package/dist/setup-destinations.d.ts +0 -23
- package/dist/setup-destinations.js +0 -44
- package/dist/setup-destinations.js.map +0 -1
- package/dist/skill-integrity.d.ts +0 -54
- package/dist/skill-integrity.js +0 -164
- package/dist/skill-integrity.js.map +0 -1
- package/dist/skill-source/manifest.json +0 -40
- package/dist/skill-source/notifai/SKILL.md +0 -350
- package/dist/skill-source/notifai/references/diagnostics.md +0 -36
- package/dist/skill-source/notifai/references/harness-setup.md +0 -384
- package/dist/skill-source/notifai/references/native-questions.md +0 -51
- package/dist/skill-source/notifai/references/notes-and-edits.md +0 -54
- package/dist/skill-source/notifai/references/send-details.md +0 -14
- package/dist/skill-source/notifai/references/updates.md +0 -116
- package/dist/skill-source/notifai/references/writing-examples.md +0 -56
- package/dist/sound-ref.d.ts +0 -23
- package/dist/sound-ref.js +0 -28
- package/dist/sound-ref.js.map +0 -1
- package/dist/ui/banner.d.ts +0 -22
- package/dist/ui/banner.js +0 -87
- package/dist/ui/banner.js.map +0 -1
- package/dist/ui/config-view.d.ts +0 -30
- package/dist/ui/config-view.js +0 -108
- package/dist/ui/config-view.js.map +0 -1
- package/dist/ui/help.d.ts +0 -44
- package/dist/ui/help.js +0 -107
- package/dist/ui/help.js.map +0 -1
- package/dist/ui/theme.d.ts +0 -90
- package/dist/ui/theme.js +0 -244
- package/dist/ui/theme.js.map +0 -1
- package/dist/update-handoff.d.ts +0 -29
- package/dist/update-handoff.js +0 -69
- package/dist/update-handoff.js.map +0 -1
- package/dist/url-policy.d.ts +0 -85
- package/dist/url-policy.js +0 -369
- package/dist/url-policy.js.map +0 -1
- package/dist/version.d.ts +0 -40
- package/dist/version.js +0 -132
- package/dist/version.js.map +0 -1
- package/dist/wake-support.d.ts +0 -40
- package/dist/wake-support.js +0 -95
- package/dist/wake-support.js.map +0 -1
package/dist/hook-events.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hook-events.js","sourceRoot":"","sources":["../src/hook-events.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,OAAO,EAA+B,MAAM,gBAAgB,CAAA;AAC5D,OAAO,EAAE,gBAAgB,EAAyB,MAAM,mBAAmB,CAAA;AAE3E;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B;QACE,OAAO,EAAE,eAAe;QACxB,QAAQ,EAAE,aAAa;QACvB,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,KAAK;QACf,iBAAiB,EAAE,KAAK;QACxB,cAAc,EAAE,EAAE;KACnB;IACD;QACE,OAAO,EAAE,eAAe;QACxB,QAAQ,EAAE,cAAc;QACxB,MAAM,E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CAAC,KAAK,OAAO,CAAA;AACrG,CAAC;AAED,6EAA6E;AAC7E,MAAM,UAAU,kBAAkB,CAChC,OAA+B,EAC/B,QAA6C;IAE7C,IAAI,OAAO,KAAK,UAAU,IAAI,OAAO,KAAK,UAAU,IAAI,OAAO,KAAK,QAAQ;QAAE,OAAO,EAAE,CAAA;IACvF,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CACrC,GAAG,CAAC,OAAO,KAAK,eAAe;QAC7B,CAAC,CAAC,OAAO,KAAK,OAAO,IAAI,wBAAwB,CAAC,OAAO,EAAE,QAAQ,CAAC;QACpE,CAAC,CAAC,GAAG,CAAC,OAAO,KAAK,QAAQ;YAC1B,CAAC,CAAC,wBAAwB,CAAC,OAAO,EAAE,QAAQ,CAAC;YAC7C,CAAC,CAAC,OAAO,KAAK,QAAQ;gBACpB,CAAC,CAAC,GAAG,CAAC,MAAM,KAAK,IAAI;gBACrB,CAAC,CAAC,GAAG,CAAC,QAAQ,KAAK,IAAI,CAC5B,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;AAC7B,CAAC"}
|
package/dist/hook-gates.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/** Structured gate decisions shared by lifecycle and acknowledgement handling. */
|
|
2
|
-
import type { HookContext } from './hook-types.js';
|
|
3
|
-
/** Runtime vocabulary for every recorded question gate. */
|
|
4
|
-
export declare const GATE_REASONS: readonly ["no-session", "no-question", "answered", "continuation-limit", "delivery-limit", "acknowledgement-required", "acknowledgement-abandoned", "harness-cannot-continue", "notifications-off", "claimed-elsewhere", "elapsed", "proceeding"];
|
|
5
|
-
export type GateReason = (typeof GATE_REASONS)[number];
|
|
6
|
-
/** Record one gate decision using a stable reason agents can filter on. */
|
|
7
|
-
export declare function gate(ctx: HookContext, verdict: 'held' | 'proceeding', reason: GateReason, data?: Record<string, unknown>): void;
|
package/dist/hook-gates.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/** Runtime vocabulary for every recorded question gate. */
|
|
2
|
-
export const GATE_REASONS = [
|
|
3
|
-
'no-session',
|
|
4
|
-
'no-question',
|
|
5
|
-
'answered',
|
|
6
|
-
'continuation-limit',
|
|
7
|
-
'delivery-limit',
|
|
8
|
-
'acknowledgement-required',
|
|
9
|
-
'acknowledgement-abandoned',
|
|
10
|
-
'harness-cannot-continue',
|
|
11
|
-
'notifications-off',
|
|
12
|
-
'claimed-elsewhere',
|
|
13
|
-
'elapsed',
|
|
14
|
-
'proceeding',
|
|
15
|
-
];
|
|
16
|
-
/** Record one gate decision using a stable reason agents can filter on. */
|
|
17
|
-
export function gate(ctx, verdict, reason, data = {}) {
|
|
18
|
-
ctx.log?.info('hook.gate', { verdict, reason, stage: 'queued', ...data });
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=hook-gates.js.map
|
package/dist/hook-gates.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hook-gates.js","sourceRoot":"","sources":["../src/hook-gates.ts"],"names":[],"mappings":"AAGA,2DAA2D;AAC3D,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,YAAY;IACZ,aAAa;IACb,UAAU;IACV,oBAAoB;IACpB,gBAAgB;IAChB,0BAA0B;IAC1B,2BAA2B;IAC3B,yBAAyB;IACzB,mBAAmB;IACnB,mBAAmB;IACnB,SAAS;IACT,YAAY;CACJ,CAAA;AAIV,2EAA2E;AAC3E,MAAM,UAAU,IAAI,CAClB,GAAgB,EAChB,OAA8B,EAC9B,MAAkB,EAClB,OAAgC,EAAE;IAElC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,CAAC,CAAA;AAC3E,CAAC"}
|
package/dist/hook-input.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Readable } from 'node:stream';
|
|
2
|
-
/**
|
|
3
|
-
* Read one harness-hook envelope without letting a stuck pipe hold the prompt.
|
|
4
|
-
*
|
|
5
|
-
* A timeout or stream error before any bytes arrive rejects, so the hook can
|
|
6
|
-
* record that its input was unavailable. Once bytes exist they are more useful
|
|
7
|
-
* than the transport failure: complete JSON can still run, while partial or
|
|
8
|
-
* capped JSON reaches the hook's malformed/truncated diagnostic.
|
|
9
|
-
*/
|
|
10
|
-
export declare function readStdinWithTimeout(input?: Readable, timeoutMs?: number, maxBytes?: number): Promise<string>;
|
package/dist/hook-input.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
const TRUNCATED_INPUT_SUFFIX = '\n[notifai: hook input truncated]\n';
|
|
2
|
-
/**
|
|
3
|
-
* Read one harness-hook envelope without letting a stuck pipe hold the prompt.
|
|
4
|
-
*
|
|
5
|
-
* A timeout or stream error before any bytes arrive rejects, so the hook can
|
|
6
|
-
* record that its input was unavailable. Once bytes exist they are more useful
|
|
7
|
-
* than the transport failure: complete JSON can still run, while partial or
|
|
8
|
-
* capped JSON reaches the hook's malformed/truncated diagnostic.
|
|
9
|
-
*/
|
|
10
|
-
export function readStdinWithTimeout(input = process.stdin, timeoutMs = 2_000, maxBytes = 1_000_000) {
|
|
11
|
-
if (input.isTTY === true)
|
|
12
|
-
return Promise.resolve('');
|
|
13
|
-
return new Promise((resolve, reject) => {
|
|
14
|
-
const chunks = [];
|
|
15
|
-
let total = 0;
|
|
16
|
-
let settled = false;
|
|
17
|
-
const cleanup = () => {
|
|
18
|
-
clearTimeout(timer);
|
|
19
|
-
input.off('data', onData);
|
|
20
|
-
input.off('end', onEnd);
|
|
21
|
-
input.off('error', onError);
|
|
22
|
-
input.destroy();
|
|
23
|
-
};
|
|
24
|
-
const finishBuffered = () => {
|
|
25
|
-
if (settled)
|
|
26
|
-
return;
|
|
27
|
-
settled = true;
|
|
28
|
-
cleanup();
|
|
29
|
-
resolve(Buffer.concat(chunks).toString('utf8'));
|
|
30
|
-
};
|
|
31
|
-
const failEmpty = (err) => {
|
|
32
|
-
if (settled)
|
|
33
|
-
return;
|
|
34
|
-
if (chunks.length > 0)
|
|
35
|
-
return finishBuffered();
|
|
36
|
-
settled = true;
|
|
37
|
-
cleanup();
|
|
38
|
-
reject(err);
|
|
39
|
-
};
|
|
40
|
-
const onData = (chunk) => {
|
|
41
|
-
const bytes = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
|
|
42
|
-
const remaining = Math.max(0, maxBytes - total);
|
|
43
|
-
if (bytes.length <= remaining) {
|
|
44
|
-
chunks.push(bytes);
|
|
45
|
-
total += bytes.length;
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
if (remaining > 0) {
|
|
49
|
-
chunks.push(bytes.subarray(0, remaining));
|
|
50
|
-
total += remaining;
|
|
51
|
-
}
|
|
52
|
-
chunks.push(Buffer.from(TRUNCATED_INPUT_SUFFIX));
|
|
53
|
-
finishBuffered();
|
|
54
|
-
};
|
|
55
|
-
const onEnd = () => finishBuffered();
|
|
56
|
-
const onError = (err) => failEmpty(err);
|
|
57
|
-
const timer = setTimeout(() => failEmpty(new Error(`timed out waiting ${timeoutMs}ms for hook input`)), timeoutMs);
|
|
58
|
-
timer.unref?.();
|
|
59
|
-
input.on('data', onData);
|
|
60
|
-
input.once('end', onEnd);
|
|
61
|
-
input.once('error', onError);
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
//# sourceMappingURL=hook-input.js.map
|
package/dist/hook-input.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hook-input.js","sourceRoot":"","sources":["../src/hook-input.ts"],"names":[],"mappings":"AAEA,MAAM,sBAAsB,GAAG,qCAAqC,CAAA;AAEpE;;;;;;;GAOG;AACH,MAAM,UAAU,oBAAoB,CAClC,QAAkB,OAAO,CAAC,KAAK,EAC/B,SAAS,GAAG,KAAK,EACjB,QAAQ,GAAG,SAAS;IA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mission } from './codex-question-bindings.js';
|
|
2
|
-
import type { EscalationDeliveryRoute, EscalationWaiterOptions, HookContext, HookEnvelope, HookOutcome, PendingQuestion } from './hook-types.js';
|
|
3
|
-
/**
|
|
4
|
-
* The wire contract's shortest reply window. A question submitted with less
|
|
5
|
-
* than this is rejected outright, and accepting one would in any case let the
|
|
6
|
-
* server go on taking an answer after the waiter that owns it has returned.
|
|
7
|
-
*/
|
|
8
|
-
export declare const MIN_REPLY_WINDOW_SECONDS = 60;
|
|
9
|
-
/**
|
|
10
|
-
* The one bound on answer deliveries, for every route.
|
|
11
|
-
*
|
|
12
|
-
* It caps two things that both used to be able to run away: how many times a
|
|
13
|
-
* single accepted answer may be handed to a route before the journal gives up
|
|
14
|
-
* on it, and how many answer-driven continuation generations one chain may
|
|
15
|
-
* produce.
|
|
16
|
-
*/
|
|
17
|
-
export declare const MAX_CONTINUATION_COUNT = 3;
|
|
18
|
-
/**
|
|
19
|
-
* How many turns an answer may be *held* before it is settled unread.
|
|
20
|
-
*
|
|
21
|
-
* A hold is not a delivery: the route reported that it handed nothing over, so
|
|
22
|
-
* the agent has not seen the answer and the wake-loop the continuation cap
|
|
23
|
-
* exists to stop has not happened. Counting holds against that cap meant three
|
|
24
|
-
* turns where a liveness probe could not reach a busy session were enough to
|
|
25
|
-
* discard an answer the user had already given.
|
|
26
|
-
*
|
|
27
|
-
* It still has to end. A route that can never deliver would otherwise retry
|
|
28
|
-
* every turn for the life of the session, so holds get their own, far looser
|
|
29
|
-
* bound — loose because each one costs nothing and the answer is still wanted.
|
|
30
|
-
*/
|
|
31
|
-
export declare const MAX_HELD_DELIVERIES = 20;
|
|
32
|
-
/**
|
|
33
|
-
* Records presence. Retires a live question only when this prompt plausibly
|
|
34
|
-
* answers it. Typing in the terminal is not by itself a resolution: the User
|
|
35
|
-
* may be answering a different question on a device.
|
|
36
|
-
*/
|
|
37
|
-
export declare function handleUserPromptSubmit(ctx: HookContext, envelope: HookEnvelope): Promise<HookOutcome>;
|
|
38
|
-
/**
|
|
39
|
-
* Only engages for a question the agent explicitly registered with
|
|
40
|
-
* `notifai ask`. Guessing from the last assistant message was the alternative
|
|
41
|
-
* and it is not worth it: a false positive here hijacks the terminal.
|
|
42
|
-
*/
|
|
43
|
-
export declare function handleStop(ctx: HookContext, envelope: HookEnvelope, processDeadlineAt?: number, route?: EscalationDeliveryRoute, recordStop?: boolean): Promise<HookOutcome>;
|
|
44
|
-
/**
|
|
45
|
-
* Own one registered question pipeline from its terminal-first timer through
|
|
46
|
-
* its final delivery or retirement. Hosts differ only in the injected route.
|
|
47
|
-
*/
|
|
48
|
-
export declare function runEscalationWaiter(ctx: HookContext, options: EscalationWaiterOptions): Promise<HookOutcome>;
|
|
49
|
-
/**
|
|
50
|
-
* The blocking Stop hook's own last meter: the answer becomes this process's
|
|
51
|
-
* stdout, and the harness admits it as a new user turn. Exported because a
|
|
52
|
-
* host adapter that has other routes still falls back to this one.
|
|
53
|
-
*/
|
|
54
|
-
export declare function hookContinuationRoute(): EscalationDeliveryRoute;
|
|
55
|
-
/**
|
|
56
|
-
* Journal, then record, selected answers already written without a claim. A
|
|
57
|
-
* record that fails stays in this session's delivery journal, so the next
|
|
58
|
-
* hand-off here or the machine-wide sweep records it later.
|
|
59
|
-
*/
|
|
60
|
-
export declare function reportHandedOffAfterTheFact(ctx: HookContext, sessionId: string, requestIds: readonly string[]): Promise<void>;
|
|
61
|
-
/** Submit independently of the long-lived answer owner, preserving frozen identities. */
|
|
62
|
-
export declare function submitSessionQuestions(ctx: HookContext, envelope: HookEnvelope, hardDeadlineAt?: number, notes?: string[]): Promise<PendingQuestion[]>;
|
|
63
|
-
/**
|
|
64
|
-
* Claude Code gives SessionEnd hooks a 1.5-second shared budget and Codex 1
|
|
65
|
-
* second, so this cannot make a network call. It drops the local marker — but
|
|
66
|
-
* first moves anything still live on the user's devices into the global
|
|
67
|
-
* retirement queue, because this file was the only record of those ids and no
|
|
68
|
-
* hook for this session will ever run again. A question whose
|
|
69
|
-
* agent just exited can receive no answer, so it is orphaned as `expired`.
|
|
70
|
-
*/
|
|
71
|
-
export declare function handleSessionEnd(env: NodeJS.ProcessEnv, envelope: HookEnvelope, now?: number, preserveAccepted?: boolean): HookOutcome;
|
|
72
|
-
/**
|
|
73
|
-
* Registrations still waiting for their first push. More than this in one turn
|
|
74
|
-
* means an agent is looping, not asking, and related questions belong in one
|
|
75
|
-
* `ask --form` instead.
|
|
76
|
-
*
|
|
77
|
-
* Deliberately counts only unasked entries. A question already on the user's
|
|
78
|
-
* devices is waiting on a person, not on the agent, and an answer stays
|
|
79
|
-
* accepted for a day — so counting live questions here would have turned a
|
|
80
|
-
* patient user into a reason the agent could no longer ask anything.
|
|
81
|
-
*/
|
|
82
|
-
export declare const MAX_PENDING_QUESTIONS = 4;
|
|
83
|
-
/**
|
|
84
|
-
* Everything this session has open at once, asked or not. The lock screen is
|
|
85
|
-
* the shared resource being protected here, not the agent's turn.
|
|
86
|
-
*/
|
|
87
|
-
export declare const MAX_LIVE_QUESTIONS = 10;
|
|
88
|
-
export declare class QuestionRegistrationChanged extends Error {
|
|
89
|
-
readonly reason: 'credential' | 'owner';
|
|
90
|
-
constructor(reason: 'credential' | 'owner');
|
|
91
|
-
}
|
|
92
|
-
interface QuestionRegistrationGuard {
|
|
93
|
-
/** Captured before optional asynchronous discovery; a new turn is allowed. */
|
|
94
|
-
owner_key?: string;
|
|
95
|
-
machineStillMatches: () => boolean;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* A session may hold several registered questions at once: a new `ask` never
|
|
99
|
-
* ends an earlier one. Each reaches the user as its own notification and is
|
|
100
|
-
* answerable independently. Superseding is reply semantics — a later reply
|
|
101
|
-
* corrects an earlier reply to the same question (that correction model lives
|
|
102
|
-
* server-side) — never question semantics: the old single-slot model silently
|
|
103
|
-
* discarded a question the moment a second was registered, and the user was
|
|
104
|
-
* pointed at a notification that never existed (2026-08-09).
|
|
105
|
-
*
|
|
106
|
-
* The queue is keyed on the session, not the project: several agents may be
|
|
107
|
-
* running in one project at once, and their questions must never interfere.
|
|
108
|
-
*/
|
|
109
|
-
export declare function registerQuestion(sessionId: string, env: NodeJS.ProcessEnv, question: PendingQuestion, now?: number, nativeAdmission?: NativeQuestionAdmission, guard?: QuestionRegistrationGuard): string;
|
|
110
|
-
/** Parses hook JSON from stdin, tolerating an empty or malformed body. */
|
|
111
|
-
export declare function parseHookInput(raw: string): HookEnvelope;
|
|
112
|
-
export {};
|