@cat-factory/kernel 0.13.1 → 0.13.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.
|
@@ -23,9 +23,11 @@ export interface RepoFiles {
|
|
|
23
23
|
createBranch(branch: string, fromSha: string): Promise<void>;
|
|
24
24
|
/**
|
|
25
25
|
* Commit a set of files onto a branch via the Git Data API (blob → tree → commit →
|
|
26
|
-
* ref)
|
|
27
|
-
*
|
|
28
|
-
*
|
|
26
|
+
* ref), optionally DELETING paths (`input.deletions`) in the same commit — so a
|
|
27
|
+
* deterministic render that drops a module/group also prunes its stale artifact file.
|
|
28
|
+
* Mirrors {@link GitHubClient.commitFiles}; the bound installation/repo are implicit.
|
|
29
|
+
* An empty/no-op change is the caller's concern (render is deterministic, so
|
|
30
|
+
* re-committing identical bytes is avoided by comparing the version hash).
|
|
29
31
|
*/
|
|
30
32
|
commitFiles(input: CommitFilesInput): Promise<CommitFilesResult>;
|
|
31
33
|
/** Open a pull request (idempotent: returns the existing open PR if one matches head/base). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo-files.d.ts","sourceRoot":"","sources":["../../src/ports/repo-files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AACnG,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,eAAe,EAChB,MAAM,oBAAoB,CAAA;AAiB3B,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC,CAAA;IACvE;;;OAGG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACzE;;;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M,EAAE,GAAG,EAAE,aAAa,KAAK,SAAS,CAAA;AAExF,kFAAkF;AAClF,MAAM,WAAW,cAAc;IAC7B,wEAAwE;IACxE,IAAI,EAAE,SAAS,CAAA;IACf,sFAAsF;IACtF,UAAU,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAClC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,KACZ,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/kernel",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"description": "Shared vocabulary, pure logic, and port interfaces for the Agent Architecture Board.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"ai": "^6.0.209",
|
|
28
|
-
"@cat-factory/contracts": "0.
|
|
28
|
+
"@cat-factory/contracts": "0.14.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"typescript": "7.0.1-rc"
|