smithers-orchestrator 0.20.0 → 0.20.3

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": "smithers-orchestrator",
3
- "version": "0.20.0",
3
+ "version": "0.20.3",
4
4
  "description": "Public Smithers facade and workflow authoring convenience package",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -54,26 +54,26 @@
54
54
  "incur": "^0.4.1",
55
55
  "react": "^19.2.5",
56
56
  "zod": "^4.3.6",
57
- "@smithers-orchestrator/cli": "0.20.0",
58
- "@smithers-orchestrator/agents": "0.20.0",
59
- "@smithers-orchestrator/db": "0.20.0",
60
- "@smithers-orchestrator/engine": "0.20.0",
61
- "@smithers-orchestrator/errors": "0.20.0",
62
- "@smithers-orchestrator/gateway-react": "0.20.0",
63
- "@smithers-orchestrator/gateway-client": "0.20.0",
64
- "@smithers-orchestrator/memory": "0.20.0",
65
- "@smithers-orchestrator/react-reconciler": "0.20.0",
66
- "@smithers-orchestrator/graph": "0.20.0",
67
- "@smithers-orchestrator/openapi": "0.20.0",
68
- "@smithers-orchestrator/sandbox": "0.20.0",
69
- "@smithers-orchestrator/server": "0.20.0",
70
- "@smithers-orchestrator/scheduler": "0.20.0",
71
- "@smithers-orchestrator/time-travel": "0.20.0",
72
- "@smithers-orchestrator/components": "0.20.0",
73
- "@smithers-orchestrator/observability": "0.20.0",
74
- "@smithers-orchestrator/vcs": "0.20.0",
75
- "@smithers-orchestrator/scorers": "0.20.0",
76
- "@smithers-orchestrator/driver": "0.20.0"
57
+ "@smithers-orchestrator/agents": "0.20.3",
58
+ "@smithers-orchestrator/cli": "0.20.3",
59
+ "@smithers-orchestrator/components": "0.20.3",
60
+ "@smithers-orchestrator/db": "0.20.3",
61
+ "@smithers-orchestrator/engine": "0.20.3",
62
+ "@smithers-orchestrator/errors": "0.20.3",
63
+ "@smithers-orchestrator/driver": "0.20.3",
64
+ "@smithers-orchestrator/gateway-client": "0.20.3",
65
+ "@smithers-orchestrator/gateway-react": "0.20.3",
66
+ "@smithers-orchestrator/graph": "0.20.3",
67
+ "@smithers-orchestrator/observability": "0.20.3",
68
+ "@smithers-orchestrator/openapi": "0.20.3",
69
+ "@smithers-orchestrator/memory": "0.20.3",
70
+ "@smithers-orchestrator/react-reconciler": "0.20.3",
71
+ "@smithers-orchestrator/sandbox": "0.20.3",
72
+ "@smithers-orchestrator/scheduler": "0.20.3",
73
+ "@smithers-orchestrator/scorers": "0.20.3",
74
+ "@smithers-orchestrator/server": "0.20.3",
75
+ "@smithers-orchestrator/time-travel": "0.20.3",
76
+ "@smithers-orchestrator/vcs": "0.20.3"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@types/bun": "latest",
package/src/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import * as ai from 'ai';
2
+ import { Tool } from 'ai';
1
3
  import * as _smithers_graph_XmlNode from '@smithers-orchestrator/graph/XmlNode';
2
4
  import * as _smithers_time_travel_timetravel from '@smithers-orchestrator/time-travel/timetravel';
3
5
  import * as _smithers_graph_TaskDescriptor from '@smithers-orchestrator/graph/TaskDescriptor';
@@ -77,7 +79,6 @@ export { camelToSnake } from '@smithers-orchestrator/db/utils/camelToSnake';
77
79
  export { unwrapZodType } from '@smithers-orchestrator/db/unwrapZodType';
78
80
  export { zodSchemaToJsonExample } from '@smithers-orchestrator/components/zod-to-example';
79
81
  export { BuilderApi, BuiltSmithersWorkflow, Smithers, StepOptions, fragment, renderFrame, runWorkflow, workflow } from '@smithers-orchestrator/engine';
80
- import { Tool } from 'ai';
81
82
  import { SmithersDb } from '@smithers-orchestrator/db/adapter';
82
83
 
83
84
  type SerializedCtx$1 = {
@@ -329,7 +330,7 @@ type MemoryServiceApi = _smithers_memory.MemoryServiceApi;
329
330
  type MemoryStore = _smithers_memory.MemoryStore;
330
331
  type MemoryThread = _smithers_memory.MemoryThread;
331
332
  type MessageHistoryConfig = _smithers_memory.MessageHistoryConfig;
332
- type OpenAIAgentOptions<CALL_OPTIONS, TOOLS> = _smithers_agents.OpenAIAgentOptions<CALL_OPTIONS, TOOLS>;
333
+ type OpenAIAgentOptions<CALL_OPTIONS = never, TOOLS = ai.ToolSet> = _smithers_agents.OpenAIAgentOptions<CALL_OPTIONS, TOOLS>;
333
334
  type OpenApiAuth = _smithers_openapi.OpenApiAuth;
334
335
  type OpenApiSpec = _smithers_openapi.OpenApiSpec;
335
336
  type OpenApiToolsOptions = _smithers_openapi.OpenApiToolsOptions;
package/src/index.js CHANGED
@@ -64,8 +64,8 @@
64
64
  /** @typedef {import("@smithers-orchestrator/memory").MemoryThread} MemoryThread */
65
65
  /** @typedef {import("@smithers-orchestrator/memory").MessageHistoryConfig} MessageHistoryConfig */
66
66
  /**
67
- * @template CALL_OPTIONS
68
- * @template TOOLS
67
+ * @template [CALL_OPTIONS=never]
68
+ * @template [TOOLS=import("ai").ToolSet]
69
69
  * @typedef {import("@smithers-orchestrator/agents").OpenAIAgentOptions<CALL_OPTIONS, TOOLS>} OpenAIAgentOptions
70
70
  */
71
71
  /** @typedef {import("@smithers-orchestrator/openapi").OpenApiAuth} OpenApiAuth */