chore: merge main into feat/native-call-observation
Resolve conflicts against main: - package.json: ship both the LLDB tracer bridge and main's process run token reader sources. - README.md: take main's simplified English README, which no longer has the tool-family table. - README_ja.md: take main's reworded table and count observe_native_calls in the macOS native row (7 -> 8). - Skill: the references gain the observe_native_calls paragraph, so the version moves to 29 (main already uses 28). - Regenerate the product catalog, conformance manifest, skill digest and package metadata (135 tools). The MCP tool catalog is now built rather than committed (#997), so it is removed here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import AppKit
|
||||
|
||||
let count = Int(CommandLine.arguments[2]) ?? 40
|
||||
let root = NSView(frame: .zero)
|
||||
root.identifier = NSUserInterfaceItemIdentifier("root")
|
||||
var parent = root
|
||||
for index in 0..<count {
|
||||
let child = NSView(frame: .zero)
|
||||
child.identifier = NSUserInterfaceItemIdentifier("view-\(index)")
|
||||
parent.addSubview(child)
|
||||
parent = child
|
||||
}
|
||||
let archive = try NSKeyedArchiver.archivedData(
|
||||
withRootObject: root,
|
||||
requiringSecureCoding: false,
|
||||
)
|
||||
try archive.write(to: URL(fileURLWithPath: CommandLine.arguments[1]))
|
||||
@@ -1,3 +1,28 @@
|
||||
import Foundation
|
||||
|
||||
let zero = captureChildCount(status: 0, success: 0, value: 0)
|
||||
precondition(zero.value == 0, "A successful empty child list must remain a known zero")
|
||||
precondition(zero.error == nil, "A successful child count must not report an error")
|
||||
|
||||
let failedCount = captureChildCount(status: -25204, success: 0, value: 0)
|
||||
precondition(failedCount.value == nil, "A failed count must not be reported as zero")
|
||||
precondition(failedCount.error == -25204, "A failed count must retain its AX error")
|
||||
|
||||
let slashRich = try! serializeHelperOutput([
|
||||
"ok": true,
|
||||
"result": [
|
||||
"control": "\u{0001}",
|
||||
"slash": String(repeating: "/", count: 4096),
|
||||
"unicode": "café 😀\u{2028}",
|
||||
],
|
||||
])
|
||||
FileHandle.standardOutput.write(slashRich)
|
||||
FileHandle.standardOutput.write(Data("\n".utf8))
|
||||
|
||||
let numericFormat = try! serializeHelperOutput(["launch_time": 1_791_385_671.621])
|
||||
FileHandle.standardOutput.write(numericFormat)
|
||||
FileHandle.standardOutput.write(Data("\n".utf8))
|
||||
|
||||
let failed: ChildBatch<Int> = captureChildValues(requestedCount: 2) { nil }
|
||||
precondition(failed.values.isEmpty, "AX retrieval failure must return no values")
|
||||
precondition(!failed.complete, "AX retrieval failure must mark traversal incomplete")
|
||||
@@ -15,4 +40,4 @@ let complete = captureChildValues(requestedCount: 2) { [10, 20, 30] }
|
||||
precondition(complete.values == [10, 20], "Retrieval must respect the requested node budget")
|
||||
precondition(complete.complete, "A full bounded result must remain complete")
|
||||
|
||||
print("Native UI child retrieval seam passed")
|
||||
print("Native UI child retrieval and serialization seams passed")
|
||||
|
||||
Reference in New Issue
Block a user