negotium 0.1.20 → 0.1.21
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/agent-helpers.js +119 -9
- package/dist/agent-helpers.js.map +10 -8
- package/dist/cron.js +108 -35
- package/dist/cron.js.map +16 -15
- package/dist/hosted-agent.js +2 -2
- package/dist/hosted-agent.js.map +2 -2
- package/dist/main.js +116 -38
- package/dist/main.js.map +16 -15
- package/dist/prompts.js +98 -9
- package/dist/prompts.js.map +6 -5
- package/dist/runtime/scripts/browser-passkey-policy.mjs +36 -0
- package/dist/runtime/scripts/mcp-patchright-http.mjs +14 -4
- package/dist/runtime/src/agents/archiver.ts +0 -14
- package/dist/runtime/src/agents/idle-archiver.ts +21 -0
- package/dist/runtime/src/agents/mcp-tools/self-config.ts +1 -1
- package/dist/runtime/src/agents/mcp-tools/spawn-subagent.ts +6 -1
- package/dist/runtime/src/agents/memory-archive-policy.ts +34 -0
- package/dist/runtime/src/agents/model-catalog.ts +84 -18
- package/dist/runtime/src/platform/playwright/manager.ts +4 -2
- package/dist/runtime/src/prompts/builders.ts +36 -7
- package/dist/runtime/src/runtime/turn-runner.ts +2 -0
- package/dist/runtime/src/storage/topic-archive.ts +5 -2
- package/dist/runtime/src/topics/lifecycle.ts +2 -1
- package/dist/runtime/src/topics/session.ts +2 -0
- package/dist/runtime/src/version.ts +1 -1
- package/dist/storage.js +23 -3
- package/dist/storage.js.map +5 -4
- package/dist/types/packages/core/src/agents/idle-archiver.d.ts +2 -0
- package/dist/types/packages/core/src/agents/memory-archive-policy.d.ts +14 -0
- package/dist/types/packages/core/src/agents/model-catalog.d.ts +77 -0
- package/dist/types/packages/core/src/prompts/builders.d.ts +5 -1
- package/dist/types/packages/core/src/storage/topic-archive.d.ts +1 -0
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgentKind } from "../types";
|
|
1
|
+
import type { AgentKind, EffortLevel } from "../types";
|
|
2
2
|
export interface AgentDef {
|
|
3
3
|
name: string;
|
|
4
4
|
type: "autonomous" | "programmatic";
|
|
@@ -13,6 +13,10 @@ export interface SessionSystemPromptOpts {
|
|
|
13
13
|
topicTitle: string;
|
|
14
14
|
workspaceCwd: string;
|
|
15
15
|
agentKind: AgentKind;
|
|
16
|
+
/** Resolved model actually used for this turn. */
|
|
17
|
+
currentModel?: string;
|
|
18
|
+
/** Resolved effort actually used for this turn; absent means provider default/off. */
|
|
19
|
+
currentEffort?: EffortLevel;
|
|
16
20
|
description?: string | null;
|
|
17
21
|
/** True only for top-level agent rooms — the runtime spawn_subagent tool is registered there. */
|
|
18
22
|
canSpawnSubagents?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const NEGOTIUM_VERSION = "0.1.
|
|
1
|
+
export declare const NEGOTIUM_VERSION = "0.1.21";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "negotium",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Install the Negotium multi-agent runtime and CLI with one package",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
132
132
|
"@openai/codex-sdk": "0.144.4",
|
|
133
133
|
"maestro-agent-sdk": "0.1.45",
|
|
134
|
-
"mcp-patchright": "0.1.
|
|
134
|
+
"mcp-patchright": "0.1.11",
|
|
135
135
|
"node-telegram-bot-api": "^1.1.2",
|
|
136
136
|
"pino": "^10.3.1",
|
|
137
137
|
"pino-pretty": "^13.1.3",
|