@xfey/tutti 0.1.17 → 0.1.19
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/collaboration-state/run-recording.js +3 -0
- package/dist/collaboration-state/run-results.js +3 -0
- package/dist/collaboration-state/types.d.ts +1 -0
- package/dist/control-plane/index.js +3 -0
- package/dist/control-plane/types.d.ts +1 -0
- package/dist/control-plane/worklist-terminal-feedback.d.ts +1 -0
- package/dist/control-plane/worklist-terminal-feedback.js +109 -0
- package/dist/run-pipeline/openai.js +6 -0
- package/dist/run-pipeline/promotion-reconcile.d.ts +2 -2
- package/dist/run-pipeline/promotion-reconcile.js +3 -0
- package/dist/run-pipeline/result-projections.d.ts +1 -0
- package/dist/run-pipeline/result-projections.js +3 -0
- package/dist/run-pipeline/task-run-output.d.ts +9 -3
- package/dist/run-pipeline/task-run-output.js +24 -4
- package/dist/server-shell/http/routes/project-api/openapi-execution-routes.d.ts +1 -0
- package/dist/server-shell/http/routes/project-api/openapi-viewer-routes.d.ts +2 -0
- package/dist/server-shell/http/routes/project-api/openapi.d.ts +1 -0
- package/dist/server-shell/http/routes/project-api/reference-files.js +9 -3
- package/dist/workspace-ops/constants.d.ts +1 -0
- package/dist/workspace-ops/constants.js +1 -0
- package/dist/workspace-ops/index.d.ts +2 -2
- package/dist/workspace-ops/index.js +2 -2
- package/dist/workspace-ops/reference-metadata.d.ts +2 -0
- package/dist/workspace-ops/reference-metadata.js +26 -1
- package/node_modules/@tutti/relay-client/package.json +1 -1
- package/node_modules/@tutti/shared/dist/schemas/api/clarifications.d.ts +9 -0
- package/node_modules/@tutti/shared/dist/schemas/api/index.d.ts +1 -1
- package/node_modules/@tutti/shared/dist/schemas/api/index.js +1 -1
- package/node_modules/@tutti/shared/dist/schemas/api/messages.d.ts +52 -0
- package/node_modules/@tutti/shared/dist/schemas/api/messages.js +10 -0
- package/node_modules/@tutti/shared/dist/schemas/api/runtime-events.d.ts +1 -0
- package/node_modules/@tutti/shared/dist/schemas/api/types.d.ts +2 -1
- package/node_modules/@tutti/shared/dist/schemas/api/viewer-reference.d.ts +14 -0
- package/node_modules/@tutti/shared/dist/schemas/api/viewer-reference.js +2 -0
- package/node_modules/@tutti/shared/dist/schemas/api/work-items.d.ts +3 -0
- package/node_modules/@tutti/shared/dist/schemas/api/work-items.js +2 -0
- package/node_modules/ws/lib/receiver.js +54 -0
- package/node_modules/ws/lib/sender.js +6 -1
- package/node_modules/ws/lib/websocket-server.js +8 -0
- package/node_modules/ws/lib/websocket.js +14 -0
- package/node_modules/ws/package.json +1 -1
- package/package.json +2 -2
- package/prompts/prompt-flow-map.md +2 -2
- package/prompts/runs/README.md +2 -1
- package/prompts/runs/task-continuation.md +8 -2
- package/prompts/runs/task-retry.md +8 -2
- package/prompts/runs/task-run.md +8 -2
- package/web/assets/index-4JInvPEN.js +29 -0
- package/web/assets/index-P5uZBm0s.css +1 -0
- package/web/index.html +2 -2
- package/web/assets/index-BhNJQ717.js +0 -29
- package/web/assets/index-mXkNKFjm.css +0 -1
|
@@ -57,6 +57,8 @@ Use attached skills only when they help the current task:
|
|
|
57
57
|
|
|
58
58
|
Human-uploaded reference material is kept in the repository under `docs/reference/`. If the task contract, project docs, or clarification answer makes a reference file relevant, read the actual repo file before relying on it. Do not infer reference contents from names, upload messages, media types, or paths.
|
|
59
59
|
|
|
60
|
+
`docs/reference/` is a user-visible file exchange area. Human uploads live under `docs/reference/files/` and `docs/reference/images/`. When this task produces files that project members should inspect directly, write them under `docs/reference/tutti/`. Use `docs/reference/tutti/<meaningful-folder>/...` when a folder name helps explain the output group; that folder name is shown directly in the References UI. Do not create ad hoc folders at the `docs/reference/` root. Files under `docs/reference/tutti/` are displayed automatically, so `user_note_candidate` may mention generated file names but should not include paths.
|
|
61
|
+
|
|
60
62
|
# Documentation
|
|
61
63
|
|
|
62
64
|
If this change affects stable project facts, usage, public behavior, interfaces, setup, project organization, maintenance context, or project working rules, update the relevant project documentation in the same worktree.
|
|
@@ -88,6 +90,8 @@ If the task creates or updates a user-viewable web page, static page, single-pag
|
|
|
88
90
|
|
|
89
91
|
Write `summary` as a concise, human-readable result note for project members who may not inspect the code: what changed, what was found, or why the Run cannot continue. Do not narrate process, repeat structured Tutti status such as checks / docs / promotion / changed paths, or include secrets, host paths, raw logs, provider output, or long excerpts.
|
|
90
92
|
|
|
93
|
+
For `completed` and `completed_no_repo_changes`, also return `user_note_candidate`. Use a short user-facing sentence only when the final completion card should tell project members a conclusion, result, or generated file name directly. Use `null` when there is no distinct user-facing note. Do not repeat `summary`, and do not include file paths.
|
|
94
|
+
|
|
91
95
|
# Output
|
|
92
96
|
|
|
93
97
|
Return JSON matching the structured output schema. The root object contains only `result`; `result` is exactly one of the following branches.
|
|
@@ -98,7 +102,8 @@ Completed:
|
|
|
98
102
|
{
|
|
99
103
|
"result": {
|
|
100
104
|
"completed": {
|
|
101
|
-
"summary": "The clarified implementation is now complete and the relevant project notes reflect the result."
|
|
105
|
+
"summary": "The clarified implementation is now complete and the relevant project notes reflect the result.",
|
|
106
|
+
"user_note_candidate": "The generated comparison file is ready to review."
|
|
102
107
|
}
|
|
103
108
|
}
|
|
104
109
|
}
|
|
@@ -110,7 +115,8 @@ Completed with no repository changes:
|
|
|
110
115
|
{
|
|
111
116
|
"result": {
|
|
112
117
|
"completed_no_repo_changes": {
|
|
113
|
-
"summary": "The clarified task is complete and did not require repository changes."
|
|
118
|
+
"summary": "The clarified task is complete and did not require repository changes.",
|
|
119
|
+
"user_note_candidate": null
|
|
114
120
|
}
|
|
115
121
|
}
|
|
116
122
|
}
|
|
@@ -62,6 +62,8 @@ Use attached skills only when they help the current task:
|
|
|
62
62
|
|
|
63
63
|
Human-uploaded reference material is kept in the repository under `docs/reference/`. If the task contract, project docs, or correction context makes a reference file relevant, read the actual repo file before relying on it. Do not infer reference contents from names, upload messages, media types, or paths.
|
|
64
64
|
|
|
65
|
+
`docs/reference/` is a user-visible file exchange area. Human uploads live under `docs/reference/files/` and `docs/reference/images/`. When this task produces files that project members should inspect directly, write them under `docs/reference/tutti/`. Use `docs/reference/tutti/<meaningful-folder>/...` when a folder name helps explain the output group; that folder name is shown directly in the References UI. Do not create ad hoc folders at the `docs/reference/` root. Files under `docs/reference/tutti/` are displayed automatically, so `user_note_candidate` may mention generated file names but should not include paths.
|
|
66
|
+
|
|
65
67
|
# Documentation
|
|
66
68
|
|
|
67
69
|
If this change affects stable project facts, usage, public behavior, interfaces, setup, project organization, maintenance context, or project working rules, update the relevant project documentation in the same worktree.
|
|
@@ -93,6 +95,8 @@ If the task creates or updates a user-viewable web page, static page, single-pag
|
|
|
93
95
|
|
|
94
96
|
Write `summary` as a concise, human-readable result note for project members who may not inspect the code: what changed, what was found, or why the Run cannot continue. Do not narrate process, repeat structured Tutti status such as checks / docs / promotion / changed paths, or include secrets, host paths, raw logs, provider output, or long excerpts.
|
|
95
97
|
|
|
98
|
+
For `completed` and `completed_no_repo_changes`, also return `user_note_candidate`. Use a short user-facing sentence only when the final completion card should tell project members a conclusion, result, or generated file name directly. Use `null` when there is no distinct user-facing note. Do not repeat `summary`, and do not include file paths.
|
|
99
|
+
|
|
96
100
|
# Output
|
|
97
101
|
|
|
98
102
|
Return JSON matching the structured output schema. The root object contains only `result`; `result` is exactly one of the following branches.
|
|
@@ -103,7 +107,8 @@ Completed:
|
|
|
103
107
|
{
|
|
104
108
|
"result": {
|
|
105
109
|
"completed": {
|
|
106
|
-
"summary": "The task result is now complete within the frozen scope after correcting the previous candidate."
|
|
110
|
+
"summary": "The task result is now complete within the frozen scope after correcting the previous candidate.",
|
|
111
|
+
"user_note_candidate": "The corrected export file is ready to review."
|
|
107
112
|
}
|
|
108
113
|
}
|
|
109
114
|
}
|
|
@@ -115,7 +120,8 @@ Completed with no repository changes:
|
|
|
115
120
|
{
|
|
116
121
|
"result": {
|
|
117
122
|
"completed_no_repo_changes": {
|
|
118
|
-
"summary": "The requested retry is complete and did not require repository changes."
|
|
123
|
+
"summary": "The requested retry is complete and did not require repository changes.",
|
|
124
|
+
"user_note_candidate": null
|
|
119
125
|
}
|
|
120
126
|
}
|
|
121
127
|
}
|
package/prompts/runs/task-run.md
CHANGED
|
@@ -44,6 +44,8 @@ Use attached skills only when they help the current task:
|
|
|
44
44
|
|
|
45
45
|
Human-uploaded reference material is kept in the repository under `docs/reference/`. If the task contract or project docs make a reference file relevant, read the actual repo file before relying on it. Do not infer reference contents from names, upload messages, media types, or paths.
|
|
46
46
|
|
|
47
|
+
`docs/reference/` is a user-visible file exchange area. Human uploads live under `docs/reference/files/` and `docs/reference/images/`. When this task produces files that project members should inspect directly, write them under `docs/reference/tutti/`. Use `docs/reference/tutti/<meaningful-folder>/...` when a folder name helps explain the output group; that folder name is shown directly in the References UI. Do not create ad hoc folders at the `docs/reference/` root. Files under `docs/reference/tutti/` are displayed automatically, so `user_note_candidate` may mention generated file names but should not include paths.
|
|
48
|
+
|
|
47
49
|
# Documentation
|
|
48
50
|
|
|
49
51
|
If this change affects stable project facts, usage, public behavior, interfaces, setup, project organization, maintenance context, or project working rules, update the relevant project documentation in the same worktree.
|
|
@@ -75,6 +77,8 @@ If the task creates or updates a user-viewable web page, static page, single-pag
|
|
|
75
77
|
|
|
76
78
|
Write `summary` as a concise, human-readable result note for project members who may not inspect the code: what changed, what was found, or why the Run cannot continue. Do not narrate process, repeat structured Tutti status such as checks / docs / promotion / changed paths, or include secrets, host paths, raw logs, provider output, or long excerpts.
|
|
77
79
|
|
|
80
|
+
For `completed` and `completed_no_repo_changes`, also return `user_note_candidate`. Use a short user-facing sentence only when the final completion card should tell project members a conclusion, result, or generated file name directly. Use `null` when there is no distinct user-facing note. Do not repeat `summary`, and do not include file paths.
|
|
81
|
+
|
|
78
82
|
# Output
|
|
79
83
|
|
|
80
84
|
Return JSON matching the structured output schema. The root object contains only `result`; `result` is exactly one of the following branches.
|
|
@@ -85,7 +89,8 @@ Completed:
|
|
|
85
89
|
{
|
|
86
90
|
"result": {
|
|
87
91
|
"completed": {
|
|
88
|
-
"summary": "The requested UI state is now available, with the related usage notes updated."
|
|
92
|
+
"summary": "The requested UI state is now available, with the related usage notes updated.",
|
|
93
|
+
"user_note_candidate": "The updated usage notes file is ready to review."
|
|
89
94
|
}
|
|
90
95
|
}
|
|
91
96
|
}
|
|
@@ -97,7 +102,8 @@ Completed with no repository changes:
|
|
|
97
102
|
{
|
|
98
103
|
"result": {
|
|
99
104
|
"completed_no_repo_changes": {
|
|
100
|
-
"summary": "The requested review is complete and did not require repository changes."
|
|
105
|
+
"summary": "The requested review is complete and did not require repository changes.",
|
|
106
|
+
"user_note_candidate": null
|
|
101
107
|
}
|
|
102
108
|
}
|
|
103
109
|
}
|