@jini-ai/daemon 0.6.1 → 0.6.2

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,3 +1,7 @@
1
+ ## 0.6.2 — 2026-10-13
2
+
3
+ - Agent executor and host tools import `@jini-ai/platform/command` and `/process` instead of the platform root; peer `@jini-ai/platform` floor is now `^0.5.5`. No behavior change.
4
+
1
5
  ## 0.5.4 — pending release
2
6
 
3
7
  - Re-export the canonical core surface-exchange contracts and parameter constants. Store and ask/report behavior are unchanged; requires core 0.4.2.
@@ -3,7 +3,8 @@ import type { spawn as nodeSpawn, ChildProcess } from 'node:child_process';
3
3
  import type { Principal } from '@jini-ai/core';
4
4
  import type { RunAgentPayload, RunErrorPayload } from '@jini-ai/protocol';
5
5
  import type { AgentRuntimeState, applyAgentLaunchEnv, ensureAgentCapabilities, resolveModelForLaunch, getAgentDef, resolveAgentLaunch, attachAcpSession, attachPiRpcSession, prepareAgentLogFile, preparePromptFileForAgent, AcpMcpServerInput, AcpPermissionHandler, PromptAugmenter } from '@jini-ai/agent-runtime';
6
- import type { createCommandInvocation, listProcessSnapshots, ProcessSnapshot, StopProcessesResult } from '@jini-ai/platform';
6
+ import type { createCommandInvocation } from '@jini-ai/platform/command';
7
+ import type { listProcessSnapshots, ProcessSnapshot, StopProcessesResult } from '@jini-ai/platform/process';
7
8
  import type { RunByteJournal } from '../continuation/journal.js';
8
9
  import type { RunRetrySideEffectState } from '../run/core/index.js';
9
10
  import type { ToolExecutor } from '../tool-executor.js';
@@ -3,7 +3,7 @@ import { createModelReceiptTracker } from './model-receipts.js';
3
3
  import { messageContentWithImages } from '../attachment-content.js';
4
4
  import { redactSecrets, } from '@jini-ai/core';
5
5
  import { createClaudeStreamHandler, createCopilotStreamHandler, createJsonEventStreamHandler, createQoderStreamHandler, attachAcpSession, attachPiRpcSession, } from '@jini-ai/agent-runtime';
6
- import { collectProcessTreePids, listProcessSnapshots, stopProcesses, } from '@jini-ai/platform';
6
+ import { collectProcessTreePids, listProcessSnapshots, stopProcesses, } from '@jini-ai/platform/process';
7
7
  import { classifyRunCloseStatus, } from '../close-status.js';
8
8
  import { resolveContinuationTransport, } from '../continuation/continuation-transport.js';
9
9
  import { resultContent, } from '../delegated-tool-bridge.js';
@@ -1,6 +1,6 @@
1
1
  import { spawn as nodeSpawn, type ChildProcess } from 'node:child_process';
2
2
  import { type AgentRuntimeState, getAgentDef, resolveAgentLaunch, prepareAgentLogFile, preparePromptFileForAgent, type AgentLaunchResolution, type PreparedAgentLogFile, type PreparedPromptFile, type RuntimeAgentDef, type RuntimeBuildOptions, type RuntimeContext } from '@jini-ai/agent-runtime';
3
- import { createCommandInvocation } from '@jini-ai/platform';
3
+ import { createCommandInvocation } from '@jini-ai/platform/command';
4
4
  import { type ImagePromptDelivery } from '../image-prompt-delivery.js';
5
5
  import { type SupportedStreamFormat, type ChildDrivenStreamFormat, type AgentExecutorCompatibility, type AgentExecutorRunInput, type AgentExecutor, type McpBridgeDelivery, type CreateAgentExecutorOptions, type FailBeforeSpawn, type SystemPromptOverlayDelivery, type PreparedSystemPromptOverlayFile, type SpawnAgentChildProcessResult } from './contracts.js';
