@scotthuang/agent-knock-knock 0.5.1 → 0.5.2
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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.2 - 2026-07-30
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Keep macOS tmux workspace revalidation reliable when `lsof` returns usable cwd rows with a partial-failure status.
|
|
8
|
+
- Limit cwd lookups to the expected coding-agent PID while retaining ancestry checks and failing closed when target cwd evidence is absent.
|
|
9
|
+
|
|
3
10
|
## 0.5.1 - 2026-07-29
|
|
4
11
|
|
|
5
12
|
### Changed
|
package/dist/src/cli.js
CHANGED
|
@@ -653,8 +653,9 @@ function createTerminalAgentBridge(options, terminalProvider = createTerminalCon
|
|
|
653
653
|
terminalProvider,
|
|
654
654
|
async verifyIdentity({ agent, pid, terminalControl }) {
|
|
655
655
|
const adapter = registry.require(agent);
|
|
656
|
-
const snapshots = await processSource.listProcessSnapshots(
|
|
657
|
-
includeCwd: options.workspace !== undefined
|
|
656
|
+
const snapshots = await processSource.listProcessSnapshots((candidate) => candidate.pid === pid, {
|
|
657
|
+
includeCwd: options.workspace !== undefined,
|
|
658
|
+
includeAncestors: true
|
|
658
659
|
});
|
|
659
660
|
const snapshot = snapshots.find((candidate) => candidate.pid === pid);
|
|
660
661
|
if (!snapshot || !adapter.classifyProcess(snapshot)) {
|