@orchbee/cli-darwin-x64 0.0.0-stage → 0.1.0-beta.14
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/LICENSE +21 -0
- package/README.md +4 -2
- package/package.json +22 -5
- package/release/agent-observation-adapters/.agents/plugins/marketplace.json +12 -0
- package/release/agent-observation-adapters/.claude-plugin/marketplace.json +13 -0
- package/release/agent-observation-adapters/README.md +363 -0
- package/release/agent-observation-adapters/bundle/.claude-plugin/plugin.json +8 -0
- package/release/agent-observation-adapters/bundle/.codex-plugin/plugin.json +7 -0
- package/release/agent-observation-adapters/bundle/.grok-plugin/plugin.json +7 -0
- package/release/agent-observation-adapters/bundle/.plugin/plugin.json +7 -0
- package/release/agent-observation-adapters/bundle/cline/orchbee-agent-observation.js +187 -0
- package/release/agent-observation-adapters/bundle/gemini/gemini-extension.json +5 -0
- package/release/agent-observation-adapters/bundle/gemini/hooks/hooks.json +118 -0
- package/release/agent-observation-adapters/bundle/hermes/plugin.py +40 -0
- package/release/agent-observation-adapters/bundle/hooks/codex.json +142 -0
- package/release/agent-observation-adapters/bundle/hooks/copilot.json +114 -0
- package/release/agent-observation-adapters/bundle/hooks/grok.json +170 -0
- package/release/agent-observation-adapters/bundle/hooks/hooks.json +244 -0
- package/release/agent-observation-adapters/bundle/kilo/orchbee-agent-observation.mjs +3 -0
- package/release/agent-observation-adapters/bundle/omp/orchbee-agent-observation.cjs +4 -0
- package/release/agent-observation-adapters/bundle/omp/orchbee-agent-observation.mjs +117 -0
- package/release/agent-observation-adapters/bundle/opencode/orchbee-agent-observation.mjs +13 -0
- package/release/agent-observation-adapters/bundle/package.json +25 -0
- package/release/agent-observation-adapters/bundle/pi/orchbee-agent-observation.cjs +4 -0
- package/release/agent-observation-adapters/bundle/pi/orchbee-agent-observation.mjs +112 -0
- package/release/agent-observation-adapters/bundle/qwen-code/qwen-extension.json +232 -0
- package/release/agent-observation-adapters/bundle/scripts/forward-hook.mjs +33 -0
- package/release/agent-observation-adapters/bundle/scripts/hook-sanitizers.mjs +571 -0
- package/release/agent-observation-adapters/bundle/scripts/observation-transport.mjs +549 -0
- package/release/agent-observation-adapters/bundle/scripts/opencode-family-observation.mjs +350 -0
- package/release/agent-observation-adapters/capsule.json +4 -0
- package/release/cohort.json +1 -0
- package/release/orchbee +4 -0
- package/release/orchbee-desktop-launcher +0 -0
- package/release/orchbee-server +0 -0
- package/release/orchbee-terminal-host +0 -0
- package/release/orchbee-worker +0 -0
- package/release/release.json +1 -0
- package/release/release.json.sig +1 -0
- package/release/shell-integration/bash/orchbee.bash +153 -0
- package/release/shell-integration/zsh/.zshenv +27 -0
- package/release/shell-integration/zsh/orchbee.zsh +131 -0
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
import { forwardSanitizedObservation } from './observation-transport.mjs';
|
|
2
|
+
|
|
3
|
+
// Child sessions (subagent tasks) remembered so their events never read as root sessions.
|
|
4
|
+
export const OPENCODE_CHILD_SESSION_LIMIT = 256;
|
|
5
|
+
// Root sessions an OpenCode 2.x TUI left, remembered so a return never re-reports one.
|
|
6
|
+
export const OPENCODE_LEFT_SESSION_LIMIT = 256;
|
|
7
|
+
// How often the OpenCode 2.x TUI client reads the session it displays.
|
|
8
|
+
export const OPENCODE_CLIENT_POLL_MS = 1000;
|
|
9
|
+
|
|
10
|
+
// The plugin definition both loader generations accept once the installed
|
|
11
|
+
// bootstrap default-exports it. OpenCode 1.3.4+ and Kilo read `{ id, server }`
|
|
12
|
+
// and call `server`; OpenCode 2.x validates `{ id, setup }`. A 2.x plugin runs
|
|
13
|
+
// in a server process that never shares the Agent's console (a detached
|
|
14
|
+
// service, or a hidden child with its own console), so a private APC
|
|
15
|
+
// correlation cannot reach the Agent's terminal: setup registers nothing, and
|
|
16
|
+
// the client definition below observes 2.x instead.
|
|
17
|
+
export function openCodeFamilyPlugin(adapterId) {
|
|
18
|
+
return {
|
|
19
|
+
id: 'orchbee-agent-observation',
|
|
20
|
+
server: async () => createOpenCodeObservation(adapterId),
|
|
21
|
+
setup: async () => undefined,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// The OpenCode 2.x client definition. 2.x loads it twice from one plugin
|
|
26
|
+
// directory: as a server plugin, where setup does nothing, and as a TUI plugin
|
|
27
|
+
// in the TUI process, which owns the Agent's console, where setup reports the
|
|
28
|
+
// root session the TUI displays.
|
|
29
|
+
export function openCodeClientPlugin() {
|
|
30
|
+
return {
|
|
31
|
+
id: 'orchbee-agent-observation-tui',
|
|
32
|
+
setup: async (context) => createOpenCodeClientObservation(context),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Serial, bounded, best-effort delivery shared by every OpenCode-family owner.
|
|
37
|
+
// At 64 outstanding observations it stops admission until reload and discards
|
|
38
|
+
// the queued suffix; an in-flight send may finish.
|
|
39
|
+
function deliveryQueue(adapterId, send) {
|
|
40
|
+
const pending = [];
|
|
41
|
+
let running = false;
|
|
42
|
+
let stopped = false;
|
|
43
|
+
const stop = () => {
|
|
44
|
+
stopped = true;
|
|
45
|
+
pending.length = 0;
|
|
46
|
+
};
|
|
47
|
+
const drain = async () => {
|
|
48
|
+
running = true;
|
|
49
|
+
try {
|
|
50
|
+
while (!stopped && pending.length > 0) {
|
|
51
|
+
const next = pending.shift();
|
|
52
|
+
try {
|
|
53
|
+
await send(adapterId, next);
|
|
54
|
+
} catch {
|
|
55
|
+
// An observation failure must never reject the provider hook.
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
} finally {
|
|
59
|
+
running = false;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
return {
|
|
63
|
+
get stopped() {
|
|
64
|
+
return stopped;
|
|
65
|
+
},
|
|
66
|
+
push(normalized) {
|
|
67
|
+
if (stopped) return;
|
|
68
|
+
if (pending.length + Number(running) >= 64) {
|
|
69
|
+
stop();
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
pending.push(normalized);
|
|
73
|
+
if (!running) void drain();
|
|
74
|
+
},
|
|
75
|
+
stop,
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Both provider entries delegate normalization and bounded best-effort delivery
|
|
80
|
+
// to this owner. Only normalized observations are retained between callbacks.
|
|
81
|
+
export function createOpenCodeObservation(adapterId, { send = forwardSanitizedObservation } = {}) {
|
|
82
|
+
if (adapterId !== 'opencode' && adapterId !== 'kilo') throw new Error('Unknown adapter');
|
|
83
|
+
const queue = deliveryQueue(adapterId, send);
|
|
84
|
+
const childSessions = new Set();
|
|
85
|
+
const accept = (event) => {
|
|
86
|
+
if (queue.stopped) return;
|
|
87
|
+
const normalized = sanitizeOpenCodeFamilyEvent(adapterId, event);
|
|
88
|
+
if (normalized === null || childSessions.has(normalized.sessionKey)) return;
|
|
89
|
+
queue.push(normalized);
|
|
90
|
+
};
|
|
91
|
+
return {
|
|
92
|
+
event: async (input) => {
|
|
93
|
+
const event = isRecord(input) ? input.event : null;
|
|
94
|
+
rememberChildSession(childSessions, event);
|
|
95
|
+
accept(event);
|
|
96
|
+
},
|
|
97
|
+
'chat.message': async (input) => accept({ type: 'chat.message', properties: input }),
|
|
98
|
+
'tool.execute.before': async (input) =>
|
|
99
|
+
accept({ type: 'tool.execute.before', properties: input }),
|
|
100
|
+
'tool.execute.after': async (input) =>
|
|
101
|
+
accept({ type: 'tool.execute.after', properties: input }),
|
|
102
|
+
dispose: async () => queue.stop(),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// A child is a created or updated session whose info names a parent. The set
|
|
107
|
+
// is first-in, first-out; a child it never saw stays a second root candidate.
|
|
108
|
+
function rememberChildSession(childSessions, event) {
|
|
109
|
+
if (!isRecord(event) || (event.type !== 'session.created' && event.type !== 'session.updated')) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
const info = isRecord(event.properties) ? event.properties.info : null;
|
|
113
|
+
if (!isRecord(info) || !hasParent(info)) return;
|
|
114
|
+
const childId = identity(info.id);
|
|
115
|
+
if (childId === null || childSessions.has(childId)) return;
|
|
116
|
+
remember(childSessions, childId, OPENCODE_CHILD_SESSION_LIMIT);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// The OpenCode 2.x TUI shares one session service with every other OpenCode
|
|
120
|
+
// client, so its events cover sessions other Panels show. The client reports
|
|
121
|
+
// only the root session its own route displays, read from the TUI plugin
|
|
122
|
+
// context (`ui.router`, `data.session`) once at setup and then on a timer:
|
|
123
|
+
//
|
|
124
|
+
// - a newly displayed root ends the root reported before it and starts itself;
|
|
125
|
+
// - returning to a root it left ends the current one and reports nothing, since
|
|
126
|
+
// the Server never reopens an ended session;
|
|
127
|
+
// - home, a plugin page or a session whose info has not loaded changes nothing;
|
|
128
|
+
// - busy and idle follow the displayed root's status.
|
|
129
|
+
//
|
|
130
|
+
// At most one root is live per TUI, so the Panel's resume reference is exact or
|
|
131
|
+
// absent. Any other context, such as the server's, registers nothing.
|
|
132
|
+
export function createOpenCodeClientObservation(
|
|
133
|
+
context,
|
|
134
|
+
{ send = forwardSanitizedObservation, schedule = setInterval, unschedule = clearInterval } = {},
|
|
135
|
+
) {
|
|
136
|
+
if (!isClientContext(context)) return undefined;
|
|
137
|
+
const queue = deliveryQueue('opencode', send);
|
|
138
|
+
const left = new Set();
|
|
139
|
+
let shown = null;
|
|
140
|
+
let busy = false;
|
|
141
|
+
const tick = () => {
|
|
142
|
+
if (queue.stopped) return;
|
|
143
|
+
let root;
|
|
144
|
+
let running;
|
|
145
|
+
try {
|
|
146
|
+
root = displayedRoot(context);
|
|
147
|
+
if (root !== null && root !== shown) {
|
|
148
|
+
if (shown !== null) {
|
|
149
|
+
queue.push(observation(shown, 'session-ended'));
|
|
150
|
+
remember(left, shown, OPENCODE_LEFT_SESSION_LIMIT);
|
|
151
|
+
}
|
|
152
|
+
shown = left.has(root) ? null : root;
|
|
153
|
+
busy = false;
|
|
154
|
+
if (shown !== null) queue.push(observation(shown, 'session-started'));
|
|
155
|
+
}
|
|
156
|
+
if (shown === null) return;
|
|
157
|
+
running = context.data.session.status(shown) === 'running';
|
|
158
|
+
} catch {
|
|
159
|
+
// An unreadable TUI state reports nothing.
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
if (running === busy) return;
|
|
163
|
+
busy = running;
|
|
164
|
+
queue.push(
|
|
165
|
+
running
|
|
166
|
+
? observation(shown, 'turn-started', { activity: 'thinking' })
|
|
167
|
+
: observation(shown, 'session-idle'),
|
|
168
|
+
);
|
|
169
|
+
};
|
|
170
|
+
tick();
|
|
171
|
+
const timer = schedule(tick, OPENCODE_CLIENT_POLL_MS);
|
|
172
|
+
timer?.unref?.();
|
|
173
|
+
return () => {
|
|
174
|
+
unschedule(timer);
|
|
175
|
+
queue.stop();
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
function isClientContext(context) {
|
|
180
|
+
return (
|
|
181
|
+
isRecord(context) &&
|
|
182
|
+
isRecord(context.ui) &&
|
|
183
|
+
isRecord(context.ui.router) &&
|
|
184
|
+
typeof context.ui.router.current === 'function' &&
|
|
185
|
+
isRecord(context.data) &&
|
|
186
|
+
isRecord(context.data.session) &&
|
|
187
|
+
typeof context.data.session.get === 'function' &&
|
|
188
|
+
typeof context.data.session.root === 'function' &&
|
|
189
|
+
typeof context.data.session.status === 'function'
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// The root of the session the route displays, once its info and its root's
|
|
194
|
+
// info have loaded; `null` otherwise.
|
|
195
|
+
function displayedRoot(context) {
|
|
196
|
+
const route = context.ui.router.current();
|
|
197
|
+
if (!isRecord(route) || route.type !== 'session') return null;
|
|
198
|
+
const id = identity(route.sessionID);
|
|
199
|
+
if (id === null) return null;
|
|
200
|
+
const info = context.data.session.get(id);
|
|
201
|
+
if (!isRecord(info)) return null;
|
|
202
|
+
const rootId = hasParent(info) ? identity(context.data.session.root(id)) : id;
|
|
203
|
+
if (rootId === null) return null;
|
|
204
|
+
const root = rootId === id ? info : context.data.session.get(rootId);
|
|
205
|
+
if (!isRecord(root) || root.id !== rootId || hasParent(root)) return null;
|
|
206
|
+
return rootId;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
function hasParent(info) {
|
|
210
|
+
return typeof info.parentID === 'string' && info.parentID !== '';
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// A first-in, first-out bounded set.
|
|
214
|
+
function remember(set, value, limit) {
|
|
215
|
+
if (set.has(value)) return;
|
|
216
|
+
if (set.size >= limit) set.delete(set.values().next().value);
|
|
217
|
+
set.add(value);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
function sessionIdentity(properties, event) {
|
|
221
|
+
if (event !== 'session.created' && event !== 'session.deleted')
|
|
222
|
+
return identity(properties.sessionID);
|
|
223
|
+
const direct = properties.sessionID === undefined ? null : identity(properties.sessionID);
|
|
224
|
+
if (properties.sessionID !== undefined && direct === null) return null;
|
|
225
|
+
if (properties.info === undefined) return direct;
|
|
226
|
+
if (!isRecord(properties.info)) return null;
|
|
227
|
+
const nested = identity(properties.info.id);
|
|
228
|
+
if (nested === null || (direct !== null && direct !== nested)) return null;
|
|
229
|
+
return nested;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
function statusObservation(adapterId, sessionKey, status) {
|
|
233
|
+
if (adapterId === 'kilo' && typeof status === 'string') {
|
|
234
|
+
if (status === 'idle') return observation(sessionKey, 'session-idle');
|
|
235
|
+
if (['active', 'busy', 'pending', 'running', 'streaming', 'working'].includes(status)) {
|
|
236
|
+
return observation(sessionKey, 'turn-started', { activity: 'thinking' });
|
|
237
|
+
}
|
|
238
|
+
return null;
|
|
239
|
+
}
|
|
240
|
+
if (!isRecord(status)) return null;
|
|
241
|
+
switch (status.type) {
|
|
242
|
+
case 'busy':
|
|
243
|
+
return observation(sessionKey, 'turn-started', { activity: 'thinking' });
|
|
244
|
+
case 'retry':
|
|
245
|
+
return observation(sessionKey, 'tool-started', { activity: 'retrying' });
|
|
246
|
+
case 'idle':
|
|
247
|
+
return observation(sessionKey, 'session-idle');
|
|
248
|
+
case 'offline': {
|
|
249
|
+
const operationKey = identity(status.requestID);
|
|
250
|
+
return adapterId === 'kilo' && operationKey !== null
|
|
251
|
+
? observation(sessionKey, 'question-requested', { operationKey })
|
|
252
|
+
: null;
|
|
253
|
+
}
|
|
254
|
+
default:
|
|
255
|
+
return null;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export function sanitizeOpenCodeFamilyEvent(adapterId, value) {
|
|
260
|
+
if (!isRecord(value) || typeof value.type !== 'string' || !isRecord(value.properties)) {
|
|
261
|
+
return null;
|
|
262
|
+
}
|
|
263
|
+
const properties = value.properties;
|
|
264
|
+
const event = value.type;
|
|
265
|
+
const sessionKey = sessionIdentity(properties, event);
|
|
266
|
+
if (sessionKey === null) return null;
|
|
267
|
+
|
|
268
|
+
switch (event) {
|
|
269
|
+
case 'session.created':
|
|
270
|
+
return observation(sessionKey, 'session-started');
|
|
271
|
+
case 'session.deleted':
|
|
272
|
+
return observation(sessionKey, 'session-ended');
|
|
273
|
+
case 'session.status':
|
|
274
|
+
return statusObservation(adapterId, sessionKey, properties.status);
|
|
275
|
+
case 'chat.message':
|
|
276
|
+
return observation(sessionKey, 'turn-started', { activity: 'thinking' });
|
|
277
|
+
case 'session.idle':
|
|
278
|
+
return observation(sessionKey, 'session-idle');
|
|
279
|
+
case 'session.error':
|
|
280
|
+
return observation(sessionKey, 'turn-failed');
|
|
281
|
+
case 'question.asked':
|
|
282
|
+
case 'question.v2.asked':
|
|
283
|
+
return observation(sessionKey, 'question-requested', {
|
|
284
|
+
operationKey: identity(properties.id),
|
|
285
|
+
});
|
|
286
|
+
case 'question.replied':
|
|
287
|
+
case 'question.rejected':
|
|
288
|
+
case 'question.v2.replied':
|
|
289
|
+
case 'question.v2.rejected':
|
|
290
|
+
return observation(sessionKey, 'attention-resolved', {
|
|
291
|
+
operationKey: identity(properties.requestID),
|
|
292
|
+
});
|
|
293
|
+
case 'permission.asked':
|
|
294
|
+
case 'permission.v2.asked':
|
|
295
|
+
return observation(sessionKey, 'approval-requested', {
|
|
296
|
+
operationKey: identity(properties.id),
|
|
297
|
+
});
|
|
298
|
+
case 'permission.replied':
|
|
299
|
+
case 'permission.v2.replied':
|
|
300
|
+
return observation(sessionKey, 'attention-resolved', {
|
|
301
|
+
operationKey: identity(properties.requestID),
|
|
302
|
+
});
|
|
303
|
+
case 'tool.execute.before':
|
|
304
|
+
case 'session.next.tool.called':
|
|
305
|
+
return observation(sessionKey, 'tool-started', {
|
|
306
|
+
activity: openCodeToolActivity(properties.tool),
|
|
307
|
+
operationKey: identity(properties.callID),
|
|
308
|
+
});
|
|
309
|
+
case 'tool.execute.after':
|
|
310
|
+
case 'session.next.tool.success':
|
|
311
|
+
return observation(sessionKey, 'tool-finished', {
|
|
312
|
+
operationKey: identity(properties.callID),
|
|
313
|
+
});
|
|
314
|
+
case 'session.next.tool.failed':
|
|
315
|
+
return observation(sessionKey, 'tool-failed', {
|
|
316
|
+
operationKey: identity(properties.callID),
|
|
317
|
+
});
|
|
318
|
+
case 'session.next.retried':
|
|
319
|
+
return observation(sessionKey, 'tool-started', { activity: 'retrying' });
|
|
320
|
+
default:
|
|
321
|
+
return null;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
function openCodeToolActivity(toolName) {
|
|
326
|
+
if (toolName === 'bash' || toolName === 'shell') return 'command';
|
|
327
|
+
if (toolName === 'edit' || toolName === 'write' || toolName === 'apply_patch') return 'editing';
|
|
328
|
+
if (toolName === 'task' || toolName === 'agent') return 'subagent';
|
|
329
|
+
return 'tool';
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
function observation(sessionKey, event, fields = {}) {
|
|
333
|
+
return {
|
|
334
|
+
activity: fields.activity ?? null,
|
|
335
|
+
agentKey: null,
|
|
336
|
+
event,
|
|
337
|
+
operationKey: fields.operationKey ?? null,
|
|
338
|
+
sessionKey,
|
|
339
|
+
turnKey: null,
|
|
340
|
+
version: 1,
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
function identity(value) {
|
|
345
|
+
return typeof value === 'string' && /^[A-Za-z0-9._:-]{1,128}$/u.test(value) ? value : null;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
function isRecord(value) {
|
|
349
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
350
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"schemaVersion":1,"artifacts":{"orchbee":"7ef4bddc754b2c8549ec3ef8dc26677a0fb54f8b1584a883f9fe46a1dbb38f4a","orchbee-server":"0cd366354c24fb8f7507883ad969d7aba347cc9f433f9a7713fd7e1e1dff3b9d","orchbee-worker":"cc12422da22b08069c77d4c96e2445c43270aed40b07f3e4d86bdf5a44ef1a59","orchbee-terminal-host":"81dc7b32d725d43a5bd743fd096e04b3ae5a2738957559a73d54950b3b9918f9","agent-observation-adapters":"9d52409117ee2801382f25d95c364cda81437f32d5a27fdb78d343dcc3d42be2"}}
|
package/release/orchbee
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"schemaVersion":2,"product":"orchbee","channel":"stable","platform":"macos-x86_64","version":"0.1.0-beta.14","buildId":"f6e9c3d24139c7f3d7ae93c4352c8a9f91097d66.39","files":[{"path":"agent-observation-adapters/.agents/plugins/marketplace.json","url":"agent-observation-adapters/.agents/plugins/marketplace.json","sha256":"0fd3aafcdee814a028e895d61297d5fc5863f369f46dd4639e635eebdcbfb8cc","size":278},{"path":"agent-observation-adapters/.claude-plugin/marketplace.json","url":"agent-observation-adapters/.claude-plugin/marketplace.json","sha256":"0a1df19271dd482dfe38b2ce99104cee7783cc5c195f41da83bb5e9373e0f364","size":370},{"path":"agent-observation-adapters/README.md","url":"agent-observation-adapters/README.md","sha256":"131ecffcfe3db3be76cc416074e5b6705a4755983baef4373043135db46a68de","size":32927},{"path":"agent-observation-adapters/bundle/.claude-plugin/plugin.json","url":"agent-observation-adapters/bundle/.claude-plugin/plugin.json","sha256":"47d654350115a717aa14ff62d706b25e6fe7d61181da152a9add44513e567f04","size":270},{"path":"agent-observation-adapters/bundle/.codex-plugin/plugin.json","url":"agent-observation-adapters/bundle/.codex-plugin/plugin.json","sha256":"e22c970383153be5bc2973e7aaa6a57a35c0476777b8ab939b85785f15f73159","size":225},{"path":"agent-observation-adapters/bundle/.grok-plugin/plugin.json","url":"agent-observation-adapters/bundle/.grok-plugin/plugin.json","sha256":"c4eb1211983214e48912af073eae326dc8dc83b6b9a540d5acf18b0e1c62e071","size":223},{"path":"agent-observation-adapters/bundle/.plugin/plugin.json","url":"agent-observation-adapters/bundle/.plugin/plugin.json","sha256":"8a9cb673dfb95cf44f469aee7aca28f4dddd7133a581daec24eb908de7b14dd9","size":240},{"path":"agent-observation-adapters/bundle/cline/orchbee-agent-observation.js","url":"agent-observation-adapters/bundle/cline/orchbee-agent-observation.js","sha256":"05aa6b3bb1ebd3246e352b67bf947f630826cb0a788a503589324fe7f623751d","size":6377},{"path":"agent-observation-adapters/bundle/gemini/gemini-extension.json","url":"agent-observation-adapters/bundle/gemini/gemini-extension.json","sha256":"650de019da68411a568a3c47e4354b596b905998a9e41cf829174c44aace7fd0","size":164},{"path":"agent-observation-adapters/bundle/gemini/hooks/hooks.json","url":"agent-observation-adapters/bundle/gemini/hooks/hooks.json","sha256":"2aa275323aeed0da3ddb1cb62ee6510376e7ab973e7dbd06596777e155b0adcb","size":5609},{"path":"agent-observation-adapters/bundle/hermes/plugin.py","url":"agent-observation-adapters/bundle/hermes/plugin.py","sha256":"59565d0035f622a69680b35f6a35a454b546b4571930204abd00a17c1f50de9a","size":1348},{"path":"agent-observation-adapters/bundle/hooks/codex.json","url":"agent-observation-adapters/bundle/hooks/codex.json","sha256":"ea1a9e324b7a5771995e25ac1087e7e79c82aff990a38f25216d8c3c621507ee","size":10285},{"path":"agent-observation-adapters/bundle/hooks/copilot.json","url":"agent-observation-adapters/bundle/hooks/copilot.json","sha256":"4aae5faa249656518c0da0fc06dc684559f38aedcdc3d2e9ec4e70bd4371180c","size":4433},{"path":"agent-observation-adapters/bundle/hooks/grok.json","url":"agent-observation-adapters/bundle/hooks/grok.json","sha256":"35b90636c3fd929780c7972aea48aab5e6cc8cd0bd4864c0a73bbb52c8f37d82","size":8809},{"path":"agent-observation-adapters/bundle/hooks/hooks.json","url":"agent-observation-adapters/bundle/hooks/hooks.json","sha256":"b670822111a0aabc123c7f609b541114e58fdeaa762e11a68a199d6b4be34114","size":5207},{"path":"agent-observation-adapters/bundle/kilo/orchbee-agent-observation.mjs","url":"agent-observation-adapters/bundle/kilo/orchbee-agent-observation.mjs","sha256":"81e75af9d24aef71109670603ca6a0475fabaf3ded510b0c22d9a1ce6f6bd88d","size":159},{"path":"agent-observation-adapters/bundle/omp/orchbee-agent-observation.cjs","url":"agent-observation-adapters/bundle/omp/orchbee-agent-observation.cjs","sha256":"de6f72b306239df538b7d63c9d40184b7b091087042a6b6485d3bdcd0385d08f","size":181},{"path":"agent-observation-adapters/bundle/omp/orchbee-agent-observation.mjs","url":"agent-observation-adapters/bundle/omp/orchbee-agent-observation.mjs","sha256":"678478a840772d4e764e8c90607fc496ae3cd1591290a7fafa0e9ba295d0d9c7","size":4318},{"path":"agent-observation-adapters/bundle/opencode/orchbee-agent-observation.mjs","url":"agent-observation-adapters/bundle/opencode/orchbee-agent-observation.mjs","sha256":"d29e3158d73b0602fd9b2176807f8927f41b4a61ea67d448eecc09781b855e2c","size":400},{"path":"agent-observation-adapters/bundle/package.json","url":"agent-observation-adapters/bundle/package.json","sha256":"8327a46e74b383cf1089def107f867ec7da8bfbc0b82610e704ca9b6466a053d","size":470},{"path":"agent-observation-adapters/bundle/pi/orchbee-agent-observation.cjs","url":"agent-observation-adapters/bundle/pi/orchbee-agent-observation.cjs","sha256":"c4dec77210ea04be82742cc089fbc4547c3be4f8176c72725ace5a814bc37f91","size":179},{"path":"agent-observation-adapters/bundle/pi/orchbee-agent-observation.mjs","url":"agent-observation-adapters/bundle/pi/orchbee-agent-observation.mjs","sha256":"5ddb95463de3f83e669b88076a4048d5f748392691ae296fdf3147c896b9a87c","size":3997},{"path":"agent-observation-adapters/bundle/qwen-code/qwen-extension.json","url":"agent-observation-adapters/bundle/qwen-code/qwen-extension.json","sha256":"2061aef50fee04bfa510dd29a94b878ed13ad78ea2c419694972462dafc8bded","size":11061},{"path":"agent-observation-adapters/bundle/scripts/forward-hook.mjs","url":"agent-observation-adapters/bundle/scripts/forward-hook.mjs","sha256":"dc1b8abdd7a03c9e6e98f4cc82bb6d0358df32cb54c1808c904f17d83b40f236","size":917},{"path":"agent-observation-adapters/bundle/scripts/hook-sanitizers.mjs","url":"agent-observation-adapters/bundle/scripts/hook-sanitizers.mjs","sha256":"bb73198634a20e101c80898269a6d6a5f51bcfa8b75a05160d527ee4e5653ef6","size":19759},{"path":"agent-observation-adapters/bundle/scripts/observation-transport.mjs","url":"agent-observation-adapters/bundle/scripts/observation-transport.mjs","sha256":"3d9830f6bc8071757cf546b370adc668decc98b1772b9039205abcf9d21b8374","size":18003},{"path":"agent-observation-adapters/bundle/scripts/opencode-family-observation.mjs","url":"agent-observation-adapters/bundle/scripts/opencode-family-observation.mjs","sha256":"2f0ae3166173e17fd434b22fa8cac5fb17af302bcb0a6e97bdb8261d3a3cea22","size":12314},{"path":"agent-observation-adapters/capsule.json","url":"agent-observation-adapters/capsule.json","sha256":"5a317d8e7cac129cf5d0bfe2d1c69024ae332c9e0bd38c2cc7bb74d1a0946dc1","size":112},{"path":"cohort.json","url":"cohort.json","sha256":"c63ac39d50bb4aeb8be880309420878d7fd7329c0151fece693326528d7759c9","size":466},{"path":"orchbee","url":"orchbee","sha256":"7ef4bddc754b2c8549ec3ef8dc26677a0fb54f8b1584a883f9fe46a1dbb38f4a","size":40851908},{"path":"orchbee-desktop-launcher","url":"orchbee-desktop-launcher","sha256":"61a1276eaa9444a8a0b266ed295d3e74c7f28d746262dea586779be218092633","size":623656},{"path":"orchbee-server","url":"orchbee-server","sha256":"0cd366354c24fb8f7507883ad969d7aba347cc9f433f9a7713fd7e1e1dff3b9d","size":26496908},{"path":"orchbee-terminal-host","url":"orchbee-terminal-host","sha256":"81dc7b32d725d43a5bd743fd096e04b3ae5a2738957559a73d54950b3b9918f9","size":3707277},{"path":"orchbee-worker","url":"orchbee-worker","sha256":"cc12422da22b08069c77d4c96e2445c43270aed40b07f3e4d86bdf5a44ef1a59","size":5372152},{"path":"shell-integration/bash/orchbee.bash","url":"shell-integration/bash/orchbee.bash","sha256":"fdbc6bff5002c2f34ac1fba8d145a1d32be53aa19a0a54604a1931853ce1eb81","size":5090},{"path":"shell-integration/zsh/.zshenv","url":"shell-integration/zsh/.zshenv","sha256":"09c8fcbc67d1c074e082ebe787a8d93940c3c56b0a5f76e8475b4aa22535e2ce","size":1124},{"path":"shell-integration/zsh/orchbee.zsh","url":"shell-integration/zsh/orchbee.zsh","sha256":"f1ac947f46db26e66989e884db2d8b97dad58665da44cc90a7eb4a9b18186636","size":4789}],"components":[{"id":"client","version":"0.1.0-beta.14","files":["orchbee"],"connections":{"client-server":{"generations":{"lowest":1,"highest":1}},"machine-hub":{"generations":{"lowest":1,"highest":1}},"machine-link":{"generations":{"lowest":1,"highest":1}},"obkg":{"generations":{"lowest":1,"highest":1}},"obpb":{"generations":{"lowest":1,"highest":1}},"obrw":{"generations":{"lowest":1,"highest":1}},"obtf":{"generations":{"lowest":1,"highest":1}},"machine-route":{"generations":{"lowest":1,"highest":1}}}},{"id":"server","version":"0.1.0-beta.14","files":["orchbee-server"],"connections":{"client-server":{"generations":{"lowest":1,"highest":1}},"agent-hook":{"generations":{"lowest":1,"highest":1}}}},{"id":"worker","version":"0.1.0-beta.14","files":["orchbee-worker"],"connections":{"worker-host":{"generations":{"lowest":1,"highest":1}},"obkg":{"generations":{"lowest":1,"highest":1}},"obpb":{"generations":{"lowest":1,"highest":1}},"obrw":{"generations":{"lowest":1,"highest":1}},"obtf":{"generations":{"lowest":1,"highest":1}}}},{"id":"terminal-host","version":"0.1.0-beta.14","files":["orchbee-terminal-host","shell-integration/bash/orchbee.bash","shell-integration/zsh/.zshenv","shell-integration/zsh/orchbee.zsh"],"connections":{"worker-host":{"generations":{"lowest":1,"highest":1}},"obkg":{"generations":{"lowest":1,"highest":1}},"obpb":{"generations":{"lowest":1,"highest":1}},"obrw":{"generations":{"lowest":1,"highest":1}},"obtf":{"generations":{"lowest":1,"highest":1}}}},{"id":"agent-observation-capsule","version":"0.1.0-beta.14","files":["agent-observation-adapters/.agents/plugins/marketplace.json","agent-observation-adapters/.claude-plugin/marketplace.json","agent-observation-adapters/README.md","agent-observation-adapters/bundle/.claude-plugin/plugin.json","agent-observation-adapters/bundle/.codex-plugin/plugin.json","agent-observation-adapters/bundle/.grok-plugin/plugin.json","agent-observation-adapters/bundle/.plugin/plugin.json","agent-observation-adapters/bundle/cline/orchbee-agent-observation.js","agent-observation-adapters/bundle/gemini/gemini-extension.json","agent-observation-adapters/bundle/gemini/hooks/hooks.json","agent-observation-adapters/bundle/hermes/plugin.py","agent-observation-adapters/bundle/hooks/codex.json","agent-observation-adapters/bundle/hooks/copilot.json","agent-observation-adapters/bundle/hooks/grok.json","agent-observation-adapters/bundle/hooks/hooks.json","agent-observation-adapters/bundle/kilo/orchbee-agent-observation.mjs","agent-observation-adapters/bundle/omp/orchbee-agent-observation.cjs","agent-observation-adapters/bundle/omp/orchbee-agent-observation.mjs","agent-observation-adapters/bundle/opencode/orchbee-agent-observation.mjs","agent-observation-adapters/bundle/package.json","agent-observation-adapters/bundle/pi/orchbee-agent-observation.cjs","agent-observation-adapters/bundle/pi/orchbee-agent-observation.mjs","agent-observation-adapters/bundle/qwen-code/qwen-extension.json","agent-observation-adapters/bundle/scripts/forward-hook.mjs","agent-observation-adapters/bundle/scripts/hook-sanitizers.mjs","agent-observation-adapters/bundle/scripts/observation-transport.mjs","agent-observation-adapters/bundle/scripts/opencode-family-observation.mjs","agent-observation-adapters/capsule.json"],"connections":{"agent-hook":{"generations":{"lowest":1,"highest":1}}}}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"signatures":[{"keyId":"bb4defa597ab036b","algorithm":"ed25519","signature":"xzMCyF682k4/+kyP/HuLrWz6i363imnF3uhmruMWfaQdaJjrzGjeYmwxWo3vNcX+RPz7AkSL42jA8PuI5FVADg=="}]}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# Orchbee's managed bash startup. The Terminal Host starts an interactive bash with --rcfile naming
|
|
2
|
+
# this file instead of a login shell's -l, and sets ORCHBEE_BASH_LOGIN when the launch asked for a
|
|
3
|
+
# login shell. This file reads the person's startup files in the order bash itself would have, then
|
|
4
|
+
# adds Orchbee's prompt and command marks. It runs in bash 3.2, as macOS ships it. No startup file
|
|
5
|
+
# of the person's is ever written. The marks use the managed PowerShell's private grammar:
|
|
6
|
+
# before each prompt: APC ready, then the prompt ends with OSC 133 P and OSC 133 B;
|
|
7
|
+
# when a line runs: OSC 133 C, then APC start;<token> once ORCHBEE_RUN_TOKEN holds it;
|
|
8
|
+
# at the next prompt: OSC 133 D;<status>, APC finish;<token>;<status>, and the token unset.
|
|
9
|
+
# A line Orchbee submits starts with ": orchbee-run:<32 hex digits>; ", a no-op that names its
|
|
10
|
+
# token; that line is removed from the history. The Agent start the launch carried runs once,
|
|
11
|
+
# before the first prompt, after every startup file and every other prompt command.
|
|
12
|
+
# Emulating a login shell keeps everything a login shell reads, but bash itself is not one:
|
|
13
|
+
# `shopt login_shell` is off, `logout` refuses, and ~/.bash_logout does not run.
|
|
14
|
+
|
|
15
|
+
__orchbee_start=${ORCHBEE_AGENT_START-}
|
|
16
|
+
builtin unset ORCHBEE_AGENT_START
|
|
17
|
+
if [ -n "${ORCHBEE_BASH_LOGIN+set}" ]; then
|
|
18
|
+
builtin unset ORCHBEE_BASH_LOGIN
|
|
19
|
+
if [ -r /etc/profile ]; then
|
|
20
|
+
builtin . /etc/profile
|
|
21
|
+
fi
|
|
22
|
+
if [ -r "$HOME/.bash_profile" ]; then
|
|
23
|
+
builtin . "$HOME/.bash_profile"
|
|
24
|
+
elif [ -r "$HOME/.bash_login" ]; then
|
|
25
|
+
builtin . "$HOME/.bash_login"
|
|
26
|
+
elif [ -r "$HOME/.profile" ]; then
|
|
27
|
+
builtin . "$HOME/.profile"
|
|
28
|
+
fi
|
|
29
|
+
elif [ -r "$HOME/.bashrc" ]; then
|
|
30
|
+
builtin . "$HOME/.bashrc"
|
|
31
|
+
fi
|
|
32
|
+
|
|
33
|
+
__orchbee_mint() {
|
|
34
|
+
__orchbee_count=$((__orchbee_count + 1))
|
|
35
|
+
builtin printf -v __orchbee_id '%s%08x' "$__orchbee_seed" "$__orchbee_count"
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
__orchbee_precmd() {
|
|
39
|
+
local code=$?
|
|
40
|
+
if [ -n "$__orchbee_run" ]; then
|
|
41
|
+
builtin printf '\033]133;D;%s\007\033_orchbee.command.v1;finish;%s;%s\033\\' "$code" "$__orchbee_run" "$code"
|
|
42
|
+
__orchbee_run=
|
|
43
|
+
builtin unset ORCHBEE_RUN_TOKEN
|
|
44
|
+
fi
|
|
45
|
+
return $code
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
# The last prompt command: it marks the prompt the person's prompt commands left, runs the Agent
|
|
49
|
+
# start once, and arms the command mark for the next line.
|
|
50
|
+
__orchbee_prompt() {
|
|
51
|
+
local code=$?
|
|
52
|
+
case $PS1 in
|
|
53
|
+
*"$__orchbee_ps1") ;;
|
|
54
|
+
*) PS1=$PS1$__orchbee_ps1 ;;
|
|
55
|
+
esac
|
|
56
|
+
if [ -n "$__orchbee_start" ]; then
|
|
57
|
+
local line=$__orchbee_start
|
|
58
|
+
__orchbee_start=
|
|
59
|
+
__orchbee_mint
|
|
60
|
+
builtin export ORCHBEE_RUN_TOKEN=$__orchbee_id
|
|
61
|
+
builtin printf '\033_orchbee.command.v1;start;%s\033\\' "$__orchbee_id"
|
|
62
|
+
builtin eval "$line"
|
|
63
|
+
builtin printf '\033_orchbee.command.v1;finish;%s;%s\033\\' "$__orchbee_id" "$?"
|
|
64
|
+
builtin unset ORCHBEE_RUN_TOKEN
|
|
65
|
+
fi
|
|
66
|
+
builtin printf '\033_orchbee.command.v1;ready\033\\'
|
|
67
|
+
__orchbee_armed=1
|
|
68
|
+
return $code
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
# The DEBUG trap: the first command of a line that runs marks it. A blank line runs only prompt
|
|
72
|
+
# commands, which never count.
|
|
73
|
+
__orchbee_preexec() {
|
|
74
|
+
if [ -z "$__orchbee_armed" ] || [ -n "${COMP_LINE-}" ]; then
|
|
75
|
+
return 0
|
|
76
|
+
fi
|
|
77
|
+
case $BASH_COMMAND in
|
|
78
|
+
__orchbee_* | __bp_*)
|
|
79
|
+
__orchbee_armed=
|
|
80
|
+
return 0
|
|
81
|
+
;;
|
|
82
|
+
esac
|
|
83
|
+
case "
|
|
84
|
+
${PROMPT_COMMAND//;/
|
|
85
|
+
}
|
|
86
|
+
" in
|
|
87
|
+
*"
|
|
88
|
+
$BASH_COMMAND
|
|
89
|
+
"*)
|
|
90
|
+
__orchbee_armed=
|
|
91
|
+
return 0
|
|
92
|
+
;;
|
|
93
|
+
esac
|
|
94
|
+
__orchbee_armed=
|
|
95
|
+
local id=
|
|
96
|
+
case $BASH_COMMAND in
|
|
97
|
+
": orchbee-run:"*)
|
|
98
|
+
id=${BASH_COMMAND#": orchbee-run:"}
|
|
99
|
+
case $id in
|
|
100
|
+
*[!0-9a-f]*) id= ;;
|
|
101
|
+
esac
|
|
102
|
+
if [ ${#id} -ne 32 ]; then
|
|
103
|
+
id=
|
|
104
|
+
elif [[ -o history ]]; then
|
|
105
|
+
local entry number
|
|
106
|
+
entry=$(HISTTIMEFORMAT= builtin history 1)
|
|
107
|
+
entry=${entry#"${entry%%[! ]*}"}
|
|
108
|
+
number=${entry%% *}
|
|
109
|
+
entry=${entry#"$number"}
|
|
110
|
+
entry=${entry#"${entry%%[! ]*}"}
|
|
111
|
+
case $entry in
|
|
112
|
+
": orchbee-run:$id; "*) builtin history -d "$number" ;;
|
|
113
|
+
esac
|
|
114
|
+
fi
|
|
115
|
+
;;
|
|
116
|
+
esac
|
|
117
|
+
if [ -z "$id" ]; then
|
|
118
|
+
__orchbee_mint
|
|
119
|
+
id=$__orchbee_id
|
|
120
|
+
fi
|
|
121
|
+
__orchbee_run=$id
|
|
122
|
+
builtin export ORCHBEE_RUN_TOKEN=$id
|
|
123
|
+
builtin printf '\033]133;C\007\033_orchbee.command.v1;start;%s\033\\' "$id"
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if [[ $- == *i* ]] && [ -z "${__orchbee_seed-}" ]; then
|
|
127
|
+
__orchbee_run=
|
|
128
|
+
__orchbee_armed=
|
|
129
|
+
__orchbee_count=0
|
|
130
|
+
__orchbee_ps1='\[\e]133;P\a\e]133;B\a\]'
|
|
131
|
+
# Run tokens are this seed, read once, and a counter, so every token is unique and nonzero.
|
|
132
|
+
__orchbee_seed=$(command od -An -N12 -tx1 /dev/urandom 2>/dev/null)
|
|
133
|
+
__orchbee_seed=${__orchbee_seed//[!0-9a-f]/}
|
|
134
|
+
if [ ${#__orchbee_seed} -ne 24 ]; then
|
|
135
|
+
builtin printf -v __orchbee_seed '%04x%04x%04x%04x%04x%04x' $RANDOM $RANDOM $RANDOM $RANDOM $RANDOM $RANDOM
|
|
136
|
+
fi
|
|
137
|
+
if [[ $(builtin declare -p PROMPT_COMMAND 2>/dev/null) == "declare -a"* ]]; then
|
|
138
|
+
PROMPT_COMMAND=(__orchbee_precmd "${PROMPT_COMMAND[@]}" __orchbee_prompt)
|
|
139
|
+
else
|
|
140
|
+
PROMPT_COMMAND="__orchbee_precmd${PROMPT_COMMAND:+
|
|
141
|
+
$PROMPT_COMMAND}
|
|
142
|
+
__orchbee_prompt"
|
|
143
|
+
fi
|
|
144
|
+
# Another DEBUG trap keeps running, after this one.
|
|
145
|
+
__orchbee_trap=$(builtin trap -p DEBUG)
|
|
146
|
+
__orchbee_trap=${__orchbee_trap#"trap -- '"}
|
|
147
|
+
__orchbee_trap=${__orchbee_trap%"' DEBUG"}
|
|
148
|
+
__orchbee_trap=${__orchbee_trap//"'\\''"/"'"}
|
|
149
|
+
builtin trap "__orchbee_preexec \"\$_\"${__orchbee_trap:+; $__orchbee_trap}" DEBUG
|
|
150
|
+
builtin unset __orchbee_trap
|
|
151
|
+
else
|
|
152
|
+
builtin unset __orchbee_start
|
|
153
|
+
fi
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Orchbee's managed zsh startup. The Terminal Host points ZDOTDIR at this directory and keeps
|
|
2
|
+
# the person's own ZDOTDIR, if any, in ORCHBEE_ZSH_ZDOTDIR. This file puts it back, reads the
|
|
3
|
+
# person's own .zshenv where zsh would have, and loads Orchbee's prompt and command marks into an
|
|
4
|
+
# interactive shell. zsh then reads the person's .zprofile, .zshrc and .zlogin itself, as usual.
|
|
5
|
+
# No startup file of the person's is ever written.
|
|
6
|
+
builtin typeset -g __orchbee_integration=${ZDOTDIR}
|
|
7
|
+
if [[ -n ${ORCHBEE_ZSH_ZDOTDIR+set} ]]; then
|
|
8
|
+
ZDOTDIR=${ORCHBEE_ZSH_ZDOTDIR}
|
|
9
|
+
builtin unset ORCHBEE_ZSH_ZDOTDIR
|
|
10
|
+
else
|
|
11
|
+
builtin unset ZDOTDIR
|
|
12
|
+
fi
|
|
13
|
+
# The start reaches only this shell: nothing a startup file starts inherits it.
|
|
14
|
+
builtin typeset -g __orchbee_start=${ORCHBEE_AGENT_START-}
|
|
15
|
+
builtin unset ORCHBEE_AGENT_START
|
|
16
|
+
{
|
|
17
|
+
if [[ -r ${ZDOTDIR-$HOME}/.zshenv ]]; then
|
|
18
|
+
builtin source -- "${ZDOTDIR-$HOME}/.zshenv"
|
|
19
|
+
fi
|
|
20
|
+
} always {
|
|
21
|
+
if [[ -o interactive && -r ${__orchbee_integration}/orchbee.zsh ]]; then
|
|
22
|
+
builtin source -- "${__orchbee_integration}/orchbee.zsh"
|
|
23
|
+
else
|
|
24
|
+
builtin unset __orchbee_start
|
|
25
|
+
fi
|
|
26
|
+
builtin unset __orchbee_integration
|
|
27
|
+
}
|