@kitman-sh/cli 0.14.3 → 0.14.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-3f6mzrm7.js → chunk-07xpz8bh.js} +1 -1
- package/dist/{chunk-zxmx605h.js → chunk-4qpmjrd2.js} +2 -2
- package/dist/{chunk-44kx62t6.js → chunk-4vrfpwcr.js} +7 -7
- package/dist/{chunk-65dpe0ev.js → chunk-4ywn8fya.js} +5 -3
- package/dist/{chunk-hasfatd4.js → chunk-77jk3v8v.js} +5 -5
- package/dist/{chunk-ctpgfdzf.js → chunk-93xj74qp.js} +3 -3
- package/dist/{chunk-9avbsbvk.js → chunk-c80dvhxf.js} +6 -1
- package/dist/{chunk-er9n65mh.js → chunk-cs0b1w4z.js} +9 -9
- package/dist/{chunk-y0y2gg8d.js → chunk-cwdrhsvk.js} +2 -2
- package/dist/{chunk-rvnem2bt.js → chunk-d2x7y78c.js} +4 -4
- package/dist/{chunk-9anvghq2.js → chunk-fch7pjzh.js} +2 -2
- package/dist/{chunk-dhtx14r5.js → chunk-hbfwyjak.js} +3 -3
- package/dist/{chunk-7v1n7a6k.js → chunk-jp7cjnng.js} +4 -4
- package/dist/{chunk-91j33xf2.js → chunk-k32w2t9h.js} +6 -6
- package/dist/{chunk-tebzffha.js → chunk-me5hk67r.js} +17 -17
- package/dist/{chunk-34748vfg.js → chunk-mwdgz2s2.js} +121 -277
- package/dist/{chunk-my9vcmfw.js → chunk-mz803qps.js} +44 -30
- package/dist/{chunk-f96vy2h9.js → chunk-p2p3k2d5.js} +4 -4
- package/dist/{chunk-2w9a76nr.js → chunk-rbbh4f56.js} +177 -28
- package/dist/{chunk-rgrpvnwg.js → chunk-reb6rftm.js} +22 -22
- package/dist/{chunk-a4mkjaxa.js → chunk-s6bcx409.js} +6 -6
- package/dist/{chunk-daem5h1c.js → chunk-vt5p65jd.js} +14 -14
- package/dist/{chunk-bbf0jzsc.js → chunk-vt8aqeby.js} +1 -1
- package/dist/{chunk-zpp4jg4a.js → chunk-wttgq85b.js} +60 -60
- package/dist/{chunk-7q3t3x0x.js → chunk-zdfrtydr.js} +6 -6
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
map8,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-wttgq85b.js";
|
|
26
26
|
import {
|
|
27
27
|
unwrap,
|
|
28
28
|
drainFork,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
runCollect,
|
|
32
32
|
runDrain,
|
|
33
33
|
mkString
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-rbbh4f56.js";
|
|
35
35
|
|
|
36
36
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
37
37
|
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
isJsonObject,
|
|
14
14
|
decodeJsonString,
|
|
15
15
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-wttgq85b.js";
|
|
17
|
+
import"./chunk-c80dvhxf.js";
|
|
17
18
|
import {
|
|
18
19
|
FileSystem,
|
|
19
20
|
Path
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-rbbh4f56.js";
|
|
21
22
|
import {
|
|
22
23
|
tomlTableHeader2,
|
|
23
24
|
tomlKeyPath2,
|
|
24
25
|
kitmanSkillEntry,
|
|
25
26
|
isPathWithin2
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-p2p3k2d5.js";
|
|
27
28
|
import {
|
|
28
29
|
instructionsStart,
|
|
29
30
|
instructionsEnd,
|
|
30
31
|
renderMcpServer,
|
|
31
32
|
materializeKitSetup,
|
|
32
33
|
tomlInline
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import"./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-9avbsbvk.js";
|
|
34
|
+
} from "./chunk-mwdgz2s2.js";
|
|
35
|
+
import"./chunk-hbfwyjak.js";
|
|
36
|
+
import"./chunk-4qpmjrd2.js";
|
|
37
37
|
|
|
38
38
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
39
39
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -314,7 +314,9 @@ Open the item and use **Start run** in it: pick the Loop, and give what is missi
|
|
|
314
314
|
link: "https://kitman.sh/knowledge/docs/inbox",
|
|
315
315
|
text: `What arrives in your Inbox, acting on it in place, the review queue, commenting on a diff and the My Teams view.
|
|
316
316
|
|
|
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
|
|
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
|
+
|
|
319
|
+
The list shows one row per Task: a Task's own news and its Runs collapse into it, headed by the Task's key and title once, with what happened last and how many Notifications it holds. Its icon and colour say how the work stands: succeeded, failed, canceled, needs you, or news that asks nothing. A row that asks for an action leads with it and reads **Needs you**.`
|
|
318
320
|
},
|
|
319
321
|
{
|
|
320
322
|
title: "Inbox \u203A What arrives",
|
|
@@ -345,7 +347,7 @@ Items that ask for an action (answer, review, retry, decide, start) clear themse
|
|
|
345
347
|
|
|
346
348
|
Open an item to act on it without leaving the Inbox: answer the Question, decide the Proposal, retry the Run or start another Loop, open the ChangeRequest, triage the Task, change its state, assignee or priority, or reply.
|
|
347
349
|
|
|
348
|
-
Mark items read or unread, done, or snooze them until later. A new Notification brings a done item back. Unsubscribe from a Task to stop hearing about it.
|
|
350
|
+
Mark items read or unread, done, or snooze them until later; on a row that collapses several, each acts on all of them, and opening the row shows every Notification and action it holds. Hover or focus a row's button to see what it does and its key. A new Notification brings a done item back. Unsubscribe from a Task to stop hearing about it.
|
|
349
351
|
|
|
350
352
|
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
353
|
|
|
@@ -1555,7 +1557,7 @@ var pathOfLink = (link) => {
|
|
|
1555
1557
|
return page === null ? link : page[1] || "index";
|
|
1556
1558
|
};
|
|
1557
1559
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
1558
|
-
var pinnedLink2 = (link, version = "0.14.
|
|
1560
|
+
var pinnedLink2 = (link, version = "0.14.5") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
1559
1561
|
var pageOf = (path) => path.split("#")[0];
|
|
1560
1562
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
1561
1563
|
function excerpt(text, queryTerms) {
|
|
@@ -25,16 +25,16 @@ import {
|
|
|
25
25
|
isJsonObject,
|
|
26
26
|
isString2,
|
|
27
27
|
encodeUnknownJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-wttgq85b.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
30
|
+
make11,
|
|
31
31
|
runForEach,
|
|
32
32
|
compiled2
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-rbbh4f56.js";
|
|
34
34
|
import {
|
|
35
35
|
ChildProcessSpawner,
|
|
36
36
|
make3
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4qpmjrd2.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/opencode-store.ts
|
|
40
40
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -173,7 +173,7 @@ var isolatedRead = (store, name, input) => gen(function* () {
|
|
|
173
173
|
const spawner = yield* ChildProcessSpawner;
|
|
174
174
|
const [command, ...args] = opencodeReaderCommand();
|
|
175
175
|
const handle = yield* spawner.spawn(make3(command, args, {
|
|
176
|
-
stdin:
|
|
176
|
+
stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
177
177
|
stderr: "ignore",
|
|
178
178
|
extendEnv: false,
|
|
179
179
|
env: {},
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-cwdrhsvk.js";
|
|
8
|
+
import"./chunk-c80dvhxf.js";
|
|
9
|
+
import"./chunk-wttgq85b.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -18,7 +18,12 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-wttgq85b.js";
|
|
22
|
+
|
|
23
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
|
|
24
|
+
var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
|
|
25
|
+
var DRAFT_07_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "deprecated"];
|
|
26
|
+
var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment", "$id", "$schema", "const", "contains", "contentEncoding", "contentMediaType", "else", "examples", "if", "patternProperties", "propertyNames", "then"];
|
|
22
27
|
|
|
23
28
|
// packages/core/src/schema.ts
|
|
24
29
|
var Days = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
@@ -32,7 +32,8 @@ import {
|
|
|
32
32
|
toCodecJson,
|
|
33
33
|
Json,
|
|
34
34
|
encodePrettyJsonString
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-wttgq85b.js";
|
|
36
|
+
import"./chunk-c80dvhxf.js";
|
|
36
37
|
import {
|
|
37
38
|
SecureRandom,
|
|
38
39
|
layerWebCrypto,
|
|
@@ -44,7 +45,7 @@ import {
|
|
|
44
45
|
layer4,
|
|
45
46
|
kitmanMcpServer,
|
|
46
47
|
RunnerRpcProtocolVersion
|
|
47
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-mwdgz2s2.js";
|
|
48
49
|
import {
|
|
49
50
|
decodeText,
|
|
50
51
|
mkString,
|
|
@@ -52,24 +53,23 @@ import {
|
|
|
52
53
|
Path,
|
|
53
54
|
withDefault,
|
|
54
55
|
String2
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-rbbh4f56.js";
|
|
56
57
|
import {
|
|
57
58
|
Packument,
|
|
58
59
|
tarballMatches
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import"./chunk-
|
|
60
|
+
} from "./chunk-hbfwyjak.js";
|
|
61
|
+
import"./chunk-k32w2t9h.js";
|
|
61
62
|
import {
|
|
62
63
|
AgentDeclaration,
|
|
63
64
|
KitDeclarations,
|
|
64
65
|
describeFlag,
|
|
65
66
|
Described
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-zdfrtydr.js";
|
|
67
68
|
import {
|
|
68
69
|
ChildProcessSpawner,
|
|
69
70
|
make3
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import"./chunk-
|
|
72
|
-
import"./chunk-9avbsbvk.js";
|
|
71
|
+
} from "./chunk-4qpmjrd2.js";
|
|
72
|
+
import"./chunk-me5hk67r.js";
|
|
73
73
|
|
|
74
74
|
// packages/sdk/src/build/index.ts
|
|
75
75
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-wttgq85b.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-c80dvhxf.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-4qpmjrd2.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-mwdgz2s2.js";
|
|
16
|
+
import"./chunk-rbbh4f56.js";
|
|
17
|
+
import"./chunk-wttgq85b.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-rbbh4f56.js";
|
|
18
|
+
import"./chunk-wttgq85b.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-wttgq85b.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-rbbh4f56.js";
|
|
32
32
|
import {
|
|
33
33
|
newerKitmanVersion,
|
|
34
34
|
digestSha256,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
get2,
|
|
40
40
|
layer4,
|
|
41
41
|
KitDigest
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-mwdgz2s2.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-77jk3v8v.js";
|
|
11
|
+
import"./chunk-4qpmjrd2.js";
|
|
12
|
+
import"./chunk-rbbh4f56.js";
|
|
13
|
+
import"./chunk-wttgq85b.js";
|
|
14
14
|
export {
|
|
15
15
|
decoded2 as decoded,
|
|
16
16
|
decodedOption2 as decodedOption,
|
|
@@ -6,7 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-wttgq85b.js";
|
|
10
|
+
import {
|
|
11
|
+
runForEach
|
|
12
|
+
} from "./chunk-rbbh4f56.js";
|
|
10
13
|
import {
|
|
11
14
|
WebSocketConstructor,
|
|
12
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -16,16 +19,13 @@ import {
|
|
|
16
19
|
RunnerReplicaRpcs,
|
|
17
20
|
RunnerRunFileRpcs,
|
|
18
21
|
ProgramRpcs
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
runForEach
|
|
22
|
-
} from "./chunk-2w9a76nr.js";
|
|
22
|
+
} from "./chunk-mwdgz2s2.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-me5hk67r.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
add,
|
|
13
13
|
getOrUndefinedUnsafe,
|
|
14
14
|
getUnsafe,
|
|
15
|
-
|
|
15
|
+
get4,
|
|
16
16
|
Reference,
|
|
17
17
|
toMillis,
|
|
18
18
|
isSuccess,
|
|
@@ -96,7 +96,19 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-wttgq85b.js";
|
|
100
|
+
import {
|
|
101
|
+
interrupt,
|
|
102
|
+
getCurrent,
|
|
103
|
+
makeUnsafe2,
|
|
104
|
+
bounded,
|
|
105
|
+
offerAll,
|
|
106
|
+
failCause,
|
|
107
|
+
end,
|
|
108
|
+
shutdownUnsafe,
|
|
109
|
+
fromQueue,
|
|
110
|
+
unwrap
|
|
111
|
+
} from "./chunk-rbbh4f56.js";
|
|
100
112
|
import {
|
|
101
113
|
Clock,
|
|
102
114
|
empty,
|
|
@@ -111,19 +123,7 @@ import {
|
|
|
111
123
|
ParseOptions,
|
|
112
124
|
RpcClientDefect,
|
|
113
125
|
RpcClientError
|
|
114
|
-
} from "./chunk-
|
|
115
|
-
import {
|
|
116
|
-
interrupt,
|
|
117
|
-
getCurrent,
|
|
118
|
-
makeUnsafe2,
|
|
119
|
-
bounded,
|
|
120
|
-
offerAll,
|
|
121
|
-
failCause,
|
|
122
|
-
end,
|
|
123
|
-
shutdownUnsafe,
|
|
124
|
-
fromQueue,
|
|
125
|
-
unwrap
|
|
126
|
-
} from "./chunk-2w9a76nr.js";
|
|
126
|
+
} from "./chunk-mwdgz2s2.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")) {
|
|
@@ -237,7 +237,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
237
237
|
const disableTracing = options?.disableTracing ?? false;
|
|
238
238
|
const generateRequestId = options?.generateRequestId ?? (() => requestIdCounter++);
|
|
239
239
|
const services = yield* context();
|
|
240
|
-
const scope =
|
|
240
|
+
const scope = get4(services, Scope);
|
|
241
241
|
const entries = new Map;
|
|
242
242
|
let isShutdown = false;
|
|
243
243
|
yield* addFinalizer(scope, withFiber2((parent) => {
|
|
@@ -643,7 +643,7 @@ var makeRpcSchemas = (codecFor) => {
|
|
|
643
643
|
return entry;
|
|
644
644
|
}
|
|
645
645
|
const streamSchemas = getStreamSchemas(rpc.successSchema);
|
|
646
|
-
const parseOptions =
|
|
646
|
+
const parseOptions = get4(rpc.annotations, ParseOptions);
|
|
647
647
|
const exitSchema2 = exitSchema(rpc);
|
|
648
648
|
let decodeDiscardExit;
|
|
649
649
|
entry = {
|