@codeworksh/harness 0.1.0-dev.20261012131434 → 0.2.0-canary.8.1.g763b062a

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.
Files changed (2) hide show
  1. package/effect.d.mts +20 -20
  2. package/package.json +3 -3
package/effect.d.mts CHANGED
@@ -2715,21 +2715,6 @@ type AikitPart = Message.AssistantMessage["parts"][number] | Message.UserMessage
2715
2715
  declare const encodePart: (part: AikitPart) => Effect.Effect<AppendPart, ContextEncodeError, never>;
2716
2716
  declare const validateUserMessage: (value: unknown, entryId: string, type: string) => Effect.Effect<Message.UserMessage, ContextDecodeError>;
2717
2717
  declare const encodeMessage: (message: {
2718
- messageId: string;
2719
- role: "user";
2720
- time: {
2721
- created: number;
2722
- };
2723
- parts: ({
2724
- type: "text";
2725
- text: string;
2726
- textSignature?: string;
2727
- } | {
2728
- type: "image";
2729
- data: string;
2730
- mimeType: string;
2731
- })[];
2732
- } | {
2733
2718
  role: "assistant";
2734
2719
  protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
2735
2720
  provider: {
@@ -3031,8 +3016,7 @@ declare const encodeMessage: (message: {
3031
3016
  responseId?: string;
3032
3017
  responseModel?: string;
3033
3018
  messageId: string;
3034
- }) => Effect.Effect<EncodedMessage, ContextEncodeError, never>;
3035
- declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3019
+ } | {
3036
3020
  messageId: string;
3037
3021
  role: "user";
3038
3022
  time: {
@@ -3047,8 +3031,8 @@ declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect
3047
3031
  data: string;
3048
3032
  mimeType: string;
3049
3033
  })[];
3050
- }, ContextDecodeError, never>;
3051
- declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3034
+ }) => Effect.Effect<EncodedMessage, ContextEncodeError, never>;
3035
+ declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3052
3036
  messageId: string;
3053
3037
  role: "user";
3054
3038
  time: {
@@ -3063,7 +3047,8 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3063
3047
  data: string;
3064
3048
  mimeType: string;
3065
3049
  })[];
3066
- } | {
3050
+ }, ContextDecodeError, never>;
3051
+ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3067
3052
  role: "assistant";
3068
3053
  protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
3069
3054
  provider: {
@@ -3365,6 +3350,21 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3365
3350
  responseId?: string;
3366
3351
  responseModel?: string;
3367
3352
  messageId: string;
3353
+ } | {
3354
+ messageId: string;
3355
+ role: "user";
3356
+ time: {
3357
+ created: number;
3358
+ };
3359
+ parts: ({
3360
+ type: "text";
3361
+ text: string;
3362
+ textSignature?: string;
3363
+ } | {
3364
+ type: "image";
3365
+ data: string;
3366
+ mimeType: string;
3367
+ })[];
3368
3368
  }, ContextDecodeError, never>;
3369
3369
  declare namespace context_d_exports {
3370
3370
  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$4 as layer, validateUserMessage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeworksh/harness",
3
- "version": "0.1.0-dev.20261012131434",
3
+ "version": "0.2.0-canary.8.1.g763b062a",
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.10.0-dev.20261012131434",
70
- "@codeworksh/plugin": "0.1.0-dev.20261012131434",
69
+ "@codeworksh/aikit": "0.11.0-canary.8.1.g763b062a",
70
+ "@codeworksh/plugin": "0.2.0-canary.8.1.g763b062a",
71
71
  "@effect/platform-node": "4.0.1",
72
72
  "@effect/sql-sqlite-node": "4.0.1",
73
73
  "@npmcli/arborist": "^10.0.2",