Compare commits

...

23 Commits

Author SHA1 Message Date
Dax Raad d525663171 chore: merge dev 2026-06-04 10:17:17 -04:00
Dax Raad a91c50db50 test(opencode): assert wrapped v2 exercise shapes 2026-06-04 02:31:12 -04:00
Dax Raad 3680d33d11 test(opencode): wait for share sync flush 2026-06-04 02:18:05 -04:00
Dax Raad 0b3d0a5b52 fix(opencode): use model ids in bedrock tests 2026-06-04 02:06:08 -04:00
Dax Raad 19f3d39f9c Merge remote-tracking branch 'origin/dev' into feat/core-command-registry 2026-06-04 02:04:13 -04:00
Dax Raad 8eba717e92 fix(opencode): restore v2 event bridge compatibility 2026-06-04 02:01:56 -04:00
Dax Raad bb3cb8cd20 fix(server): include DOM libs for typecheck 2026-06-04 01:31:31 -04:00
Dax Raad d19928884c fix(llm): avoid ambient websocket type dependency 2026-06-04 01:26:04 -04:00
Dax Raad d3fe65e2f7 chore: merge dev 2026-06-04 01:24:55 -04:00
Dax Raad ece816f89b fix(cli): include preview npm packages in releases 2026-06-04 00:45:52 -04:00
Dax Raad e0f5983141 fix(cli): keep preview publishing standalone 2026-06-04 00:45:23 -04:00
Dax Raad e43401f3c5 fix(cli): align preview launcher packaging 2026-06-04 00:44:28 -04:00
Dax Raad 1311adfa3f feat(cli): wire preview npm publishing 2026-06-04 00:43:49 -04:00
Dax Raad 23a87f8dc5 feat(cli): add preview server daemon 2026-06-04 00:38:42 -04:00
Dax Raad b268064d08 fix(opencode): narrow v2 event exercise directory 2026-06-03 20:03:03 -04:00
Dax Raad dbd0a5b8c9 test(opencode): cover new v2 httpapi routes 2026-06-03 20:02:12 -04:00
Dax Raad 5e3026b5ce fix(opencode): restore global sync event compatibility 2026-06-03 19:52:49 -04:00
Dax Raad 1ed76ccace fix(core): load built-in skill asset at runtime 2026-06-03 18:24:49 -04:00
Dax Raad 2619e6bf09 feat(opencode): add v2 event stream 2026-06-03 18:23:43 -04:00
Dax Raad 8a97cb55d3 feat(core): register built-in skill 2026-06-03 18:02:57 -04:00
Dax Raad 0bd61d2826 feat(core): include resolved location info 2026-06-03 17:47:38 -04:00
Dax Raad 332366a024 feat(core): register built-in commands 2026-06-03 17:31:09 -04:00
Dax Raad ec26b82b6b feat(core): add command registry 2026-06-03 17:22:21 -04:00
2 changed files with 9 additions and 10 deletions
+8 -8
View File
@@ -19,14 +19,14 @@ export const Plugin = PluginV2.define({
const config = yield* Config.Service
const fs = yield* FSUtil.Service
const transform = yield* command.transform()
const documents = yield* Effect.forEach(yield* config.entries(), (entry) => {
if (entry.type === "document") return Effect.succeed([{ commands: entry.info.commands }])
return loadDirectory(fs, entry.path).pipe(
Effect.map((commands) => [
{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) },
]),
)
}).pipe(Effect.map((documents) => documents.flat()))
const documents = yield* Effect.forEach(yield* config.entries(), (entry) => {
if (entry.type === "document") return Effect.succeed([{ commands: entry.info.commands }])
return loadDirectory(fs, entry.path).pipe(
Effect.map((commands) => [
{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) },
]),
)
}).pipe(Effect.map((documents) => documents.flat()))
yield* transform((editor) => {
for (const document of documents) {
@@ -457,8 +457,7 @@ describe("session HttpApi", () => {
})}`,
{ headers },
)
const sessionCursor = (yield* json<{ data: Session.Info[]; cursor: { next?: string } }>(sessionPage)).cursor
.next
const sessionCursor = (yield* json<{ data: Session.Info[]; cursor: { next?: string } }>(sessionPage)).cursor.next
expect(sessionCursor).toBeTruthy()
expect(JSON.parse(Buffer.from(sessionCursor!, "base64url").toString("utf8"))).toMatchObject({
order: "asc",