negotium 0.2.2 → 0.2.3

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/dist/registry.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  logger,
15
15
  writeClaudeRollout,
16
16
  writeCodexRollout
17
- } from "./chunk-kc5kmr95.js";
17
+ } from "./chunk-hsqgb2hw.js";
18
18
 
19
19
  // ../../packages/core/src/agents/claude-registry.ts
20
20
  import { existsSync, mkdirSync, readdirSync, renameSync, unlinkSync } from "fs";
package/dist/rollout.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  repairPoisonedRollout,
15
15
  writeClaudeRollout,
16
16
  writeCodexRollout
17
- } from "./chunk-kc5kmr95.js";
17
+ } from "./chunk-hsqgb2hw.js";
18
18
 
19
19
  // src/rollout.ts
20
20
  import { fileURLToPath } from "url";
@@ -8,10 +8,10 @@
8
8
  */
9
9
 
10
10
  import { mkdirSync } from "node:fs";
11
- import { dirname, join, resolve } from "node:path";
12
- import { fileURLToPath } from "node:url";
11
+ import { resolve } from "node:path";
13
12
  import {
14
13
  DM_WORKSPACE_DIR,
14
+ PROJECT_ROOT,
15
15
  SESSION_WORKSPACE_DIR,
16
16
  TOPIC_WORKSPACE_DIR,
17
17
  WORKSPACE_DIR,
@@ -20,8 +20,6 @@ import { logger } from "#platform/logger";
20
20
  import { renderUserPromptBatch } from "#runtime/user-turn-envelope";
21
21
  import type { ConversationEntry } from "#storage/conversations";
22
22
 
23
- const __dirname = dirname(fileURLToPath(import.meta.url));
24
-
25
23
  export interface RolloutHostOptions {
26
24
  /** Absolute workspace roots under which synthetic provider sessions may be written. */
27
25
  workspaceRoots?: readonly string[];
@@ -69,7 +67,7 @@ export function configureRolloutHost(options: RolloutHostOptions): () => void {
69
67
  * non-conversational entries from the resulting rollout file, and update
70
68
  * `src/agents/fixtures/{codex-shell,claude-attachments}.jsonl`.
71
69
  */
72
- export let FIXTURES_DIR = join(__dirname, "..", "fixtures");
70
+ export let FIXTURES_DIR = resolve(PROJECT_ROOT, "src", "agents", "fixtures");
73
71
 
74
72
  /** Deep-clone to avoid mutating cached fixture objects. */
75
73
  export function clone<T>(obj: T): T {
@@ -1 +1 @@
1
- export const NEGOTIUM_VERSION = "0.2.2";
1
+ export const NEGOTIUM_VERSION = "0.2.3";
@@ -1 +1 @@
1
- export declare const NEGOTIUM_VERSION = "0.2.2";
1
+ export declare const NEGOTIUM_VERSION = "0.2.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "negotium",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "description": "Install the Negotium multi-agent runtime and CLI with one package",
6
6
  "license": "Apache-2.0",