You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: copy matches what the code emits; README walks through adding AnnotKit to an app
- Drop the screenshot claim: the toolbar never exports one.
- NotesFileSink rewrites, it does not append; iOS walks the view tree.
- Sample note is verbatim formatter output for a seeded button.
- Position AnnotKit as a Swift package in dateline, hero and meta.
- README: step-by-step install for Xcode and Package.swift, mount points
per platform, the working-directory gotcha, platform-coverage note.
- Masthead test follows site.repoIsPublic instead of hard-coding the label.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: web/index.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
<title>AnnotKit: native annotation for AI coding agents</title>
8
8
<meta
9
9
name="description"
10
-
content="Click a view in your own macOS or iOS app, type a note, and hand your coding agent a selector it can trace back to code. MIT, Swift 6, pre-1.0."
10
+
content="A Swift package for macOS and iOS apps. Click a view in your own dev build, type a note, and hand your coding agent a selector it can trace back to code. MIT, Swift 6, pre-1.0."
11
11
/>
12
12
<linkrel="canonical" href="%SITE_URL%/" />
13
13
<metaname="robots" content="index, follow" />
@@ -52,7 +52,7 @@
52
52
<metaproperty="og:title" content="AnnotKit: native annotation for AI coding agents" />
53
53
<meta
54
54
property="og:description"
55
-
content="Click a view in your own macOS or iOS app, type a note, and hand your coding agent a selector it can trace back to code."
55
+
content="A Swift package for macOS and iOS apps. Click a view in your own dev build, type a note, and hand your coding agent a selector it can trace back to code."
Copy file name to clipboardExpand all lines: web/src/copy.ts
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,11 @@
20
20
exportconstmeta={
21
21
title: "AnnotKit: native annotation for AI coding agents",
22
22
description:
23
-
"Click a view in your own macOS or iOS app, type a note, and hand your coding agent a selector it can trace back to code. MIT, Swift 6, pre-1.0.",
23
+
"A Swift package for macOS and iOS apps. Click a view in your own dev build, type a note, and hand your coding agent a selector it can trace back to code. MIT, Swift 6, pre-1.0.",
24
24
}asconst;
25
25
26
26
exportconstmasthead={
27
-
dateline: "Native annotation for AI coding agents",
27
+
dateline: "A Swift package: native annotation for AI coding agents",
28
28
facts: ["macOS 15","iOS 17","Swift 6","MIT"],
29
29
wordmark: "AnnotKit",
30
30
/**
@@ -43,15 +43,15 @@ export const masthead = {
43
43
exportconsthero={
44
44
display: "Point at the view. Hand the agent the map.",
45
45
standfirst:
46
-
"AnnotKit mounts a floating toolbar in your dev build. Click a control, or draw a frame around a whole card, then type a note. It writes an agent-readable annotation: a stable selector, an element path, a screenshot, and your words. Your coding agent stops guessing.",
46
+
"AnnotKit is a Swift package that mounts a floating toolbar in the dev build of your macOS or iOS app. Click a control, or draw a frame around a whole card, then type a note. It writes an agent-readable annotation: a stable selector, an element path, the element’s role and text, and your words. Your coding agent stops guessing.",
47
47
ctaPrimary: "Read the README",
48
48
ctaSecondary: "Get release notes",
49
49
}asconst;
50
50
51
51
exportconstinstall={
52
52
number: "§01",
53
53
title: "Install",
54
-
lead: "Add the package. Mount the toolbar. Two lines, dev builds only.",
54
+
lead: "Add the Swift package. Mount the toolbar. Two lines, dev builds only.",
55
55
appKit: {
56
56
caption: "AppKit / SwiftUI on macOS",
57
57
code: `import AnnotKit
@@ -68,7 +68,7 @@ Annotation.install() // floating toolbar; click a view, type a note
68
68
#endif`,
69
69
},
70
70
sinkNote:
71
-
"`install()` defaults to the platform accessibility source and writes notes to `ANNOTKIT_NOTES.md`. Pass a different sink to override:",
71
+
"`install()` reads the accessibility tree on macOS and walks the view hierarchy on iOS, and writes notes to `ANNOTKIT_NOTES.md` in the working directory. Pass a different sink to override:",
lead: "Notes land in `ANNOTKIT_NOTES.md`, one markdown block per note, headed by the selector that located it. They can go to the clipboard instead, or out as JSON.",
102
+
/**
103
+
* Verbatim `AnnotationFormatter` output for a SEEDED button. Seeded on
104
+
* purpose: an unseeded target adds a 150-character `**Unseeded**` hint line,
105
+
* and the plate scrolls rather than wraps, so that one line would push the
106
+
* whole sample off the page.
107
+
*/
102
108
sample: {
103
109
caption: "The block `AnnotationFormatter` writes, one per note",
0 commit comments