@stringsync/splates 0.0.57 → 0.0.59
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 +10 -10
- package/blockers.d.ts +32 -0
- package/evals.d.ts +3 -0
- package/index.js +554 -319
- package/package.json +3 -3
- package/notes.d.ts +0 -4
package/README.md
CHANGED
|
@@ -50,16 +50,6 @@ XML report to `$SPLATES_TEST_REPORT` (`bun test --reporter=junit
|
|
|
50
50
|
than 5 seconds. A check that appends `{"phase": "<name>", "ms": <n>}` lines to
|
|
51
51
|
`$SPLATES_GATE_PHASES` has those phase times kept in the merge's log entry.
|
|
52
52
|
|
|
53
|
-
**Project notes.** Keep durable conventions, decisions and other project context
|
|
54
|
-
as short Markdown files in `notes/`, one thing per file, edited in place.
|
|
55
|
-
Each starts with frontmatter such as `description: Why releases use explicit exports`
|
|
56
|
-
between `---` lines. `splates notes` prints those descriptions in filename
|
|
57
|
-
order, one per line; a missing directory prints nothing successfully. Read
|
|
58
|
-
the files directly or search them with `rg`. Set `notesDir: "docs/context"`
|
|
59
|
-
in `splates.config.ts` to move the directory, relative to the checkout root
|
|
60
|
-
or to an absolute path. Notes change through tasks, just as code does.
|
|
61
|
-
Keep sensitive information out of them.
|
|
62
|
-
|
|
63
53
|
**One premerge at a time.** Each merge's gate (`postRewrite` and
|
|
64
54
|
`preMerge`) holds the machine's premerge lock, so merges from several agents
|
|
65
55
|
test one after another rather than run the machine out of memory. A gate
|
|
@@ -291,6 +281,16 @@ better or worse, and say what to change when one stands out. Fixed rules over
|
|
|
291
281
|
the counts make those calls, not a model, so the same outcomes always read
|
|
292
282
|
the same.
|
|
293
283
|
|
|
284
|
+
### Kimi Code
|
|
285
|
+
|
|
286
|
+
Kimi Code is on the default roster beside Claude and Codex, started as
|
|
287
|
+
`kimi acp`, Kimi's own ACP server. Its installer leaves `kimi` off the PATH,
|
|
288
|
+
so splates runs `KIMI_PATH` when set, else `kimi` on the PATH, else
|
|
289
|
+
`~/.kimi-code/bin/kimi`. A roster written before Kimi joined gains it once,
|
|
290
|
+
when the server starts on a machine with Kimi installed; take it off and it
|
|
291
|
+
stays off. Its models go by their full ids, such as `kimi-code/k3.1-pro`.
|
|
292
|
+
Sign in first with `kimi login`: splates never signs in for it.
|
|
293
|
+
|
|
294
294
|
### Optional OpenCode ACP agent
|
|
295
295
|
|
|
296
296
|
Open **Settings → Setup** and visit the optional OpenCode steps. Check this
|
package/blockers.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ElsewhereBlocker, ElsewhereBoards } from "@stringsync/splates-server/board";
|
|
2
|
+
/**
|
|
3
|
+
* Reads `--blocked-by` and `--remove-blocked-by` in the project at `here`:
|
|
4
|
+
* a number names a task here, `webappwiz#404` or `webappwiz #404` one of
|
|
5
|
+
* another project, as `boards` finds it, and this project's own slug a task
|
|
6
|
+
* here. A task of another project that `--blocked-by` names has to be open
|
|
7
|
+
* there; one `--remove-blocked-by` names need not.
|
|
8
|
+
*/
|
|
9
|
+
export declare function blockerFlags({ boards, here, blockedBy, removeBlockedBy, }: BlockerFlagsOptions): Promise<BlockerFlags>;
|
|
10
|
+
/** What `blockerFlags` reads, and where. */
|
|
11
|
+
export interface BlockerFlagsOptions {
|
|
12
|
+
boards: ElsewhereBoards;
|
|
13
|
+
/** This project's main tree. */
|
|
14
|
+
here: string;
|
|
15
|
+
/** `--blocked-by`, as given. */
|
|
16
|
+
blockedBy?: readonly string[];
|
|
17
|
+
/** `--remove-blocked-by`, as given. */
|
|
18
|
+
removeBlockedBy?: readonly string[];
|
|
19
|
+
}
|
|
20
|
+
/** The tasks the flags name, here and in other projects. */
|
|
21
|
+
export interface BlockerFlags {
|
|
22
|
+
blockedBy: number[];
|
|
23
|
+
blockedElsewhere: ElsewhereBlocker[];
|
|
24
|
+
/** Those no longer to block it. */
|
|
25
|
+
unblocked: {
|
|
26
|
+
ids: number[];
|
|
27
|
+
elsewhere: {
|
|
28
|
+
project: string;
|
|
29
|
+
id: number;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
32
|
+
}
|
package/evals.d.ts
ADDED