@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lota-sdk/shared",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -1,5 +1,3 @@
1
- export const SILENT_EXECUTION_VISIBILITY = 'silent' as const
2
-
3
1
  export const HUMAN_NODE_TYPES = ['human-input', 'human-approval', 'human-review-edit', 'human-decision'] as const
4
2
 
5
3
  export const STRUCTURAL_NODE_TYPES = ['switch', 'join', 'deliberation-fork'] as const
@@ -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'
@@ -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
- (value) => !(value.page !== undefined && value.cursor !== undefined),
68
- { message: 'Provide either page or cursor, not both', path: ['cursor'] },
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>