@codeworksh/harness 0.5.0-canary.56.1.gf92d684a → 0.5.0-dev.20261024131604

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
@@ -2781,21 +2781,6 @@ type AikitPart = Message.AssistantMessage["parts"][number] | Message.UserMessage
2781
2781
  declare const encodePart: (part: AikitPart) => Effect.Effect<AppendPart, ContextEncodeError, never>;
2782
2782
  declare const validateUserMessage: (value: unknown, entryId: string, type: string) => Effect.Effect<Message.UserMessage, ContextDecodeError>;
2783
2783
  declare const encodeMessage: (message: {
2784
- messageId: string;
2785
- role: "user";
2786
- time: {
2787
- created: number;
2788
- };
2789
- parts: ({
2790
- type: "text";
2791
- text: string;
2792
- textSignature?: string;
2793
- } | {
2794
- type: "image";
2795
- data: string;
2796
- mimeType: string;
2797
- })[];
2798
- } | {
2799
2784
  role: "assistant";
2800
2785
  protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
2801
2786
  provider: {
@@ -3097,8 +3082,7 @@ declare const encodeMessage: (message: {
3097
3082
  responseId?: string;
3098
3083
  responseModel?: string;
3099
3084
  messageId: string;
3100
- }) => Effect.Effect<EncodedMessage, ContextEncodeError, never>;
3101
- declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3085
+ } | {
3102
3086
  messageId: string;
3103
3087
  role: "user";
3104
3088
  time: {
@@ -3113,8 +3097,8 @@ declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect
3113
3097
  data: string;
3114
3098
  mimeType: string;
3115
3099
  })[];
3116
- }, ContextDecodeError, never>;
3117
- declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3100
+ }) => Effect.Effect<EncodedMessage, ContextEncodeError, never>;
3101
+ declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3118
3102
  messageId: string;
3119
3103
  role: "user";
3120
3104
  time: {
@@ -3129,7 +3113,8 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3129
3113
  data: string;
3130
3114
  mimeType: string;
3131
3115
  })[];
3132
- } | {
3116
+ }, ContextDecodeError, never>;
3117
+ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3133
3118
  role: "assistant";
3134
3119
  protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
3135
3120
  provider: {
@@ -3431,6 +3416,21 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3431
3416
  responseId?: string;
3432
3417
  responseModel?: string;
3433
3418
  messageId: string;
3419
+ } | {
3420
+ messageId: string;
3421
+ role: "user";
3422
+ time: {
3423
+ created: number;
3424
+ };
3425
+ parts: ({
3426
+ type: "text";
3427
+ text: string;
3428
+ textSignature?: string;
3429
+ } | {
3430
+ type: "image";
3431
+ data: string;
3432
+ mimeType: string;
3433
+ })[];
3434
3434
  }, ContextDecodeError, never>;
3435
3435
  declare namespace context_d_exports {
3436
3436
  export { context_d_exports as Context, assemble_d_exports as ContextAssembly, codec_d_exports as ContextCodec, ContextDecodeError, ContextEncodeError, ContextInvariantError, ContextReadError, EncodedMessage, Interface$2 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.5.0-canary.56.1.gf92d684a",
3
+ "version": "0.5.0-dev.20261024131604",
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.12.1-canary.56.1.gf92d684a",
70
- "@codeworksh/plugin": "0.3.0-canary.56.1.gf92d684a",
69
+ "@codeworksh/aikit": "0.12.1-dev.20261024131604",
70
+ "@codeworksh/plugin": "0.3.0-dev.20261024131604",
71
71
  "@effect/platform-node": "4.0.5",
72
72
  "@effect/platform-node-shared": "4.0.5",
73
73
  "@effect/sql-sqlite-node": "4.0.5",