6
6
  /**
@@ -3,7 +3,8 @@ import { promises as fsPromises, } from 'node:fs';
3
3
  import { tmpdir, } from 'node:os';
4
4
  import { join, } from 'node:path';
5
5
  import { agentCapabilities, bindRuntimeAgentDef, defaultRuntimeState, getRuntimeModelDiscoveryDeps, userToolchainBinDirs, applyAgentLaunchEnv, ensureAgentCapabilities, resolveModelForLaunch, getAgentDef, resolveAgentLaunch, attachAcpSession, attachPiRpcSession, checkPromptArgvBudget, checkWindowsCmdShimCommandLineBudget, checkWindowsDirectExeCommandLineBudget, prepareAgentLogFile, preparePromptFileForAgent, } from '@jini-ai/agent-runtime';
6
- import { collectProcessTreePids, createCommandInvocation, listProcessSnapshots, stopProcesses, } from '@jini-ai/platform';
6
+ import { createCommandInvocation } from '@jini-ai/platform/command';
7
+ import { collectProcessTreePids, listProcessSnapshots, stopProcesses, } from '@jini-ai/platform/process';
7
8
  import { applyImagePromptDelivery, } from '../image-prompt-delivery.js';
8
9
  import { SUPPORTED_STREAM_FORMATS, AgentExecutorError, } from './contracts.js';
9
10
  import { errorMessage, } from './values.js';
@@ -19,7 +19,7 @@
19
19
  */
20
20
  import { spawn as nodeSpawn } from 'node:child_process';
21
21
  import { access as fsAccess, constants as fsConstants } from 'node:fs/promises';
22
- import { createCommandInvocation } from '@jini-ai/platform';
22
+ import { createCommandInvocation } from '@jini-ai/platform/command';
23
23
  import { createApiError } from '@jini-ai/protocol';
24
24
  import { defineJsonRoute, mountJsonRoute } from '@jini-ai/http-kit';
25
25
  import { validationError } from '@jini-ai/http-kit';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jini-ai/daemon",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "The stateful agent daemon runtime: run lifecycle, durable event-log port, the tool-execution boundary, agent executor, terminal sessions, and routines.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -139,16 +139,16 @@
139
139
  "@types/pg": "8.23.1",
140
140
  "express": "^4.21.0",
141
141
  "@types/express": "^4.17.21",
142
+ "@jini-ai/http-kit": "0.4.1",
142
143
  "@jini-ai/chat": "0.5.8",
143
- "@jini-ai/db": "0.3.2",
144
- "@jini-ai/agent-runtime": "^0.4.5",
145
- "@jini-ai/protocol": "^0.4.4",
146
- "@jini-ai/core": "^0.4.3",
147
- "@jini-ai/platform": "^0.5.3",
148
- "@jini-ai/http-kit": "0.4.1"
144
+ "@jini-ai/agent-runtime": "^0.4.6",
145
+ "@jini-ai/core": "^0.4.4",
146
+ "@jini-ai/db": "0.3.3",
147
+ "@jini-ai/platform": "^0.5.5",
148
+ "@jini-ai/protocol": "^0.4.4"
149
149
  },
150
150
  "dependencies": {
151
- "@jini-ai/core": "^0.4.3",
151
+ "@jini-ai/core": "^0.4.4",
152
152
  "@jini-ai/protocol": "^0.4.4"
153
153
  },
154
154
  "peerDependencies": {
@@ -161,7 +161,7 @@
161
161
  "@jini-ai/http-kit": "^0.4.0",
162
162
  "express": "^4.21.0",
163
163
  "@jini-ai/agent-runtime": "^0.4.5",
164
- "@jini-ai/platform": "^0.5.3"
164
+ "@jini-ai/platform": "^0.5.5"
165
165
  },
166
166
  "peerDependenciesMeta": {
167
167
  "node-pty": {