orchajs 0.28.0 → 0.28.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/dist/amarsia/sync.js +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/integrations/expo.d.ts +2 -1
- package/dist/integrations/expo.js +1 -1
- package/dist/integrations/webpack.d.ts +1 -1
- package/dist/orcha.d.ts +1 -1
- package/dist/orcha.js +1 -1
- package/dist/playground/server.js +1 -1
- package/dist/providers/bedrock.d.ts +2 -1
- package/dist/react-native.d.ts +1 -1
- package/dist/runtime/actions/execute.d.ts +1 -1
- package/dist/runtime/actions/execute.js +1 -1
- package/dist/runtime/agent.js +2 -2
- package/dist/storage/cloud.d.ts +2 -1
- package/dist/storage/cloud.js +1 -1
- package/package.json +1 -1
package/dist/amarsia/sync.js
CHANGED
package/dist/browser.d.ts
CHANGED
package/dist/cli.js
CHANGED
|
@@ -10,7 +10,7 @@ import { orcha } from "./orcha.js";
|
|
|
10
10
|
import { startPlayground } from "./playground/server.js";
|
|
11
11
|
import { loadProject } from "./project-loader.js";
|
|
12
12
|
import { getOrchaRuntimeContext } from "./runtime/context.js";
|
|
13
|
-
import { createSessionStore
|
|
13
|
+
import { createSessionStore } from "./storage/create-store.js";
|
|
14
14
|
import { exportSessionJsonl, migrateSessionStore, } from "./storage/migrate.js";
|
|
15
15
|
import { sessionAgentDirectoryName } from "./storage/node-jsonl.js";
|
|
16
16
|
import { runTests } from "./testing.js";
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { withOrchaMetro as withOrchaExpo
|
|
1
|
+
export { withOrchaMetro as withOrchaExpo } from "./metro.js";
|
|
2
|
+
export type { OrchaMetroOptions as OrchaExpoOptions } from "./metro.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { withOrchaMetro as withOrchaExpo
|
|
1
|
+
export { withOrchaMetro as withOrchaExpo } from "./metro.js";
|
package/dist/orcha.d.ts
CHANGED
package/dist/orcha.js
CHANGED
|
@@ -6,7 +6,7 @@ import { generateProviderResponse } from "./providers/index.js";
|
|
|
6
6
|
import { setNativeRuntimeLoader, setSandboxRuntimeLoader, } from "./runtime/actions/execute.js";
|
|
7
7
|
import { executeNativeAction } from "./runtime/actions/native.js";
|
|
8
8
|
import { getRegistryCompiler, setGlobalCompiledManifest, } from "./runtime/compiler-hook.js";
|
|
9
|
-
import { createOrcha
|
|
9
|
+
import { createOrcha } from "./runtime/create-orcha.js";
|
|
10
10
|
import { setMcpClientFactory } from "./runtime/mcp/client.js";
|
|
11
11
|
import { importRuntimeModule, requireRuntimeModule, } from "./runtime/node-module-loader.js";
|
|
12
12
|
import { setCloudSessionStoreFactory, setInferenceGeneratorFactory, } from "./runtime/optional-features.js";
|
|
@@ -4,7 +4,7 @@ import { existsSync } from "node:fs";
|
|
|
4
4
|
import { copyFile, mkdir, readFile, writeFile, } from "node:fs/promises";
|
|
5
5
|
import { extname, isAbsolute, relative, resolve } from "node:path";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
|
-
import { createServer
|
|
7
|
+
import { createServer } from "node:http";
|
|
8
8
|
import { watch } from "chokidar";
|
|
9
9
|
import { orcha } from "../orcha.js";
|
|
10
10
|
import { loadProject } from "../project-loader.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ConverseStreamCommand
|
|
1
|
+
import { ConverseStreamCommand } from "@aws-sdk/client-bedrock-runtime";
|
|
2
|
+
import type { ConverseStreamOutput } from "@aws-sdk/client-bedrock-runtime";
|
|
2
3
|
import type { ProviderAdapter, ProviderRequest, ProviderResponse } from "./types.js";
|
|
3
4
|
export interface BedrockContentClient {
|
|
4
5
|
send(command: ConverseStreamCommand, options?: {
|
package/dist/react-native.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CompiledActionManifest, LocalActionRuntimeConfiguration, SessionMetadata } from "../../types.js";
|
|
2
|
-
import {
|
|
2
|
+
import type { LocalActionContext } from "./context.js";
|
|
3
3
|
type SandboxRuntime = typeof import("./sandbox.js");
|
|
4
4
|
type SandboxRuntimeLoader = () => Promise<SandboxRuntime>;
|
|
5
5
|
interface NativeRuntime {
|
package/dist/runtime/agent.js
CHANGED
|
@@ -4,8 +4,8 @@ import { normalizeLocalFile, normalizeUrlContent, } from "../file-content.js";
|
|
|
4
4
|
import { messagesFromEvents, normalizePersistedToolResults, SessionEventWriter, } from "./session-events.js";
|
|
5
5
|
import { isStructuredOutputError, validateStructuredValue, } from "./structured-output.js";
|
|
6
6
|
import { executeLocalAction } from "./actions/execute.js";
|
|
7
|
-
import { createExecution
|
|
8
|
-
import { McpClientPool
|
|
7
|
+
import { createExecution } from "./execution.js";
|
|
8
|
+
import { McpClientPool } from "./mcp/client.js";
|
|
9
9
|
import { portableRandomUUID } from "./random-id.js";
|
|
10
10
|
const LOAD_SKILL_TOOL_NAME = "load_skill";
|
|
11
11
|
const RUN_AGENT_TOOL_NAME = "run_agent";
|
package/dist/storage/cloud.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { CloudSessionStore
|
|
1
|
+
export { CloudSessionStore } from "./cloud-outbox.js";
|
|
2
|
+
export type { CloudSessionStoreOptions } from "./cloud-outbox.js";
|
package/dist/storage/cloud.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CloudSessionStore
|
|
1
|
+
export { CloudSessionStore } from "./cloud-outbox.js";
|