Repository navigation
Expand file tree
/
Copy pathmanifest.json
More file actions
218 lines (218 loc) · 8.06 KB
/
Copy pathmanifest.json
File metadata and controls
218 lines (218 loc) · 8.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"schemaVersion": 1,
"examples": [
{
"id": "clojure-Connect",
"variant": "clojure",
"language": "clojure",
"description": "Connect to a private tmux server.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/connect.clj",
"mainNamespace": "libtmux.examples.api.connect",
"targets": [
"libtmux.core/open!",
"libtmux.core/snapshot!"
],
"expectedOutput": "connected=true\n",
"path": "src/main/clojure/libtmux/examples/api/connect.clj"
},
{
"id": "clojure-ListSessions",
"variant": "clojure",
"language": "clojure",
"description": "List sessions from one capture.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/list_sessions.clj",
"mainNamespace": "libtmux.examples.api.list-sessions",
"targets": [
"libtmux.core/sessions!"
],
"expectedOutput": "sessions=work-one,work-two\n",
"path": "src/main/clojure/libtmux/examples/api/list_sessions.clj"
},
{
"id": "clojure-ListWindows",
"variant": "clojure",
"language": "clojure",
"description": "Traverse root and session windows in one captured graph.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/list_windows.clj",
"mainNamespace": "libtmux.examples.api.list-windows",
"targets": [
"libtmux.core/snapshot!",
"libtmux.data/windows"
],
"expectedOutput": "windows=editor,editor,logs\nsession-windows=editor,logs\n",
"path": "src/main/clojure/libtmux/examples/api/list_windows.clj"
},
{
"id": "clojure-ListPanes",
"variant": "clojure",
"language": "clojure",
"description": "Traverse root, session, window and pane observations.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/list_panes.clj",
"mainNamespace": "libtmux.examples.api.list-panes",
"targets": [
"libtmux.core/snapshot!",
"libtmux.data/panes"
],
"expectedOutput": "panes=4\nwindow-panes=2\n",
"path": "src/main/clojure/libtmux/examples/api/list_panes.clj"
},
{
"id": "clojure-NewSession",
"variant": "clojure",
"language": "clojure",
"description": "Create a session running cat.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/new_session.clj",
"mainNamespace": "libtmux.examples.api.new-session",
"targets": [
"libtmux.core/new-session!"
],
"expectedOutput": "created=api-session\n",
"path": "src/main/clojure/libtmux/examples/api/new_session.clj"
},
{
"id": "clojure-NewWindow",
"variant": "clojure",
"language": "clojure",
"description": "Create a detached window and refresh its parent.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/new_window.clj",
"mainNamespace": "libtmux.examples.api.new-window",
"targets": [
"libtmux.core/new-window!",
"libtmux.core/refresh!"
],
"expectedOutput": "created=api-window\nwindows=api-window,editor,logs\n",
"path": "src/main/clojure/libtmux/examples/api/new_window.clj"
},
{
"id": "clojure-Query",
"variant": "clojure",
"language": "clojure",
"description": "Evaluate native and Java predicates over the same capture.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/query.clj",
"mainNamespace": "libtmux.examples.api.query",
"targets": [
"libtmux.data/matching",
"libtmux.data/exactly-one"
],
"expectedOutput": "matches=work-one\n",
"path": "src/main/clojure/libtmux/examples/api/query.clj"
},
{
"id": "clojure-Capture",
"variant": "clojure",
"language": "clojure",
"description": "Send literal shell input and wait for actual output before capture.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/capture.clj",
"mainNamespace": "libtmux.examples.api.capture",
"targets": [
"libtmux.core/send-literal!",
"libtmux.core/send-keys!",
"libtmux.core/await-text!",
"libtmux.core/capture!"
],
"expectedOutput": "api-keys\napi-line\n",
"path": "src/main/clojure/libtmux/examples/api/capture.clj"
},
{
"id": "clojure-Workspace",
"variant": "clojure",
"language": "clojure",
"description": "Build a split layout, rename a window and follow its moved placement.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/workspace.clj",
"mainNamespace": "libtmux.examples.api.workspace",
"targets": [
"libtmux.core/split-pane!",
"libtmux.core/apply-layout!",
"libtmux.core/rename!",
"libtmux.core/move-window!",
"libtmux.data/same-entity?",
"libtmux.data/same-link?"
],
"expectedOutput": "window=code panes=2\nsame-entity=true same-placement=false\n",
"path": "src/main/clojure/libtmux/examples/api/workspace.clj"
},
{
"id": "clojure-CaptureConcurrently",
"variant": "clojure",
"language": "clojure",
"description": "Capture with bounded workers and cancel an owned wait after cleanup.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/capture_concurrently.clj",
"mainNamespace": "libtmux.examples.api.capture-concurrently",
"targets": [
"libtmux.async/runtime!",
"libtmux.async/submit!",
"libtmux.async/cancel!",
"libtmux.core/capture!",
"libtmux.core/await-channel!"
],
"expectedOutput": "captured=3\ncancelled=true cleaned=true\n",
"path": "src/main/clojure/libtmux/examples/api/capture_concurrently.clj"
},
{
"id": "clojure-WatchPaneOutput",
"variant": "clojure",
"language": "clojure",
"description": "Read bounded UTF-8 output on an owned wait worker and inspect local termination.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/watch_pane_output.clj",
"mainNamespace": "libtmux.examples.api.watch-pane-output",
"targets": [
"libtmux.async/submit!",
"libtmux.control/attach!",
"libtmux.control/subscribe!",
"libtmux.control/next!",
"libtmux.control/terminal",
"libtmux.control/close!"
],
"expectedOutput": "observed=stream-ready\nclosed=true\n",
"path": "src/main/clojure/libtmux/examples/api/watch_pane_output.clj",
"requiresControl": true,
"unsupportedOutput": "requires tmux 3.7+\n"
},
{
"id": "clojure-RunACommand",
"variant": "clojure",
"language": "clojure",
"description": "Use a preserved Java Pane ref to read a command exit status and output.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/run_a_command.clj",
"mainNamespace": "libtmux.examples.api.run-a-command",
"targets": [
"libtmux.core/new-session!",
"libtmux.data/panes"
],
"expectedOutput": "exit=3 output=built\n",
"path": "src/main/clojure/libtmux/examples/api/run_a_command.clj"
},
{
"id": "clojure-ObserveWithAsync",
"variant": "clojure",
"language": "clojure",
"description": "Read bounded core.async events and stop without closing the borrowed connection.",
"sourceFile": "examples/src/main/clojure/libtmux/examples/api/observe_with_async.clj",
"mainNamespace": "libtmux.examples.api.observe-with-async",
"targets": [
"libtmux.core-async/observe!",
"libtmux.core-async/events",
"libtmux.core-async/terminal",
"libtmux.control/send!"
],
"expectedOutput": "observed=channel-ready\nadapter-stopped=true borrowed-open=true\n",
"path": "src/main/clojure/libtmux/examples/api/observe_with_async.clj",
"requiresControl": true,
"unsupportedOutput": "requires tmux 3.7+\n",
"cliAliases": [
"core-async"
]
}
],
"variants": {
"clojure": {
"files": [
{
"sourceFile": "examples/api/clojure/deps.edn",
"path": "deps.edn",
"language": "clojure"
}
]
}
}
}