@iinm/plain-agent 1.7.24 → 1.7.25
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
description: Analyzes the project and generates sandbox configuration files (run.sh, setup.sh) tailored to the project's needs.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
You are a sandbox
|
|
5
|
+
You are a sandbox configurator. You analyze the project and generate sandbox configuration files so that commands run in an isolated Docker container using the `plain-sandbox` preset image.
|
|
6
6
|
|
|
7
7
|
## Overview
|
|
8
8
|
|
|
@@ -11,8 +11,6 @@ You create the following files:
|
|
|
11
11
|
- `.plain-agent/sandbox/run.sh` — Wrapper script for `plain-sandbox` with project-specific options
|
|
12
12
|
- `.plain-agent/setup.sh` — Initial setup script for both sandbox and host
|
|
13
13
|
|
|
14
|
-
You also show an example `sandbox` config for `.plain-agent/config.json`, but you **never modify** config.json directly.
|
|
15
|
-
|
|
16
14
|
## Step 1: Analyze the Project
|
|
17
15
|
|
|
18
16
|
Before generating anything, analyze the project to determine:
|
|
@@ -1050,6 +1050,29 @@
|
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
1052
|
},
|
|
1053
|
+
{
|
|
1054
|
+
"name": "deepseek-v4-pro",
|
|
1055
|
+
"variant": "fireworks",
|
|
1056
|
+
"platform": {
|
|
1057
|
+
"name": "openai-compatible",
|
|
1058
|
+
"variant": "fireworks"
|
|
1059
|
+
},
|
|
1060
|
+
"model": {
|
|
1061
|
+
"format": "openai-messages",
|
|
1062
|
+
"config": {
|
|
1063
|
+
"model": "accounts/fireworks/models/deepseek-v4-pro"
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
"cost": {
|
|
1067
|
+
"currency": "USD",
|
|
1068
|
+
"unit": "1M",
|
|
1069
|
+
"costs": {
|
|
1070
|
+
"prompt_tokens": 1.74,
|
|
1071
|
+
"prompt_tokens_details.cached_tokens": -1.6,
|
|
1072
|
+
"completion_tokens": 3.48
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
},
|
|
1053
1076
|
|
|
1054
1077
|
{
|
|
1055
1078
|
"name": "minimax-m2.7",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iinm/plain-agent",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.25",
|
|
4
4
|
"description": "A lightweight CLI-based coding agent",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"@biomejs/biome": "^2.4.12",
|
|
47
47
|
"@types/js-yaml": "^4.0.9",
|
|
48
48
|
"@types/node": "^22.19.17",
|
|
49
|
-
"typescript": "^
|
|
49
|
+
"typescript": "^6.0.2"
|
|
50
50
|
}
|
|
51
51
|
}
|
package/src/agent.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { EventEmitter } from "node:events";
|
|
2
|
+
import type { AgentRole } from "./context/loadAgentRoles.mjs";
|
|
3
|
+
import type { CostConfig, CostSummary } from "./costTracker.mjs";
|
|
2
4
|
import type {
|
|
3
5
|
CallModel,
|
|
4
6
|
Message,
|
|
@@ -8,8 +10,6 @@ import type {
|
|
|
8
10
|
ProviderTokenUsage,
|
|
9
11
|
} from "./model";
|
|
10
12
|
import type { Tool, ToolUseApprover } from "./tool";
|
|
11
|
-
import type { AgentRole } from "./context/loadAgentRoles.mjs";
|
|
12
|
-
import type { CostSummary, CostConfig } from "./costTracker.mjs";
|
|
13
13
|
|
|
14
14
|
export type Agent = {
|
|
15
15
|
userEventEmitter: UserEventEmitter;
|
package/src/config.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { ClaudeCodePluginRepo } from "./claudeCodePlugin.mjs";
|
|
1
2
|
import { ModelDefinition, PlatformConfig } from "./modelDefinition";
|
|
2
3
|
import { ToolUsePattern } from "./tool";
|
|
3
4
|
import { AskURLToolOptions } from "./tools/askURL.mjs";
|
|
4
5
|
import { AskWebToolOptions } from "./tools/askWeb.mjs";
|
|
5
6
|
import { ExecCommandSanboxConfig } from "./tools/execCommand";
|
|
6
|
-
import { ClaudeCodePluginRepo } from "./claudeCodePlugin.mjs";
|
|
7
7
|
import { VoiceInputConfig } from "./voiceInput.mjs";
|
|
8
8
|
|
|
9
9
|
export type AppConfig = {
|
package/src/modelDefinition.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AnthropicModelConfig } from "./providers/anthropic";
|
|
2
|
+
import { BedrockConverseModelConfig } from "./providers/bedrock";
|
|
2
3
|
import { GeminiModelConfig } from "./providers/gemini";
|
|
3
4
|
import { OpenAIModelConfig } from "./providers/openai";
|
|
4
5
|
import { OpenAICompatibleModelConfig } from "./providers/openaiCompatible";
|
|
5
|
-
import { BedrockConverseModelConfig } from "./providers/bedrock";
|
|
6
6
|
|
|
7
7
|
export type ModelDefinition = {
|
|
8
8
|
name: string;
|