@denizokcu/haze 1.7.5 → 1.7.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.7.8 - 2026-11-04
4
+
5
+ ### Changed
6
+
7
+ - Update compatibility with current model deployments while preserving support for earlier deployments.
8
+ - Preserve explicitly configured trusted deployment identities.
9
+
3
10
  ## 1.7.5 - 2026-11-02
4
11
 
5
12
  ### Changed
package/README.md CHANGED
@@ -4,7 +4,11 @@ A minimal LLM harness for your terminal.
4
4
 
5
5
  [![Known Vulnerabilities](https://snyk.io/test/github/DenizOkcu/haze/badge.svg)](https://snyk.io/test/github/DenizOkcu/haze)
6
6
 
7
- ## What's new in 1.7.5
7
+ ## What's new in 1.7.8
8
+
9
+ This release improves compatibility with updated model deployments and preserves explicitly configured deployment trust.
10
+
11
+ ### Changes in 1.7.5
8
12
 
9
13
  Improved recovery from malformed tool calls and more resilient retry handling for temporary provider errors.
10
14
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@denizokcu/haze",
3
- "version": "1.7.5",
4
- "commit": "eade39f464a3a42bcbe26a226c95033bd96dcf6a",
5
- "builtAt": "2026-11-02T17:16:44.032Z"
3
+ "version": "1.7.8",
4
+ "commit": "2c47ff34529c466a2dfd4791039a84bfb733f072",
5
+ "builtAt": "2026-11-04T20:07:24.190Z"
6
6
  }
@@ -127,7 +127,7 @@ export function providerSetImageCapable(settings, providerName, enabled) {
127
127
  if (!provider)
128
128
  return { message: 'No provider selected.' };
129
129
  if (enabled && provider.kind === 'haze-build')
130
- return { provider, message: 'haze.build haze0.1-coder-flash is text/tools only; images are not supported.' };
130
+ return { provider, message: 'haze.build haze1.5-builder-flash is text/tools only; images are not supported.' };
131
131
  const capabilities = { ...(provider.capabilities ?? {}), images: enabled };
132
132
  return {
133
133
  provider,
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  import type { HazeProviderSettings } from './settings.js';
3
3
  export declare const HAZE_BUILD_PROVIDER = "haze.build";
4
- export declare const HAZE_BUILD_MODEL = "haze0.1-coder-flash";
4
+ export declare const HAZE_BUILD_MODEL = "haze1.5-builder-flash";
5
5
  export declare const hazeBuildManifestSchema: z.ZodObject<{
6
6
  schemaVersion: z.ZodLiteral<1>;
7
7
  provider: z.ZodLiteral<"haze.build">;
8
- model: z.ZodLiteral<"haze0.1-coder-flash">;
8
+ model: z.ZodEnum<{
9
+ "haze1.5-builder-flash": "haze1.5-builder-flash";
10
+ "haze0.1-coder-flash": "haze0.1-coder-flash";
11
+ }>;
9
12
  modelRepository: z.ZodString;
10
13
  modelRevision: z.ZodString;
11
14
  templateSha256: z.ZodString;
@@ -29,6 +32,7 @@ export declare const hazeBuildManifestSchema: z.ZodObject<{
29
32
  baseline: "baseline";
30
33
  ngram: "ngram";
31
34
  mtp: "mtp";
35
+ dflash: "dflash";
32
36
  }>;
33
37
  capabilities: z.ZodObject<{
34
38
  text: z.ZodLiteral<true>;
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
2
  import { assertCredentialedEndpointSecure } from './endpointSecurity.js';
3
3
  export const HAZE_BUILD_PROVIDER = 'haze.build';
4
- export const HAZE_BUILD_MODEL = 'haze0.1-coder-flash';
4
+ export const HAZE_BUILD_MODEL = 'haze1.5-builder-flash';
5
5
  export const hazeBuildManifestSchema = z.object({
6
6
  schemaVersion: z.literal(1),
7
7
  provider: z.literal(HAZE_BUILD_PROVIDER),
8
- model: z.literal(HAZE_BUILD_MODEL),
8
+ model: z.enum([HAZE_BUILD_MODEL, 'haze0.1-coder-flash']),
9
9
  modelRepository: z.string().min(1).max(256),
10
10
  modelRevision: z.string().regex(/^[a-f0-9]{40}$/),
11
11
  templateSha256: z.string().regex(/^[a-f0-9]{64}$/),
@@ -16,12 +16,15 @@ export const hazeBuildManifestSchema = z.object({
16
16
  maxOutputTokens: z.number().int().min(256).max(32768),
17
17
  activeSequences: z.number().int().min(1).max(8),
18
18
  servingProfile: z.enum(['quality', 'concurrent', 'full-context']),
19
- decodeProfile: z.enum(['baseline', 'ngram', 'mtp']),
19
+ decodeProfile: z.enum(['baseline', 'ngram', 'mtp', 'dflash']),
20
20
  capabilities: z.object({ text: z.literal(true), tools: z.literal(true), images: z.literal(false), thinking: z.literal('binary'), preserveThinking: z.literal(true) }),
21
21
  });
22
- const DEFAULT_DEPLOYMENT = { modelRepository: 'cyankiwi/Qwen3.6-35B-A3B-AWQ-4bit',
23
- modelRevision: 'f1e8415c4f29508fe281da4e256df26573213bfd',
24
- templateSha256: 'e84f32a23fdda27689f868aa4a1a5621f41133e51a48d7f3efcbea2839574259', runtimeVersion: '0.32.0' };
22
+ const DEFAULT_DEPLOYMENTS = [{ modelRepository: 'ornith-ai/Ornith-1.5-35B-A3B-FP8',
23
+ modelRevision: 'b93dbd8128d3d2e6655b8570c992de97fc8ece6e',
24
+ templateSha256: '182e77dd83bd8e9ca818b240b82e28f243762cd5dda32e6eef327df7b1cd107e', runtimeVersion: '0.32.0' },
25
+ { modelRepository: 'cyankiwi/Qwen3.6-35B-A3B-AWQ-4bit',
26
+ modelRevision: 'f1e8415c4f29508fe281da4e256df26573213bfd',
27
+ templateSha256: 'e84f32a23fdda27689f868aa4a1a5621f41133e51a48d7f3efcbea2839574259', runtimeVersion: '0.32.0' }];
25
28
  /** Refreshed per attempt: a mutable endpoint alias must never imply stale capacity. */
26
29
  export async function discoverHazeBuildManifest(provider, fetchImpl = fetch) {
27
30
  if (!provider.key?.trim())
@@ -88,8 +91,8 @@ export async function discoverHazeBuildManifest(provider, fetchImpl = fetch) {
88
91
  }
89
92
  const parsed = hazeBuildManifestSchema.safeParse(payload);
90
93
  if (!parsed.success)
91
- throw new Error('Incompatible haze.build manifest. Expected contract v1, haze0.1-coder-flash, text/tools and binary thinking with preservation.');
92
- const identities = [DEFAULT_DEPLOYMENT, ...(provider.trustedDeployments ?? [])];
94
+ throw new Error('Incompatible haze.build manifest. Expected contract v1, haze1.5-builder-flash, text/tools and binary thinking with preservation.');
95
+ const identities = [...DEFAULT_DEPLOYMENTS, ...(provider.trustedDeployments ?? [])];
93
96
  if (!identities.some(identity => identity.modelRepository === parsed.data.modelRepository && identity.modelRevision === parsed.data.modelRevision && identity.templateSha256 === parsed.data.templateSha256 && identity.runtimeVersion === parsed.data.runtimeVersion))
94
97
  throw new Error('Incompatible haze.build manifest: deployment identity is not trusted.');
95
98
  if (parsed.data.maxOutputTokens >= parsed.data.contextWindowTokens)
@@ -24,7 +24,7 @@
24
24
  */
25
25
  const PRESET_DEFINITIONS = [
26
26
  { id: 'haze.build', name: 'haze.build', kind: 'haze-build',
27
- baseUrl: 'https://llm.haze.build/v1', category: 'cloud', models: ['haze0.1-coder-flash'],
27
+ baseUrl: 'https://llm.haze.build/v1', category: 'cloud', models: ['haze1.5-builder-flash'],
28
28
  apiKeyHint: 'your deployed haze.build inference key' },
29
29
  // ── Cloud providers (API key required) ──────────────────────────────
30
30
  {
@@ -28,6 +28,7 @@ function normalizeProvider(provider, fallbackModel) {
28
28
  ...(provider.kind ? { kind: provider.kind } : {}),
29
29
  ...(capabilities ? { capabilities } : {}),
30
30
  ...(provider.modelLimits ? { modelLimits: provider.modelLimits } : {}),
31
+ ...(provider.trustedDeployments ? { trustedDeployments: provider.trustedDeployments } : {}),
31
32
  models: normalizeModels(provider.models, fallbackModel),
32
33
  };
33
34
  }
@@ -271,7 +271,7 @@ export function imageCapabilityError(provider) {
271
271
  if (!provider)
272
272
  return 'No provider is configured. Run /provider to add one, then attach the image again.';
273
273
  if (provider.kind === 'haze-build')
274
- return 'haze.build haze0.1-coder-flash is text/tools only; images are not supported.';
274
+ return 'haze.build haze1.5-builder-flash is text/tools only; images are not supported.';
275
275
  if (provider.capabilities?.images === true)
276
276
  return undefined;
277
277
  return `Provider '${provider.name}' is not marked image-capable. Enable image input for it via /provider, or switch models.`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@denizokcu/haze",
3
- "version": "1.7.5",
3
+ "version": "1.7.8",
4
4
  "description": "A minimal LLM harness for your terminal.",
5
5
  "type": "module",
6
6
  "license": "MIT",