smithers-orchestrator 0.19.0 → 0.20.1

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.19.0",
3
+ "version": "0.20.1",
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/agents": "0.19.0",
58
- "@smithers-orchestrator/cli": "0.19.0",
59
- "@smithers-orchestrator/db": "0.19.0",
60
- "@smithers-orchestrator/components": "0.19.0",
61
- "@smithers-orchestrator/engine": "0.19.0",
62
- "@smithers-orchestrator/driver": "0.19.0",
63
- "@smithers-orchestrator/errors": "0.19.0",
64
- "@smithers-orchestrator/gateway-react": "0.19.0",
65
- "@smithers-orchestrator/gateway-client": "0.19.0",
66
- "@smithers-orchestrator/graph": "0.19.0",
67
- "@smithers-orchestrator/memory": "0.19.0",
68
- "@smithers-orchestrator/observability": "0.19.0",
69
- "@smithers-orchestrator/openapi": "0.19.0",
70
- "@smithers-orchestrator/react-reconciler": "0.19.0",
71
- "@smithers-orchestrator/sandbox": "0.19.0",
72
- "@smithers-orchestrator/scheduler": "0.19.0",
73
- "@smithers-orchestrator/scorers": "0.19.0",
74
- "@smithers-orchestrator/server": "0.19.0",
75
- "@smithers-orchestrator/time-travel": "0.19.0",
76
- "@smithers-orchestrator/vcs": "0.19.0"
57
+ "@smithers-orchestrator/cli": "0.20.1",
58
+ "@smithers-orchestrator/agents": "0.20.1",
59
+ "@smithers-orchestrator/db": "0.20.1",
60
+ "@smithers-orchestrator/components": "0.20.1",
61
+ "@smithers-orchestrator/engine": "0.20.1",
62
+ "@smithers-orchestrator/driver": "0.20.1",
63
+ "@smithers-orchestrator/errors": "0.20.1",
64
+ "@smithers-orchestrator/graph": "0.20.1",
65
+ "@smithers-orchestrator/gateway-react": "0.20.1",
66
+ "@smithers-orchestrator/gateway-client": "0.20.1",
67
+ "@smithers-orchestrator/memory": "0.20.1",
68
+ "@smithers-orchestrator/observability": "0.20.1",
69
+ "@smithers-orchestrator/openapi": "0.20.1",
70
+ "@smithers-orchestrator/react-reconciler": "0.20.1",
71
+ "@smithers-orchestrator/sandbox": "0.20.1",
72
+ "@smithers-orchestrator/scheduler": "0.20.1",
73
+ "@smithers-orchestrator/scorers": "0.20.1",
74
+ "@smithers-orchestrator/time-travel": "0.20.1",
75
+ "@smithers-orchestrator/server": "0.20.1",
76
+ "@smithers-orchestrator/vcs": "0.20.1"
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';
@@ -76,8 +78,7 @@ export { syncZodTableSchema, zodSchemaColumns, zodToCreateTableSQL } from '@smit
76
78
  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
- export { BuilderApi, BuiltSmithersWorkflow, ComponentDefinition, ComponentDefinitionBuilder, Smithers, StepOptions, WorkflowDefinitionBuilder, createComponent, createWorkflow, renderFrame, runWorkflow } from '@smithers-orchestrator/engine';
80
- import { Tool } from 'ai';
81
+ export { BuilderApi, BuiltSmithersWorkflow, Smithers, StepOptions, fragment, renderFrame, runWorkflow, workflow } from '@smithers-orchestrator/engine';
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 */
@@ -171,11 +171,11 @@ export { runJj, getJjPointer, revertToJjPointer, isJjRepo, workspaceAdd, workspa
171
171
  // Core API
172
172
  export { createSmithers } from "./create.js";
173
173
  export {
174
- createComponent,
175
- createWorkflow,
174
+ fragment,
176
175
  renderFrame,
177
176
  runWorkflow,
178
177
  Smithers,
178
+ workflow,
179
179
  } from "@smithers-orchestrator/engine";
180
180
  export { signalRun } from "@smithers-orchestrator/engine/signals";
181
181
  export { usePatched } from "@smithers-orchestrator/engine/effect/versioning";