@halofy/agent-connect 0.3.0 → 0.4.0

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/README.md CHANGED
@@ -19,7 +19,7 @@ agent connections:
19
19
  There is one setup path for every packaged client:
20
20
 
21
21
  ```bash
22
- npx --yes @halofy/agent-connect@0.3.0 install <client-kind> \
22
+ npx --yes @halofy/agent-connect@0.4.0 install <client-kind> \
23
23
  --server https://app.halofy.ai \
24
24
  --claim '<one-time-claim>'
25
25
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halofy/agent-connect",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "description": "Signed Halofy lifecycle installer and runtime for supported agents",
6
6
  "bin": {
@@ -139,7 +139,9 @@ export async function configureGemini({
139
139
 
140
140
  const KIMI_HOOKS = Object.freeze({
141
141
  SessionStart: "SessionStart",
142
- UserPromptSubmit: "UserPromptSubmit",
142
+ // Kimi 0.39 exposes the submitted prompt reliably on the user-origin
143
+ // TurnStarted event. UserPromptSubmit is not emitted for every host surface.
144
+ TurnStarted: "UserPromptSubmit",
143
145
  Stop: "Stop",
144
146
  PostToolUse: "PostToolUse",
145
147
  PostToolUseFailure: "PostToolUseFailure",
@@ -181,6 +183,7 @@ export async function configureKimi({
181
183
  ...Object.entries(KIMI_HOOKS).flatMap(([hostEvent, runtimeEvent]) => [
182
184
  "[[hooks]]",
183
185
  `event = ${JSON.stringify(hostEvent)}`,
186
+ ...(hostEvent === "TurnStarted" ? ['matcher = "^user$"'] : []),
184
187
  `command = ${JSON.stringify(managedCommand(nodePath, runtimePath, runtimeEvent, installationId))}`,
185
188
  "timeout = 20",
186
189
  "",
package/src/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  export const PACKAGE_NAME = "@halofy/agent-connect";
2
- export const INSTALLER_VERSION = "0.3.0";
3
- export const RUNTIME_VERSION = "0.3.0";
2
+ export const INSTALLER_VERSION = "0.4.0";
3
+ export const RUNTIME_VERSION = "0.4.0";
4
4
  export const DISCLOSURE_VERSION = "halofy-agent-lifecycle-2026-08-29";