@codeworksh/harness 0.0.1-dev.20260925125142 → 0.0.1-dev.20260925151032
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/effect.d.mts +39 -39
- package/package.json +3 -4
package/effect.d.mts
CHANGED
|
@@ -2114,7 +2114,7 @@ rebuild: (root: string | undefined, current: Pool) => Effect.Effect<Pool, {
|
|
|
2114
2114
|
readonly message: string;
|
|
2115
2115
|
}>,
|
|
2116
2116
|
/** The view a session in `hostDir` runs from: its project root, or the process view. */
|
|
2117
|
-
viewOf?: (hostDir: string | undefined) => Effect.Effect<string | undefined>) => Layer.Layer<Service$5, never, Service$
|
|
2117
|
+
viewOf?: (hostDir: string | undefined) => Effect.Effect<string | undefined>) => Layer.Layer<Service$5, never, Service$8 | Service$17 | Service$16 | Service$7 | Service$6>;
|
|
2118
2118
|
declare namespace run_d_exports {
|
|
2119
2119
|
export { Interface$3 as Interface, LLMStreamError, ModelCatalogError, ModelNotFoundError, ProviderAuthenticationError, ProviderAuthorizationError, ProviderConfigurationError, ProviderContentPolicyError, ProviderError, ProviderFailureReason, ProviderInvalidRequestError, ProviderInvalidResponseError, ProviderModelUnavailableError, ProviderQuotaError, ProviderRateLimitError, ProviderTimeoutError, ProviderTransportError, ProviderUnavailableError, ProviderUnknownError, RunError, run_d_exports as Runner, SandboxDirectoryNotFoundError, Service$4 as Service };
|
|
2120
2120
|
}
|
|
@@ -2340,21 +2340,6 @@ type AikitPart = Message.AssistantMessage["parts"][number] | Message.UserMessage
|
|
|
2340
2340
|
declare const encodePart: (part: AikitPart) => Effect.Effect<AppendPart, ContextEncodeError, never>;
|
|
2341
2341
|
declare const validateUserMessage: (value: unknown, entryId: string, type: string) => Effect.Effect<Message.UserMessage, ContextDecodeError>;
|
|
2342
2342
|
declare const encodeMessage: (message: {
|
|
2343
|
-
messageId: string;
|
|
2344
|
-
role: "user";
|
|
2345
|
-
time: {
|
|
2346
|
-
created: number;
|
|
2347
|
-
};
|
|
2348
|
-
parts: ({
|
|
2349
|
-
type: "text";
|
|
2350
|
-
text: string;
|
|
2351
|
-
textSignature?: string;
|
|
2352
|
-
} | {
|
|
2353
|
-
type: "image";
|
|
2354
|
-
data: string;
|
|
2355
|
-
mimeType: string;
|
|
2356
|
-
})[];
|
|
2357
|
-
} | {
|
|
2358
2343
|
role: "assistant";
|
|
2359
2344
|
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
2360
2345
|
provider: {
|
|
@@ -2495,14 +2480,6 @@ declare const encodeMessage: (message: {
|
|
|
2495
2480
|
completed: number;
|
|
2496
2481
|
};
|
|
2497
2482
|
parts: ({
|
|
2498
|
-
type: "text";
|
|
2499
|
-
text: string;
|
|
2500
|
-
textSignature?: string;
|
|
2501
|
-
} | {
|
|
2502
|
-
type: "image";
|
|
2503
|
-
data: string;
|
|
2504
|
-
mimeType: string;
|
|
2505
|
-
} | {
|
|
2506
2483
|
addedToolNames?: string[];
|
|
2507
2484
|
arguments: Record<string, any>;
|
|
2508
2485
|
callID: string;
|
|
@@ -2606,6 +2583,14 @@ declare const encodeMessage: (message: {
|
|
|
2606
2583
|
end: number;
|
|
2607
2584
|
};
|
|
2608
2585
|
type: "toolCall";
|
|
2586
|
+
} | {
|
|
2587
|
+
type: "text";
|
|
2588
|
+
text: string;
|
|
2589
|
+
textSignature?: string;
|
|
2590
|
+
} | {
|
|
2591
|
+
type: "image";
|
|
2592
|
+
data: string;
|
|
2593
|
+
mimeType: string;
|
|
2609
2594
|
} | {
|
|
2610
2595
|
type: "thinking";
|
|
2611
2596
|
thinking: string;
|
|
@@ -2654,8 +2639,7 @@ declare const encodeMessage: (message: {
|
|
|
2654
2639
|
responseId?: string;
|
|
2655
2640
|
responseModel?: string;
|
|
2656
2641
|
messageId: string;
|
|
2657
|
-
}
|
|
2658
|
-
declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
2642
|
+
} | {
|
|
2659
2643
|
messageId: string;
|
|
2660
2644
|
role: "user";
|
|
2661
2645
|
time: {
|
|
@@ -2670,8 +2654,8 @@ declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect
|
|
|
2670
2654
|
data: string;
|
|
2671
2655
|
mimeType: string;
|
|
2672
2656
|
})[];
|
|
2673
|
-
},
|
|
2674
|
-
declare const
|
|
2657
|
+
}) => Effect.Effect<EncodedMessage, ContextEncodeError, never>;
|
|
2658
|
+
declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
2675
2659
|
messageId: string;
|
|
2676
2660
|
role: "user";
|
|
2677
2661
|
time: {
|
|
@@ -2686,7 +2670,8 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
2686
2670
|
data: string;
|
|
2687
2671
|
mimeType: string;
|
|
2688
2672
|
})[];
|
|
2689
|
-
}
|
|
2673
|
+
}, ContextDecodeError, never>;
|
|
2674
|
+
declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
2690
2675
|
role: "assistant";
|
|
2691
2676
|
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
2692
2677
|
provider: {
|
|
@@ -2827,14 +2812,6 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
2827
2812
|
completed: number;
|
|
2828
2813
|
};
|
|
2829
2814
|
parts: ({
|
|
2830
|
-
type: "text";
|
|
2831
|
-
text: string;
|
|
2832
|
-
textSignature?: string;
|
|
2833
|
-
} | {
|
|
2834
|
-
type: "image";
|
|
2835
|
-
data: string;
|
|
2836
|
-
mimeType: string;
|
|
2837
|
-
} | {
|
|
2838
2815
|
addedToolNames?: string[];
|
|
2839
2816
|
arguments: Record<string, any>;
|
|
2840
2817
|
callID: string;
|
|
@@ -2938,6 +2915,14 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
2938
2915
|
end: number;
|
|
2939
2916
|
};
|
|
2940
2917
|
type: "toolCall";
|
|
2918
|
+
} | {
|
|
2919
|
+
type: "text";
|
|
2920
|
+
text: string;
|
|
2921
|
+
textSignature?: string;
|
|
2922
|
+
} | {
|
|
2923
|
+
type: "image";
|
|
2924
|
+
data: string;
|
|
2925
|
+
mimeType: string;
|
|
2941
2926
|
} | {
|
|
2942
2927
|
type: "thinking";
|
|
2943
2928
|
thinking: string;
|
|
@@ -2986,6 +2971,21 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
2986
2971
|
responseId?: string;
|
|
2987
2972
|
responseModel?: string;
|
|
2988
2973
|
messageId: string;
|
|
2974
|
+
} | {
|
|
2975
|
+
messageId: string;
|
|
2976
|
+
role: "user";
|
|
2977
|
+
time: {
|
|
2978
|
+
created: number;
|
|
2979
|
+
};
|
|
2980
|
+
parts: ({
|
|
2981
|
+
type: "text";
|
|
2982
|
+
text: string;
|
|
2983
|
+
textSignature?: string;
|
|
2984
|
+
} | {
|
|
2985
|
+
type: "image";
|
|
2986
|
+
data: string;
|
|
2987
|
+
mimeType: string;
|
|
2988
|
+
})[];
|
|
2989
2989
|
}, ContextDecodeError, never>;
|
|
2990
2990
|
declare namespace context_d_exports {
|
|
2991
2991
|
export { context_d_exports as Context, assemble_d_exports as ContextAssembly, codec_d_exports as ContextCodec, ContextDecodeError, ContextEncodeError, ContextInvariantError, ContextReadError, EncodedMessage, Interface$1 as Interface, Service$2 as Service, Snapshot, assemblePath, decodeMessage, decodeSyntheticMessage, encodeMessage, encodePart, layer$3 as layer, validateUserMessage };
|
|
@@ -3241,7 +3241,7 @@ interface Options {
|
|
|
3241
3241
|
*/
|
|
3242
3242
|
readonly watchModels?: boolean;
|
|
3243
3243
|
}
|
|
3244
|
-
declare const layer$1: (options?: Options) => Layer.Layer<Controller | Registry | Service$9 | Service$
|
|
3244
|
+
declare const layer$1: (options?: Options) => Layer.Layer<Controller | Registry | Service$9 | Service$8 | Service$17 | Service$16 | Service$7 | Service$6 | Service$5 | Service$3 | Service$1 | Service$2 | SqlClient$1.SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient, import("effect/Config").ConfigError | EventRegistrationError | InstallError | LoadError | import("@codeworksh/plugin/sandbox/errors").SandboxDriverLoadError | import("@codeworksh/plugin/sandbox/errors").SandboxDriverRegistrationError | SettingsError | SourceError | StoreError, never>;
|
|
3245
3245
|
declare namespace sandbox_d_exports {
|
|
3246
3246
|
export { CreateInput$1 as CreateInput, Driver, DriverInfo, Info$2 as Info, RegisterInput, sandbox_d_exports as Sandbox, instance_d_exports.SandboxInstance as SandboxInstance, Selection, create$2 as create, destroy, drivers, get$1 as get, list, refresh$1 as refresh, register, resolve$1 as resolve, stop, wake };
|
|
3247
3247
|
}
|
|
@@ -23530,8 +23530,8 @@ declare const update: <A>(target: Fetchable, cache: string, options: {
|
|
|
23530
23530
|
readonly probe: Probe;
|
|
23531
23531
|
readonly from: string;
|
|
23532
23532
|
}) => Effect.Effect<{
|
|
23533
|
-
readonly entry?: never;
|
|
23534
23533
|
readonly _tag: "not-installed";
|
|
23534
|
+
readonly entry?: never;
|
|
23535
23535
|
} | {
|
|
23536
23536
|
readonly _tag: "unchanged";
|
|
23537
23537
|
readonly entry: Entry;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codeworksh/harness",
|
|
3
|
-
"version": "0.0.1-dev.
|
|
3
|
+
"version": "0.0.1-dev.20260925151032",
|
|
4
4
|
"description": "AI agent harness — agent loop, tools, plugins, sandbox, and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"node": ">=24.14.1"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@codeworksh/aikit": "0.9.2",
|
|
70
|
-
"@codeworksh/plugin": "0.0.1-dev.
|
|
69
|
+
"@codeworksh/aikit": "^0.9.2",
|
|
70
|
+
"@codeworksh/plugin": "0.0.1-dev.20260925150557",
|
|
71
71
|
"@effect/platform-node": "4.0.0-rc.115",
|
|
72
72
|
"@effect/sql-sqlite-node": "4.0.0-rc.115",
|
|
73
73
|
"@npmcli/arborist": "^10.0.2",
|
|
@@ -77,7 +77,6 @@
|
|
|
77
77
|
"just-bash": "^3.4.2",
|
|
78
78
|
"npm-package-arg": "^14.0.0",
|
|
79
79
|
"pacote": "^22.0.0",
|
|
80
|
-
"typebox": "^1.3.30",
|
|
81
80
|
"uuidv7": "^1.2.1"
|
|
82
81
|
},
|
|
83
82
|
"peerDependencies": {
|