1 parent d5cc240 commit 995fed0Copy full SHA for 995fed0
1 file changed
packages/opencode/src/session/instruction.ts
@@ -248,10 +248,19 @@ export namespace Instruction {
248
return runPromise((svc) => svc.systemPaths())
249
}
250
251
+ export async function system() {
252
+ return runPromise((svc) => svc.system())
253
+ }
254
+
255
export function loaded(messages: MessageV2.WithParts[]) {
256
return extract(messages)
257
258
259
+ export async function find(dir: string) {
260
+ return runPromise((svc) => svc.find(dir))
261
262
263
264
export async function resolve(messages: MessageV2.WithParts[], filepath: string, messageID: MessageID) {
265
return runPromise((svc) => svc.resolve(messages, filepath, messageID))
266
0 commit comments