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.
@@ -1,4 +1,4 @@
1
- import { createAmarsiaProjectMetadata, } from "./metadata.js";
1
+ import { createAmarsiaProjectMetadata } from "./metadata.js";
2
2
  import { resolveAmarsiaEndpoint } from "./endpoint.js";
3
3
  const syncedHashes = new Map();
4
4
  export function syncAmarsiaProject(options) {
package/dist/browser.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { type OrchaClient } from "./runtime/create-orcha.js";
1
+ import type { OrchaClient } from "./runtime/create-orcha.js";
2
2
  export declare const orcha: OrchaClient;
3
3
  export * from "./runtime-entry.js";
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, } from "./storage/create-store.js";
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, type OrchaMetroOptions as OrchaExpoOptions, } from "./metro.js";
1
+ export { withOrchaMetro as withOrchaExpo } from "./metro.js";
2
+ export type { OrchaMetroOptions as OrchaExpoOptions } from "./metro.js";
@@ -1 +1 @@
1
- export { withOrchaMetro as withOrchaExpo, } from "./metro.js";
1
+ export { withOrchaMetro as withOrchaExpo } from "./metro.js";
@@ -1,4 +1,4 @@
1
- import { type RuntimeBuildTarget } from "./runtime-build.js";
1
+ import type { RuntimeBuildTarget } from "./runtime-build.js";
2
2
  export interface OrchaWebpackPluginOptions {
3
3
  projectRoot?: string;
4
4
  target?: RuntimeBuildTarget;
package/dist/orcha.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { type Orcha, type OrchaClient } from "./runtime/create-orcha.js";
1
+ import type { Orcha, OrchaClient } from "./runtime/create-orcha.js";
2
2
  export type { Orcha, OrchaClient };
3
3
  export declare const orcha: OrchaClient;
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, } from "./runtime/create-orcha.js";
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, } from "node:http";
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, type ConverseStreamOutput } from "@aws-sdk/client-bedrock-runtime";
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?: {
@@ -1,3 +1,3 @@
1
- import { type OrchaClient } from "./runtime/create-orcha.js";
1
+ import type { OrchaClient } from "./runtime/create-orcha.js";
2
2
  export declare const orcha: OrchaClient;
3
3
  export * from "./runtime-entry.js";
@@ -1,5 +1,5 @@
1
1
  import type { CompiledActionManifest, LocalActionRuntimeConfiguration, SessionMetadata } from "../../types.js";
2
- import { type LocalActionContext } from "./context.js";
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 {
@@ -1,4 +1,4 @@
1
- import { createLocalActionContext, } from "./context.js";
1
+ import { createLocalActionContext } from "./context.js";
2
2
  let loadConfiguredNativeRuntime = async () => {
3
3
  throw new Error("The native action runtime was not included in this Orcha build.");
4
4
  };
@@ -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, } from "./execution.js";
8
- import { McpClientPool, } from "./mcp/client.js";
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";
@@ -1 +1,2 @@
1
- export { CloudSessionStore, type CloudSessionStoreOptions, } from "./cloud-outbox.js";
1
+ export { CloudSessionStore } from "./cloud-outbox.js";
2
+ export type { CloudSessionStoreOptions } from "./cloud-outbox.js";
@@ -1 +1 @@
1
- export { CloudSessionStore, } from "./cloud-outbox.js";
1
+ export { CloudSessionStore } from "./cloud-outbox.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orchajs",
3
- "version": "0.28.0",
3
+ "version": "0.28.1",
4
4
  "description": "A filesystem-convention, stateful agent framework for JavaScript.",
5
5
  "license": "MIT",
6
6
  "repository": {