@spotpatch/vite 1.3.0 → 1.4.0
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 +5 -0
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/runtime-client.js +21 -24
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -481,7 +481,7 @@ import path2 from "path";
|
|
|
481
481
|
// package.json
|
|
482
482
|
var package_default = {
|
|
483
483
|
name: "@spotpatch/vite",
|
|
484
|
-
version: "1.
|
|
484
|
+
version: "1.4.0",
|
|
485
485
|
description: "Vite development plugin for SpotPatch.",
|
|
486
486
|
license: "MIT",
|
|
487
487
|
repository: {
|
|
@@ -769,7 +769,7 @@ function createAgentJobManager(options) {
|
|
|
769
769
|
const eventBase = (job) => {
|
|
770
770
|
job.sequence += 1;
|
|
771
771
|
return {
|
|
772
|
-
schemaVersion:
|
|
772
|
+
schemaVersion: 2,
|
|
773
773
|
sequence: job.sequence,
|
|
774
774
|
jobId: job.id,
|
|
775
775
|
status: job.status,
|
|
@@ -2043,6 +2043,8 @@ var STATUS_BY_ERROR = Object.freeze({
|
|
|
2043
2043
|
[ERROR_CODES8.WORKTREE_LOCAL_CHANGES_UNSUPPORTED]: 409,
|
|
2044
2044
|
[ERROR_CODES8.TOOL_DENIED]: 403,
|
|
2045
2045
|
[ERROR_CODES8.TOOL_INPUT_INVALID]: 422,
|
|
2046
|
+
[ERROR_CODES8.TOOL_ARGUMENTS_INVALID]: 422,
|
|
2047
|
+
[ERROR_CODES8.TOOL_CALL_ID_CONFLICT]: 422,
|
|
2046
2048
|
[ERROR_CODES8.TOOL_PATH_DENIED]: 403,
|
|
2047
2049
|
[ERROR_CODES8.PATCH_REJECTED]: 422,
|
|
2048
2050
|
[ERROR_CODES8.VALIDATION_FAILED]: 422,
|
|
@@ -2076,6 +2078,8 @@ var PUBLIC_MESSAGES = Object.freeze({
|
|
|
2076
2078
|
[ERROR_CODES8.WORKTREE_LOCAL_CHANGES_UNSUPPORTED]: "The local workspace state cannot be isolated safely.",
|
|
2077
2079
|
[ERROR_CODES8.TOOL_DENIED]: "The Agent tool request was denied.",
|
|
2078
2080
|
[ERROR_CODES8.TOOL_INPUT_INVALID]: "The Agent tool input was invalid.",
|
|
2081
|
+
[ERROR_CODES8.TOOL_ARGUMENTS_INVALID]: "The Agent tool arguments are invalid.",
|
|
2082
|
+
[ERROR_CODES8.TOOL_CALL_ID_CONFLICT]: "A tool call ID conflicts within one Agent turn.",
|
|
2079
2083
|
[ERROR_CODES8.TOOL_PATH_DENIED]: "The Agent tool path was denied.",
|
|
2080
2084
|
[ERROR_CODES8.PATCH_REJECTED]: "The proposed patch was rejected.",
|
|
2081
2085
|
[ERROR_CODES8.VALIDATION_FAILED]: "The proposed change failed validation.",
|