@lota-sdk/shared 0.4.4 → 0.4.5
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/package.json
CHANGED
package/src/constants/model.ts
CHANGED
|
@@ -4,8 +4,6 @@ export const OPENROUTER_GEMINI_FLASH_MODEL_ID = 'openrouter/google/gemini-3-flas
|
|
|
4
4
|
export const OPENROUTER_TEAM_AGENT_MODEL_ID = 'openrouter/google/gemini-3-flash-preview' as const
|
|
5
5
|
export const OPENROUTER_WEB_RESEARCH_MODEL_ID = 'openrouter/stepfun/step-3.5-flash' as const
|
|
6
6
|
export const OPENROUTER_FAST_REASONING_MODEL_ID = 'openrouter/qwen/qwen3.5-flash-02-23' as const
|
|
7
|
-
export const OPENROUTER_STRUCTURED_REASONING_MODEL_ID = 'openrouter/google/gemini-3.1-pro-preview' as const
|
|
8
|
-
export const OPENROUTER_MANAGER_MODEL_ID = 'openrouter/openai/gpt-oss-120b:nitro' as const
|
|
9
7
|
|
|
10
8
|
export const AI_GATEWAY_REASONING_SUMMARY_LEVEL = 'detailed' as const
|
|
11
9
|
|
package/src/index.ts
CHANGED
|
@@ -19,7 +19,6 @@ export * from './schemas/organization'
|
|
|
19
19
|
export * from './schemas/organization-api'
|
|
20
20
|
export * from './schemas/plan-board'
|
|
21
21
|
export * from './schemas/playbook'
|
|
22
|
-
export * from './schemas/plugin-coordination'
|
|
23
22
|
export * from './schemas/queue-job'
|
|
24
23
|
export * from './schemas/recent-activity'
|
|
25
24
|
export * from './schemas/repository-structure'
|
package/src/schemas/common.ts
CHANGED
|
@@ -63,10 +63,9 @@ export const paginationSchemaBase = z.object({
|
|
|
63
63
|
take: paginationTakeSchema.default(THREAD.DEFAULT_PAGE_LIMIT),
|
|
64
64
|
})
|
|
65
65
|
|
|
66
|
-
export const paginationSchema = paginationSchemaBase.refine(
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
)
|
|
66
|
+
export const paginationSchema = paginationSchemaBase.refine((data) => !(data.page && data.cursor), {
|
|
67
|
+
message: 'Cannot specify both page and cursor',
|
|
68
|
+
})
|
|
70
69
|
|
|
71
70
|
export const installUrlResponseSchema = z.object({ url: z.string().url() }).meta({ id: 'InstallUrlResponseSchema' })
|
|
72
71
|
|
|
@@ -976,13 +976,6 @@ export const PlanCycleRecordSchema = z.object({
|
|
|
976
976
|
})
|
|
977
977
|
export type PlanCycleRecord = z.infer<typeof PlanCycleRecordSchema>
|
|
978
978
|
|
|
979
|
-
export const ContextEnrichmentSchema = z.object({
|
|
980
|
-
domain: z.string().trim().min(1).max(200),
|
|
981
|
-
data: z.record(z.string(), z.unknown()),
|
|
982
|
-
confidence: z.number().min(0).max(1),
|
|
983
|
-
})
|
|
984
|
-
export type ContextEnrichment = z.infer<typeof ContextEnrichmentSchema>
|
|
985
|
-
|
|
986
979
|
export const EvidenceRecordSchema = z.object({
|
|
987
980
|
sourceType: z.enum(['artifact', 'metric', 'pattern', 'external']),
|
|
988
981
|
sourceId: z.string().trim().min(1).max(200),
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod'
|
|
2
|
-
|
|
3
|
-
export const SignalDirectionSchema = z.enum(['produces', 'consumes'])
|
|
4
|
-
export type SignalDirection = z.infer<typeof SignalDirectionSchema>
|
|
5
|
-
|
|
6
|
-
export const SignalDeclarationSchema = z.object({
|
|
7
|
-
signalName: z.string().trim().min(1).max(200),
|
|
8
|
-
direction: SignalDirectionSchema,
|
|
9
|
-
description: z.string().trim().min(1).max(500).optional(),
|
|
10
|
-
})
|
|
11
|
-
export type SignalDeclaration = z.infer<typeof SignalDeclarationSchema>
|