protoagent 0.1.13 → 0.1.15
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/README.md +1 -4
- package/dist/App.js +77 -442
- package/dist/agentic-loop/errors.js +198 -0
- package/dist/agentic-loop/executor.js +108 -0
- package/dist/agentic-loop/stream.js +109 -0
- package/dist/agentic-loop.js +67 -593
- package/dist/components/ApprovalPrompt.js +18 -0
- package/dist/components/CommandFilter.js +19 -0
- package/dist/components/InlineSetup.js +33 -0
- package/dist/components/UsageDisplay.js +10 -0
- package/dist/config.js +52 -51
- package/dist/hooks/useAgentEventHandler.js +356 -0
- package/dist/mcp.js +3 -0
- package/dist/runtime-config.js +64 -33
- package/dist/skills.js +3 -1
- package/dist/sub-agent.js +11 -16
- package/dist/tools/bash.js +37 -11
- package/dist/tools/edit-file.js +8 -49
- package/dist/tools/read-file.js +3 -66
- package/dist/tools/search-files.js +70 -12
- package/dist/tools/webfetch.js +77 -62
- package/dist/tools/write-file.js +39 -3
- package/dist/utils/approval.js +2 -0
- package/dist/utils/compactor.js +2 -1
- package/dist/utils/cost-tracker.js +5 -2
- package/dist/utils/format-message.js +13 -0
- package/dist/utils/logger.js +16 -3
- package/dist/utils/path-suggestions.js +74 -0
- package/dist/utils/path-validation.js +2 -5
- package/dist/utils/tool-display.js +53 -0
- package/package.json +11 -4
- package/dist/components/CollapsibleBox.js +0 -27
- package/dist/components/ConfigDialog.js +0 -42
- package/dist/components/ConsolidatedToolMessage.js +0 -34
- package/dist/components/FormattedMessage.js +0 -170
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ A minimal, educational AI coding agent CLI written in TypeScript. It stays small
|
|
|
7
7
|
|
|
8
8
|
## Features
|
|
9
9
|
|
|
10
|
-
- **Multi-provider chat** — OpenAI, Anthropic, Google Gemini
|
|
10
|
+
- **Multi-provider chat** — OpenAI, Anthropic, Google Gemini via the OpenAI SDK
|
|
11
11
|
- **Built-in tools** — Read, write, edit, list, search, run shell commands, manage todos, and fetch web pages with `webfetch`
|
|
12
12
|
- **Approval system** — Inline confirmation for file writes, file edits, and non-safe shell commands
|
|
13
13
|
- **Session persistence** — Conversations and TODO state are saved automatically and can be resumed with `--session`
|
|
@@ -135,9 +135,6 @@ The codebase is organized so each part is easy to trace:
|
|
|
135
135
|
- Gemini 2.5 Flash
|
|
136
136
|
- Gemini 2.5 Pro
|
|
137
137
|
|
|
138
|
-
### Cerebras
|
|
139
|
-
- Cerebras — Llama 4 Scout 17B
|
|
140
|
-
|
|
141
138
|
## Why ProtoAgent?
|
|
142
139
|
|
|
143
140
|
ProtoAgent is not trying to be a giant framework. It is a compact reference implementation for how coding agents work in practice: configuration, dynamic system prompts, a streaming agent loop, tool registries, approvals, sessions, MCP, skills, and delegated sub-agents.
|