rushes 0.10.0 → 0.10.1
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rushes",
|
|
3
3
|
"description": "A local review desk for video made with AI agents: timecoded notes, script edits and audio picks your agent reads and acts on.",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.1",
|
|
5
5
|
"author": { "name": "Red Morley Hewitt" },
|
|
6
6
|
"homepage": "https://github.com/iamredmh/rushes",
|
|
7
7
|
"repository": "https://github.com/iamredmh/rushes",
|
|
@@ -5,7 +5,9 @@ import { oneLine } from "./labels.js";
|
|
|
5
5
|
export const AGENT_LINES = "Before you start on each note, call rushes_working_on with the note's id and what you are doing, in a few plain words.\n" +
|
|
6
6
|
"If you are not sure what a note means, ask on the note with rushes_reply (no status) and go on to the next one. The user answers on the note.\n" +
|
|
7
7
|
"Only add a new version when the picture or sound changed.\n" +
|
|
8
|
-
"Wait for each command to finish before you reply on a note; do not run work as a background task
|
|
8
|
+
"Wait for each command to finish before you reply on a note; do not run work as a background task.\n" +
|
|
9
|
+
"Read and search files with your own file tools, not shell commands (no cat, head, grep, or python -c to read a file). " +
|
|
10
|
+
"Keep each shell command to one plain command; do not chain with && or ; or pipe, because a chained command can only be allowed once at a time.";
|
|
9
11
|
/** An Activity line is one line of at most this many characters. */
|
|
10
12
|
export const ACTIVITY_LINE_MAX = 120;
|
|
11
13
|
/** A command in a line is cut to this many characters. */
|
|
@@ -71,10 +71,26 @@ export const ASK_MODE = {
|
|
|
71
71
|
export function clientMeta(agent) {
|
|
72
72
|
return agent === "codex" ? { jetbrains: { air: { version: 1, capabilities: ["sessionFailure"] } } } : undefined;
|
|
73
73
|
}
|
|
74
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* The model and effort a Claude session starts on: Sonnet at medium effort. Notes are mostly small edits to existing
|
|
76
|
+
* work, so the cheaper model is the default. "sonnet" is the adapter's family alias (resolveModelPreference,
|
|
77
|
+
* dist/session-model.js), the newest Sonnet the account offers. The adapter skips an entry it refuses (an unknown
|
|
78
|
+
* model, an effort level the model lacks: applyInitialConfigOptions, dist/initial-config-options.js) and the session
|
|
79
|
+
* keeps the user's own default, so a failure here never stops a Send. Model goes before effort: the levels depend on it.
|
|
80
|
+
*/
|
|
81
|
+
export const CLAUDE_MODEL = "sonnet";
|
|
82
|
+
export const CLAUDE_EFFORT = "medium";
|
|
83
|
+
/** Extra params for session/new and session/load: Claude's initial mode, so the session is never in `auto` (R14), then its model. */
|
|
75
84
|
export function sessionSetup(agent) {
|
|
76
|
-
if (agent === "claude")
|
|
77
|
-
return {
|
|
85
|
+
if (agent === "claude") {
|
|
86
|
+
return {
|
|
87
|
+
configOptions: [
|
|
88
|
+
{ configId: "mode", value: ASK_MODE.claude },
|
|
89
|
+
{ configId: "model", value: CLAUDE_MODEL },
|
|
90
|
+
{ configId: "effort", value: CLAUDE_EFFORT },
|
|
91
|
+
],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
78
94
|
return {};
|
|
79
95
|
}
|
|
80
96
|
/** How to start the ACP adapter for an agent, in the project folder. */
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The Rushes version. A leaf module so any server file can import it without a cycle. */
|
|
2
|
-
export const VERSION = "0.10.
|
|
2
|
+
export const VERSION = "0.10.1";
|
package/package.json
CHANGED