@protolabsai/proto 0.26.0 → 0.26.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: coding-agent-standards
|
|
3
|
-
description: Implementation quality checklist
|
|
3
|
+
description: Implementation quality checklist — invoke only when explicitly asked to run a standards check or quality gate review
|
|
4
4
|
agentOnly: true
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: verification-before-completion
|
|
3
|
-
description:
|
|
3
|
+
description: Verification checklist for claims of correctness — invoke only when explicitly asked to verify or audit work before a PR or release
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Verification Before Completion
|
package/cli.js
CHANGED
|
@@ -148789,7 +148789,7 @@ var init_tokenLimits = __esm({
|
|
|
148789
148789
|
"use strict";
|
|
148790
148790
|
init_esbuild_shims();
|
|
148791
148791
|
DEFAULT_TOKEN_LIMIT = 131072;
|
|
148792
|
-
DEFAULT_OUTPUT_TOKEN_LIMIT =
|
|
148792
|
+
DEFAULT_OUTPUT_TOKEN_LIMIT = 16e3;
|
|
148793
148793
|
LIMITS = {
|
|
148794
148794
|
"32k": 32768,
|
|
148795
148795
|
"64k": 65536,
|
|
@@ -171109,7 +171109,7 @@ __export(geminiContentGenerator_exports, {
|
|
|
171109
171109
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
171110
171110
|
});
|
|
171111
171111
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
171112
|
-
const version2 = "0.26.
|
|
171112
|
+
const version2 = "0.26.3";
|
|
171113
171113
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
171114
171114
|
const baseHeaders = {
|
|
171115
171115
|
"User-Agent": userAgent2
|
|
@@ -172766,7 +172766,7 @@ You are proto, an interactive CLI agent built by protoLabs.studio, specializing
|
|
|
172766
172766
|
- **Style & Structure:** Mimic the style (formatting, naming), structure, framework choices, typing, and architectural patterns of existing code in the project.
|
|
172767
172767
|
- **Idiomatic Changes:** When editing, understand the local context (imports, functions/classes) to ensure your changes integrate naturally and idiomatically.
|
|
172768
172768
|
- **Comments:** Add code comments sparingly. Focus on *why* something is done, especially for complex logic, rather than *what* is done. Only add high-value comments if necessary for clarity or if requested by the user. Do not edit comments that are separate from the code you are changing. *NEVER* talk to the user or describe your changes through comments.
|
|
172769
|
-
- **Proactiveness:** Fulfill the user's request thoroughly.
|
|
172769
|
+
- **Proactiveness:** Fulfill the user's request thoroughly. Do not add tests, documentation, or other artifacts beyond the scope of the request unless explicitly asked.
|
|
172770
172770
|
- **Confirm Ambiguity/Expansion:** Do not take significant actions beyond the clear scope of the request without confirming with the user. If asked *how* to do something, explain first, don't just do it.
|
|
172771
172771
|
- **Explaining Changes:** After completing a code modification or file operation *do not* provide summaries unless asked.
|
|
172772
172772
|
- **Path Construction:** Before using any file system tool (e.g., ${ToolNames.READ_FILE}' or '${ToolNames.WRITE_FILE}'), you must construct the full absolute path for the file_path argument. Always combine the absolute path of the project's root directory with the file's path relative to the root. For example, if the project root is /path/to/project/ and the file is foo/bar/baz.txt, the final path you must use is /path/to/project/foo/bar/baz.txt. If the user provides a relative path, you must resolve it against the root directory to create an absolute path.
|
|
@@ -172836,7 +172836,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring,
|
|
|
172836
172836
|
- **Plan:** After understanding the user's request, create an initial plan based on your existing knowledge and any immediately obvious context. Use '${ToolNames.TASK_CREATE}' to capture this rough plan for complex or multi-step work. Don't wait for complete understanding - start with what you know.
|
|
172837
172837
|
- **Implement:** Begin implementing the plan while gathering additional context as needed. Use '${ToolNames.GREP}', '${ToolNames.GLOB}', and '${ToolNames.READ_FILE}' tools strategically when you encounter specific unknowns during implementation. Use the available tools (e.g., '${ToolNames.EDIT}', '${ToolNames.WRITE_FILE}' '${ToolNames.SHELL}' ...) to act on the plan, strictly adhering to the project's established conventions (detailed under 'Core Mandates').
|
|
172838
172838
|
- **Adapt:** As you discover new information or encounter obstacles, update your plan and tasks accordingly. Use ${ToolNames.TASK_UPDATE} to mark tasks as in_progress when starting and completed when finishing. Use ${ToolNames.TASK_CREATE} to add new tasks if the scope expands. Refine your approach based on what you learn.
|
|
172839
|
-
- **Verify (Tests):**
|
|
172839
|
+
- **Verify (Tests):** Only run tests if the user asks, or if a task.yaml / verification script is specified for the task.
|
|
172840
172840
|
- **Verify (Match the verifier):** When a task specifies a test file, task.yaml, or verification script, read it before verifying your own output. Your implementation must satisfy the *exact* tool or function the verifier uses \u2014 not just produce plausible-looking output using a different library or algorithm. A self-check that passes with the wrong tool is not a passing check.
|
|
172841
172841
|
- **Verify (Standards):** VERY IMPORTANT: After making code changes, execute the project-specific build, linting and type-checking commands (e.g., 'tsc', 'npm run lint', 'ruff check .') that you have identified for this project (or obtained from the user). This ensures code quality and adherence to standards. If unsure about these commands, you can ask the user if they'd like you to run them and if so how to.
|
|
172842
172842
|
|
|
@@ -416089,7 +416089,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
416089
416089
|
// packages/cli/src/utils/version.ts
|
|
416090
416090
|
async function getCliVersion() {
|
|
416091
416091
|
const pkgJson = await getPackageJson();
|
|
416092
|
-
return "0.26.
|
|
416092
|
+
return "0.26.3";
|
|
416093
416093
|
}
|
|
416094
416094
|
__name(getCliVersion, "getCliVersion");
|
|
416095
416095
|
|
|
@@ -423861,7 +423861,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
423861
423861
|
|
|
423862
423862
|
// packages/cli/src/generated/git-commit.ts
|
|
423863
423863
|
init_esbuild_shims();
|
|
423864
|
-
var GIT_COMMIT_INFO = "
|
|
423864
|
+
var GIT_COMMIT_INFO = "e2418fd12";
|
|
423865
423865
|
|
|
423866
423866
|
// packages/cli/src/utils/systemInfo.ts
|
|
423867
423867
|
async function getNpmVersion() {
|
|
@@ -476480,6 +476480,11 @@ var StatusBar = /* @__PURE__ */ __name(({
|
|
|
476480
476480
|
paddingX: 1,
|
|
476481
476481
|
children: [
|
|
476482
476482
|
/* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Text3, { color: theme.text.accent, bold: true, children: "\u27E1" }),
|
|
476483
|
+
/* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Sep, {}),
|
|
476484
|
+
/* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(Badge, { dim: true, children: [
|
|
476485
|
+
/* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Text3, { children: "\u2B21 " }),
|
|
476486
|
+
/* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Text3, { children: os38.hostname() })
|
|
476487
|
+
] }),
|
|
476483
476488
|
activeAgents.map((agent) => {
|
|
476484
476489
|
const label = agent.agentName === "session-memory" ? agent.toolName ? "\u21BA notes: writing" : `\u21BA notes: turn ${agent.round}` : agent.toolName ? `\u27F3 ${agent.agentName}: ${agent.toolName}` : `\u27F3 ${agent.agentName}: turn ${agent.round}`;
|
|
476485
476490
|
return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(import_react132.default.Fragment, { children: [
|
|
@@ -491526,7 +491531,7 @@ var QwenAgent = class {
|
|
|
491526
491531
|
async initialize(args2) {
|
|
491527
491532
|
this.clientCapabilities = args2.clientCapabilities;
|
|
491528
491533
|
const authMethods = buildAuthMethods();
|
|
491529
|
-
const version2 = "0.26.
|
|
491534
|
+
const version2 = "0.26.3";
|
|
491530
491535
|
return {
|
|
491531
491536
|
protocolVersion: PROTOCOL_VERSION,
|
|
491532
491537
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protolabsai/proto",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.3",
|
|
4
4
|
"description": "proto - AI-powered coding agent",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"bundled"
|
|
22
22
|
],
|
|
23
23
|
"config": {
|
|
24
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.26.
|
|
24
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.26.3"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"optionalDependencies": {
|