@kitman-sh/cli 0.12.3 → 0.12.5
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/{chunk-pgwsdqmv.js → chunk-34qnpbzd.js} +1 -1
- package/dist/{chunk-wjras2ww.js → chunk-3bz9qx6q.js} +5 -5
- package/dist/{chunk-gveecr3x.js → chunk-4ab93yg1.js} +2 -2
- package/dist/{chunk-t274t00k.js → chunk-4ksq2d3k.js} +1 -1
- package/dist/{chunk-mme8k4ed.js → chunk-5746z147.js} +15 -3
- package/dist/{chunk-7xhv4h5g.js → chunk-csgqrjmm.js} +5 -1
- package/dist/{chunk-fw8a3mz4.js → chunk-gzfcxjzb.js} +11 -11
- package/dist/{chunk-v0pdng3f.js → chunk-mgn7vmf0.js} +1 -1
- package/dist/{chunk-xd0vsea9.js → chunk-p5ct5y4z.js} +22 -2
- package/dist/{chunk-hgmrjscs.js → chunk-q25thbsb.js} +6 -6
- package/dist/{chunk-hgwz7dph.js → chunk-rvgc6sb6.js} +1 -1
- package/dist/{chunk-7shcaqyz.js → chunk-sk0j9vm2.js} +2 -2
- package/dist/{chunk-rnp744p4.js → chunk-tfkgd2gr.js} +3 -3
- package/dist/{chunk-sk1hv006.js → chunk-ycb69yfq.js} +1 -1
- package/dist/{chunk-4e01r6b8.js → chunk-yj971evw.js} +3 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
layer4,
|
|
46
46
|
kitmanMcpServer,
|
|
47
47
|
RunnerRpcProtocolVersion
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-csgqrjmm.js";
|
|
49
49
|
import {
|
|
50
50
|
decodeText,
|
|
51
51
|
mkString,
|
|
@@ -57,19 +57,19 @@ import {
|
|
|
57
57
|
import {
|
|
58
58
|
Packument,
|
|
59
59
|
tarballMatches
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import"./chunk-
|
|
60
|
+
} from "./chunk-ycb69yfq.js";
|
|
61
|
+
import"./chunk-sk0j9vm2.js";
|
|
62
62
|
import {
|
|
63
63
|
AgentDeclaration,
|
|
64
64
|
KitDeclarations,
|
|
65
65
|
describeFlag,
|
|
66
66
|
Described
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-34qnpbzd.js";
|
|
68
68
|
import {
|
|
69
69
|
ChildProcessSpawner,
|
|
70
70
|
make3
|
|
71
71
|
} from "./chunk-mtkstrh3.js";
|
|
72
|
-
import"./chunk-
|
|
72
|
+
import"./chunk-4ksq2d3k.js";
|
|
73
73
|
|
|
74
74
|
// packages/sdk/src/build/index.ts
|
|
75
75
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-csgqrjmm.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ycb69yfq.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-csgqrjmm.js";
|
|
127
127
|
|
|
128
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
129
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
runMcpEffect,
|
|
171
171
|
createAgentAuthSignedFetch,
|
|
172
172
|
setupMcpAgentCredential
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-csgqrjmm.js";
|
|
174
174
|
import {
|
|
175
175
|
guard,
|
|
176
176
|
Id,
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
import {
|
|
195
195
|
searchDocs2,
|
|
196
196
|
readDoc2
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-p5ct5y4z.js";
|
|
198
198
|
import {
|
|
199
199
|
nextInt
|
|
200
200
|
} from "./chunk-gq7y5v3e.js";
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
withHeaders,
|
|
205
205
|
layerProtocolSocket,
|
|
206
206
|
ConnectionHooks
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-4ksq2d3k.js";
|
|
208
208
|
|
|
209
209
|
// apps/cli/src/mcp.ts
|
|
210
210
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -2306,6 +2306,7 @@ var generatedOpenApiSchemas = {
|
|
|
2306
2306
|
"36d948dddd6a9e41": JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"host":{"type":"string","maxLength":260,"pattern":"^(?:localhost|[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+|\\\\*\\\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*)(?::(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$"},"teamId":{"type":"string","minLength":1},"repoBindingId":{"type":"string","minLength":1},"addedByActorType":{"type":"string","enum":["human","delegated_agent","agent"]},"addedByActorId":{"type":"string"},"addedAt":{"type":"string","format":"date-time"}},"required":["host","addedByActorType","addedByActorId","addedAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
|
|
2307
2307
|
"3749951f52d45939": JSON.parse('{"type":"object","properties":{"memory":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"scopeType":{"type":"string","enum":["workspace","repository","loop","kit","team","task"]},"scopeId":{"type":"string","minLength":1},"content":{"type":"string","minLength":1,"maxLength":10000},"status":{"type":"string","enum":["proposed","accepted","rejected","deprecated"]},"confidence":{"type":"string","enum":["low","medium","high"]},"sourceType":{"type":"string","enum":["user","agent","session","context_pack","run"]},"sourceId":{"type":"string","minLength":1},"createdByActorType":{"type":"string","enum":["human","delegated_agent","agent"]},"createdByActorId":{"type":"string","minLength":1},"approvedByUserId":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","workspaceId","scopeType","scopeId","content","status","confidence","createdByActorType","createdByActorId","createdAt","updatedAt"],"additionalProperties":false}},"required":["memory"],"additionalProperties":false}'),
|
|
2308
2308
|
"37679628f4f55fcd": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","memoryId","input"],"properties":{"workspaceId":{"type":"string"},"memoryId":{"type":"string"},"input":{"type":"object","properties":{"team":{"type":["string","null"],"minLength":1}},"required":["team"],"additionalProperties":false}}}'),
|
|
2309
|
+
"37bebf105d6c50f3": JSON.parse('{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"kind":{"type":"string","enum":["change_request","plan","question","memory"]},"title":{"type":"string"},"task":{"type":"object","properties":{"id":{"type":"string","minLength":1},"key":{"type":"string"},"title":{"type":"string"}},"required":["id","key","title"],"additionalProperties":false},"run":{"type":"object","properties":{"id":{"type":"string","minLength":1},"loopId":{"type":"string"},"loopTitle":{"type":"string"}},"required":["id","loopId","loopTitle"],"additionalProperties":false},"askedBy":{"type":"object","properties":{"kind":{"type":"string","enum":["run","person","agent"]},"name":{"type":"string"},"onBehalfOf":{"type":"string"}},"required":["kind","name"],"additionalProperties":false},"askedAt":{"type":"string","format":"date-time"},"changeRequest":{"type":"object","properties":{"id":{"type":"string","minLength":1},"title":{"type":"string"},"url":{"type":"string"},"status":{"type":"string","enum":["draft","open"]},"head":{"type":"string"}},"required":["id","title","url","status"],"additionalProperties":false},"question":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1},"taskId":{"type":"string","minLength":1},"runId":{"type":"string","minLength":1},"stepKey":{"type":"string","minLength":1,"maxLength":240},"waitId":{"type":"string","minLength":1},"taskThreadEntryId":{"type":"string","minLength":1},"prompt":{"type":"string"},"options":{"type":"array","items":{"type":"string"}},"freeText":{"type":"boolean"},"optionDescriptions":{"type":"object","additionalProperties":{"type":"string"}},"recommended":{"type":"string"},"recommendationReason":{"type":"string"},"informationOnly":{"type":"boolean"},"default":{"type":"string","maxLength":4000,"pattern":"^(?![\\\\s\\\\S]*(?:(?:^|[^A-Za-z0-9])sk-[A-Za-z0-9_-]{16,}|ghp_[A-Za-z0-9_]+|github_pat_[A-Za-z0-9_]+|glpat-[A-Za-z0-9_-]+|\\\\b[Bb][Ee][Aa][Rr][Ee][Rr]\\\\s+[A-Za-z0-9._~+/=-]+|eyJ[A-Za-z0-9_-]+\\\\.[A-Za-z0-9_-]+\\\\.[A-Za-z0-9_-]+|[A-Za-z][A-Za-z0-9+.-]*:\\\\/\\\\/(?:[^\\\\s/?#]*@|[^\\\\s?#]*\\\\?)))[\\\\s\\\\S]*$"},"defaultAt":{"type":"string","format":"date-time"},"responderPolicy":{"type":"object","properties":{"eligibleMemberIds":{"type":"array","items":{"type":"string","minLength":1},"maxItems":100,"uniqueItems":true},"allowWorkspaceAdmins":{"type":"boolean"}},"required":["eligibleMemberIds","allowWorkspaceAdmins"],"additionalProperties":false},"status":{"type":"string","enum":["open","answered","resume_requested","resumed","resume_failed","expired","cancelled"]},"answer":{"type":"object","properties":{"value":{"type":"string","maxLength":4000,"pattern":"^(?![\\\\s\\\\S]*(?:(?:^|[^A-Za-z0-9])sk-[A-Za-z0-9_-]{16,}|ghp_[A-Za-z0-9_]+|github_pat_[A-Za-z0-9_]+|glpat-[A-Za-z0-9_-]+|\\\\b[Bb][Ee][Aa][Rr][Ee][Rr]\\\\s+[A-Za-z0-9._~+/=-]+|eyJ[A-Za-z0-9_-]+\\\\.[A-Za-z0-9_-]+\\\\.[A-Za-z0-9_-]+|[A-Za-z][A-Za-z0-9+.-]*:\\\\/\\\\/(?:[^\\\\s/?#]*@|[^\\\\s?#]*\\\\?)))[\\\\s\\\\S]*$"},"answeredByUserId":{"type":"string","minLength":1},"byDefault":{"type":"boolean"},"byAuto":{"type":"boolean"},"evidence":{"type":"object","properties":{"review":{"type":"string","minLength":1,"maxLength":240},"head":{"type":"string","minLength":1,"maxLength":240}},"additionalProperties":false},"answeredAt":{"type":"string","format":"date-time"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":240}},"required":["value","answeredAt","idempotencyKey"],"additionalProperties":false},"resolutionOutcome":{"type":"string","maxLength":4000,"pattern":"^(?![\\\\s\\\\S]*(?:(?:^|[^A-Za-z0-9])sk-[A-Za-z0-9_-]{16,}|ghp_[A-Za-z0-9_]+|github_pat_[A-Za-z0-9_]+|glpat-[A-Za-z0-9_-]+|\\\\b[Bb][Ee][Aa][Rr][Ee][Rr]\\\\s+[A-Za-z0-9._~+/=-]+|eyJ[A-Za-z0-9_-]+\\\\.[A-Za-z0-9_-]+\\\\.[A-Za-z0-9_-]+|[A-Za-z][A-Za-z0-9+.-]*:\\\\/\\\\/(?:[^\\\\s/?#]*@|[^\\\\s?#]*\\\\?)))[\\\\s\\\\S]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"resolvedAt":{"type":"string","format":"date-time"}},"required":["id","workspaceId","runId","stepKey","waitId","prompt","responderPolicy","status","createdAt","updatedAt"],"additionalProperties":false},"memory":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"scopeType":{"type":"string","enum":["workspace","repository","loop","kit","team","task"]},"scopeId":{"type":"string","minLength":1},"content":{"type":"string","minLength":1,"maxLength":10000},"status":{"type":"string","enum":["proposed","accepted","rejected","deprecated"]},"confidence":{"type":"string","enum":["low","medium","high"]},"sourceType":{"type":"string","enum":["user","agent","session","context_pack","run"]},"sourceId":{"type":"string","minLength":1},"createdByActorType":{"type":"string","enum":["human","delegated_agent","agent"]},"createdByActorId":{"type":"string","minLength":1},"approvedByUserId":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","workspaceId","scopeType","scopeId","content","status","confidence","createdByActorType","createdByActorId","createdAt","updatedAt"],"additionalProperties":false}},"required":["key","kind","title","askedBy","askedAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}'),
|
|
2309
2310
|
"37fab43b139adf37": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","viewId","starred"],"properties":{"workspaceId":{"type":"string"},"viewId":{"type":"string"},"starred":{"type":"boolean"}}}'),
|
|
2310
2311
|
"384e862dec50a0fa": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","projectId","input"],"properties":{"workspaceId":{"type":"string"},"projectId":{"type":"string"},"input":{"type":"object","properties":{"target":{"type":["string","null"],"enum":["default_branch","epic_branch"]}},"required":["target"],"additionalProperties":false}}}'),
|
|
2311
2312
|
"38775bffeb1b661b": JSON.parse('{"type":"object","additionalProperties":false,"required":["workspaceId","teamId","ruleId","rule"],"properties":{"workspaceId":{"type":"string"},"teamId":{"type":"string"},"ruleId":{"type":"string"},"rule":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","pattern":"^\\\\S[\\\\s\\\\S]*\\\\S$|^\\\\S$|^$","minLength":1,"maxLength":80},"enabled":{"type":"boolean"},"match":{"type":"string","enum":["all","any"]},"conditions":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string","enum":["creator"]},"userIds":{"type":"array","items":{"type":"string"},"minItems":1},"negate":{"type":"boolean"}},"required":["field","userIds","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["creatorIsMember"]},"negate":{"type":"boolean"}},"required":["field","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["origin"]},"kinds":{"type":"array","items":{"type":"string","enum":["manual","plan_ticket","launch","event","alert","migrated"]},"minItems":1},"negate":{"type":"boolean"}},"required":["field","kinds","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["labels"]},"match":{"type":"string","enum":["any","all"]},"labelIds":{"type":"array","items":{"type":"string"},"minItems":1},"negate":{"type":"boolean"}},"required":["field","match","labelIds","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["priority"]},"priorities":{"type":"array","items":{"type":"string","enum":["none","urgent","high","medium","low"]},"minItems":1},"negate":{"type":"boolean"}},"required":["field","priorities","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["repository"]},"repoBindingIds":{"type":"array","items":{"type":"string"}},"none":{"type":"boolean"},"negate":{"type":"boolean"}},"required":["field","repoBindingIds","none","negate"],"additionalProperties":true},{"type":"object","properties":{"field":{"type":"string","enum":["text"]},"text":{"type":"string","pattern":"^\\\\S[\\\\s\\\\S]*\\\\S$|^\\\\S$|^$","minLength":1},"negate":{"type":"boolean"}},"required":["field","text","negate"],"additionalProperties":true}]},"minItems":1},"actions":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["setTeam"]},"teamId":{"type":"string"}},"required":["kind","teamId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["setType"]},"typeId":{"type":"string"}},"required":["kind","typeId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["assign"]},"assigneeId":{"type":"string"}},"required":["kind","assigneeId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["addLabels"]},"labelIds":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["kind","labelIds"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["setPriority"]},"priority":{"type":"string","enum":["none","urgent","high","medium","low"]}},"required":["kind","priority"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["setRepository"]},"repoBindingId":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","enum":["accept"]},"stateId":{"type":"string"}},"required":["kind","stateId"],"additionalProperties":true}]},"minItems":1}},"required":["name","enabled","match","conditions","actions"],"additionalProperties":true}}}'),
|
|
@@ -2896,6 +2897,7 @@ var generatedOpenApiOperationContracts = {
|
|
|
2896
2897
|
setWorkspaceStorage: { inputSchemaId: "86f759a555d71b93", outputSchemaId: "d733a733a29e4e3c" },
|
|
2897
2898
|
showMyTeams: { inputSchemaId: "dd4a5e2723e2f6e7", outputSchemaId: "935476178234f00c" },
|
|
2898
2899
|
showProgramLoop: { inputSchemaId: "c4ea469671802a20", outputSchemaId: "647f9644facaa79a" },
|
|
2900
|
+
showReviewQueue: { inputSchemaId: "fcc72cba1350bf89", outputSchemaId: "37bebf105d6c50f3" },
|
|
2899
2901
|
showRun: { inputSchemaId: "c7cbf805dc240d5f", outputSchemaId: "2318a54668f41784" },
|
|
2900
2902
|
snoozeInbox: { inputSchemaId: "1a917d01cdebd0fc", outputSchemaId: "284a786bb4ef4742" },
|
|
2901
2903
|
snoozeTriageTask: { inputSchemaId: "4f7139b238c62b9c", outputSchemaId: "c74ab999e37f9557" },
|
|
@@ -4517,6 +4519,13 @@ var operationSpecs = [
|
|
|
4517
4519
|
tags: ["inbox"],
|
|
4518
4520
|
summary: "Runs on Tasks of your Teams, and Runs with no Task, one card per Task, in needsYou (open Questions, failed or stopped Runs), waitingOnYou (a ChangeRequest to review or a Proposal to decide), working and finished. Filter with `teamId`."
|
|
4519
4521
|
},
|
|
4522
|
+
{
|
|
4523
|
+
name: "showReviewQueue",
|
|
4524
|
+
parameters: ["workspaceId"],
|
|
4525
|
+
namespacePath: ["inbox", "reviewQueue"],
|
|
4526
|
+
tags: ["inbox"],
|
|
4527
|
+
summary: "Everything waiting on you across your Teams, oldest first: ChangeRequests a Run waits on a person to approve, plans to review, open Run Questions and, for owners and admins, proposed Memory. Each item names its Task, Run, when it was asked and who asked."
|
|
4528
|
+
},
|
|
4520
4529
|
{
|
|
4521
4530
|
name: "markInboxRead",
|
|
4522
4531
|
parameters: ["workspaceId", "input"],
|
|
@@ -7864,6 +7873,9 @@ class KitmanClient {
|
|
|
7864
7873
|
showMyTeams(workspaceId, options = {}) {
|
|
7865
7874
|
return this.run(this.effectClient.showMyTeams(workspaceId, options));
|
|
7866
7875
|
}
|
|
7876
|
+
showReviewQueue(workspaceId) {
|
|
7877
|
+
return this.run(this.effectClient.showReviewQueue(workspaceId));
|
|
7878
|
+
}
|
|
7867
7879
|
markInboxRead(workspaceId, input) {
|
|
7868
7880
|
return this.run(this.effectClient.markInboxRead(workspaceId, input));
|
|
7869
7881
|
}
|
|
@@ -356,7 +356,6 @@ import {
|
|
|
356
356
|
parseFdName,
|
|
357
357
|
fdName
|
|
358
358
|
} from "./chunk-mtkstrh3.js";
|
|
359
|
-
|
|
360
359
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
361
360
|
var makeEquivalence3 = Tuple;
|
|
362
361
|
|
|
@@ -12601,6 +12600,11 @@ class KitmanEffectClient {
|
|
|
12601
12600
|
headers: this.headers()
|
|
12602
12601
|
});
|
|
12603
12602
|
}
|
|
12603
|
+
showReviewQueue(workspaceId) {
|
|
12604
|
+
return this.request("showReviewQueue", `/workspaces/${segment(workspaceId)}/inbox/review-queue`, {
|
|
12605
|
+
headers: this.headers()
|
|
12606
|
+
});
|
|
12607
|
+
}
|
|
12604
12608
|
markInboxRead(workspaceId, input) {
|
|
12605
12609
|
return this.request("markInboxRead", `/workspaces/${segment(workspaceId)}/inbox/read`, {
|
|
12606
12610
|
method: "POST",
|
|
@@ -228,7 +228,7 @@ import {
|
|
|
228
228
|
harnessNames,
|
|
229
229
|
herdrRunnerCapabilities2,
|
|
230
230
|
declaredChecks
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-csgqrjmm.js";
|
|
232
232
|
import {
|
|
233
233
|
Id
|
|
234
234
|
} from "./chunk-q5w3v4k1.js";
|
|
@@ -989,10 +989,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
989
989
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
990
990
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
991
991
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
992
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
992
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-rvgc6sb6.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
993
993
|
});
|
|
994
994
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
995
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
995
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-rvgc6sb6.js")), (module) => module.updateHerdrCore(options))
|
|
996
996
|
});
|
|
997
997
|
var herdrCoreMissing = (error) => {
|
|
998
998
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -1412,7 +1412,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
1412
1412
|
});
|
|
1413
1413
|
var syncKits = (input) => gen(function* () {
|
|
1414
1414
|
const fs = yield* FileSystem;
|
|
1415
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
1415
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-yj971evw.js"));
|
|
1416
1416
|
const harnesses = yield* syncTargets(input.harness);
|
|
1417
1417
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
1418
1418
|
for (const { name, problem } of chain.skipped)
|
|
@@ -2331,7 +2331,7 @@ var package_default = {
|
|
|
2331
2331
|
};
|
|
2332
2332
|
|
|
2333
2333
|
// apps/cli/src/scaffold.ts
|
|
2334
|
-
var cliVersion = "0.12.
|
|
2334
|
+
var cliVersion = "0.12.5";
|
|
2335
2335
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
2336
2336
|
name,
|
|
2337
2337
|
private: true,
|
|
@@ -2483,7 +2483,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
|
|
|
2483
2483
|
|
|
2484
2484
|
// apps/cli/src/commands.ts
|
|
2485
2485
|
var ClientId = "kitman-cli";
|
|
2486
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
2486
|
+
var agentRuntime = promise(() => import("./chunk-q25thbsb.js"));
|
|
2487
2487
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
2488
2488
|
defaultValue: () => gen(function* () {
|
|
2489
2489
|
const tui = yield* tryPromise({
|
|
@@ -3507,7 +3507,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
3507
3507
|
});
|
|
3508
3508
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
3509
3509
|
defaultValue: () => (options) => gen(function* () {
|
|
3510
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
3510
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-tfkgd2gr.js"));
|
|
3511
3511
|
return yield* makeRunnerRpcClient({
|
|
3512
3512
|
runnerId: options.runnerId,
|
|
3513
3513
|
bearer: options.bearer,
|
|
@@ -4039,7 +4039,7 @@ function mcpCommand(args) {
|
|
|
4039
4039
|
if (command.action === "run") {
|
|
4040
4040
|
if (command.args.length > 0)
|
|
4041
4041
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
4042
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
4042
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-5746z147.js"));
|
|
4043
4043
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
4044
4044
|
}
|
|
4045
4045
|
if (command.action !== "setup")
|
|
@@ -4527,7 +4527,7 @@ function programLoopCommand(command) {
|
|
|
4527
4527
|
return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
|
|
4528
4528
|
});
|
|
4529
4529
|
}
|
|
4530
|
-
var docsModule = promise(() => import("./chunk-
|
|
4530
|
+
var docsModule = promise(() => import("./chunk-mgn7vmf0.js"));
|
|
4531
4531
|
function docsCommand(args) {
|
|
4532
4532
|
return gen(function* () {
|
|
4533
4533
|
const command = parseCommand(args);
|
|
@@ -5361,9 +5361,9 @@ function changeRequestCommand(args) {
|
|
|
5361
5361
|
yield* log(command.action === "approve" ? `Approved ${short} of ${changeRequest.title}. A Run waiting on approval of ${short} resumes; one waiting on another head does not.` : `Requested changes to ${short} of ${changeRequest.title}`);
|
|
5362
5362
|
});
|
|
5363
5363
|
}
|
|
5364
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
5364
|
+
var KitWriter = map8(promise(() => import("./chunk-3bz9qx6q.js")), (build) => build.writeKit);
|
|
5365
5365
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
5366
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
5366
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-3bz9qx6q.js")), (build) => build.buildKit(directory))
|
|
5367
5367
|
});
|
|
5368
5368
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
5369
5369
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -312,7 +312,7 @@ Open the item and use **Start run** in it: pick the Loop, and give what is missi
|
|
|
312
312
|
path: "inbox",
|
|
313
313
|
level: 1,
|
|
314
314
|
link: "https://kitman.sh/knowledge/docs/inbox",
|
|
315
|
-
text: `What arrives in your Inbox, acting on it in place, and the My Teams view.
|
|
315
|
+
text: `What arrives in your Inbox, acting on it in place, the review queue and the My Teams view.
|
|
316
316
|
|
|
317
317
|
Kitman opens on your Inbox: the work that needs you, and news about the work you care about. Each item is one Task, Run or Proposal, with every Notification about it, newest first, and what is new since you last looked.`
|
|
318
318
|
},
|
|
@@ -350,6 +350,26 @@ Mark items read or unread, done, or snooze them until later. A new Notification
|
|
|
350
350
|
From the keyboard: **J** and **K** move between items, **Enter** opens one and **Esc** closes it, **E** marks it done, **U** read or unread, **H** snoozes, and **Z** undoes the last done or snooze. With a Task open, **C** replies, **S**, **P** and **A** change its state, priority and assignee, and **R** starts a Run. **?** lists them all with the control that does the same.
|
|
351
351
|
|
|
352
352
|
New items arrive live, and the navigation shows how many are unread.`
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
title: "Inbox \u203A Review queue",
|
|
356
|
+
path: "inbox#review-queue",
|
|
357
|
+
level: 2,
|
|
358
|
+
link: "https://kitman.sh/knowledge/docs/inbox#review-queue",
|
|
359
|
+
text: `## Review queue
|
|
360
|
+
|
|
361
|
+
The **Review queue** lists everything waiting on you, oldest first, on one page: your Teams' open ChangeRequests that wait on a person's review, plans to review, the open Run Questions you may answer, and, for Workspace owners and admins, proposed Memory. Each item shows its Task, its Run, how long it has waited and who asked: the Run's Loop and the person who started it, or whoever opened the ChangeRequest or proposed the Memory.
|
|
362
|
+
|
|
363
|
+
From the keyboard: **J** and **K** move between items, **A** approves, **R** requests changes, **O** opens the item on its own page and **S** skips it to the end of the queue for now. On a narrow screen, **Enter** opens the item in place of the queue and **Esc** goes back to it. What approve and request changes do depends on the item:
|
|
364
|
+
|
|
365
|
+
| Item | **A** | **R** |
|
|
366
|
+
| ------------- | ------------------------------ | ------------------------------ |
|
|
367
|
+
| ChangeRequest | Approve its head | Request changes, in your words |
|
|
368
|
+
| Plan | Take the recommended next step | Refine the plan |
|
|
369
|
+
| Question | Take the recommended answer | Answer in your own words |
|
|
370
|
+
| Memory | Accept it | Reject it |
|
|
371
|
+
|
|
372
|
+
An item leaves the queue as soon as it is resolved, here or anywhere else: on the forge, on the Run page, in the CLI or by its Run taking a default. A ChangeRequest leaves once it closes or merges, or once a person approves or requests changes on the head under review; it comes back when a new head is pushed. A review on GitHub or GitLab counts once the forge's webhook reports it, and only a person's: not a bot's, not the account Kitman reviews as, and not approval rules that pass with no approver.`
|
|
353
373
|
},
|
|
354
374
|
{
|
|
355
375
|
title: "Inbox \u203A My Teams",
|
|
@@ -1461,7 +1481,7 @@ var pathOfLink = (link) => {
|
|
|
1461
1481
|
return page === null ? link : page[1] || "index";
|
|
1462
1482
|
};
|
|
1463
1483
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
1464
|
-
var pinnedLink2 = (link, version = "0.12.
|
|
1484
|
+
var pinnedLink2 = (link, version = "0.12.5") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
1465
1485
|
var pageOf = (path) => path.split("#")[0];
|
|
1466
1486
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
1467
1487
|
function excerpt(text, queryTerms) {
|
|
@@ -247,7 +247,7 @@ import {
|
|
|
247
247
|
installCommand,
|
|
248
248
|
checkServicesFile,
|
|
249
249
|
checkServices
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-csgqrjmm.js";
|
|
251
251
|
import {
|
|
252
252
|
join,
|
|
253
253
|
interrupt,
|
|
@@ -304,8 +304,8 @@ import {
|
|
|
304
304
|
applyAgentEnvironmentMaterialization2,
|
|
305
305
|
isPathWithin2,
|
|
306
306
|
skillIdentity2
|
|
307
|
-
} from "./chunk-
|
|
308
|
-
import"./chunk-
|
|
307
|
+
} from "./chunk-4ab93yg1.js";
|
|
308
|
+
import"./chunk-ycb69yfq.js";
|
|
309
309
|
import {
|
|
310
310
|
egressAllowed,
|
|
311
311
|
writeSecretRegistry,
|
|
@@ -330,8 +330,8 @@ import {
|
|
|
330
330
|
rpcRunFiles,
|
|
331
331
|
programHostsEnv,
|
|
332
332
|
undeclaredHostsEnv
|
|
333
|
-
} from "./chunk-
|
|
334
|
-
import"./chunk-
|
|
333
|
+
} from "./chunk-34qnpbzd.js";
|
|
334
|
+
import"./chunk-sk0j9vm2.js";
|
|
335
335
|
import {
|
|
336
336
|
nextInt
|
|
337
337
|
} from "./chunk-gq7y5v3e.js";
|
|
@@ -339,7 +339,7 @@ import {
|
|
|
339
339
|
ChildProcessSpawner,
|
|
340
340
|
make3
|
|
341
341
|
} from "./chunk-mtkstrh3.js";
|
|
342
|
-
import"./chunk-
|
|
342
|
+
import"./chunk-4ksq2d3k.js";
|
|
343
343
|
|
|
344
344
|
// packages/core/src/sync-kit.ts
|
|
345
345
|
import { createHash } from "crypto";
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-csgqrjmm.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4ksq2d3k.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-sk0j9vm2.js";
|
|
8
|
+
import"./chunk-4ksq2d3k.js";
|
|
9
|
+
import"./chunk-csgqrjmm.js";
|
|
10
10
|
import"./chunk-q5w3v4k1.js";
|
|
11
11
|
import"./chunk-0h49y8gf.js";
|
|
12
12
|
import"./chunk-zw3gf6r5.js";
|
|
@@ -24,15 +24,15 @@ import {
|
|
|
24
24
|
tomlKeyPath2,
|
|
25
25
|
kitmanSkillEntry,
|
|
26
26
|
isPathWithin2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4ab93yg1.js";
|
|
28
28
|
import {
|
|
29
29
|
instructionsStart,
|
|
30
30
|
instructionsEnd,
|
|
31
31
|
renderMcpServer,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-csgqrjmm.js";
|
|
35
|
+
import"./chunk-ycb69yfq.js";
|
|
36
36
|
import"./chunk-mtkstrh3.js";
|
|
37
37
|
|
|
38
38
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
|
|
|
14
14
|
const { runOpencodeReader } = await import("./chunk-5zhh41gb.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-gzfcxjzb.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|