mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 21:04:23 +01:00
Move the OpenCode pin and supported floor to 2.3.0
This commit is contained in:
1 parent
eba86dc3fc
commit
23d9d1c945
18 files changed
+259
-342
No files matched your search
@@ -75,7 +75,7 @@ describe('OpenCodeEventStream', () => {
|
||||
directory: null,
|
||||
payload: { id: 'evt_2', created: 1001, type: 'provider.updated', data: {} },
|
||||
})
|
||||
transport.message({ payload: { id: 'evt_3', created: 1002, type: 'credential.updated', data: {} } })
|
||||
transport.message({ payload: { id: 'evt_3', created: 1002, type: 'credential.updated', data: { integrationID: 'openai', credentialID: 'cred_1' } } })
|
||||
|
||||
expect(onEvent).toHaveBeenNthCalledWith(1, {
|
||||
id: 'evt_2',
|
||||
@@ -87,7 +87,7 @@ describe('OpenCodeEventStream', () => {
|
||||
id: 'evt_3',
|
||||
created: 1002,
|
||||
type: 'credential.updated',
|
||||
data: {},
|
||||
data: { integrationID: 'openai', credentialID: 'cred_1' },
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@@ -383,7 +383,7 @@ const CredentialUpdatedSchema = z.looseObject({
|
||||
metadata: JsonObjectSchema.optional(),
|
||||
type: z.literal('credential.updated'),
|
||||
location: LocationRefSchema.optional(),
|
||||
data: z.looseObject({}),
|
||||
data: z.looseObject({ integrationID: z.string(), credentialID: z.string() }),
|
||||
})
|
||||
|
||||
const CredentialSwitchedSchema = z.looseObject({
|
||||
|
||||
Reference in new issue
Block a user