@kitman-sh/cli 0.29.0 → 0.30.0
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-y6petreh.js → chunk-0mg7k9b4.js} +115 -115
- package/dist/{chunk-eshk0da5.js → chunk-1j38xtvp.js} +2 -2
- package/dist/{chunk-wqdxszpm.js → chunk-39kjyh2y.js} +12 -12
- package/dist/{chunk-18x6rmkq.js → chunk-3xg9zbmy.js} +5 -5
- package/dist/{chunk-rbpn35g5.js → chunk-4qjfn1sa.js} +1 -1
- package/dist/{chunk-znhjs0t6.js → chunk-5kqt4bqp.js} +1 -1
- package/dist/{chunk-sm340tvm.js → chunk-63cyj9dh.js} +17 -17
- package/dist/{chunk-q1medqp5.js → chunk-7j1kf6sa.js} +6 -6
- package/dist/{chunk-4tdk1w0k.js → chunk-bv4gcq1h.js} +7 -7
- package/dist/{chunk-8andwyqa.js → chunk-cehbrs1y.js} +5 -5
- package/dist/{chunk-cm2sr223.js → chunk-chxtmsns.js} +23 -23
- package/dist/{chunk-89eskdmq.js → chunk-d4h1p51s.js} +22 -22
- package/dist/{chunk-j021bman.js → chunk-gap0vmj7.js} +60 -14
- package/dist/{chunk-61dmxexa.js → chunk-h2f26xbd.js} +28 -70
- package/dist/{chunk-fyjet273.js → chunk-js64y97w.js} +4 -4
- package/dist/{chunk-f9fhdprs.js → chunk-msn6rrx9.js} +4 -4
- package/dist/{chunk-e491q405.js → chunk-my92qn4x.js} +7 -7
- package/dist/{chunk-cbkj3km5.js → chunk-r7m32p2j.js} +1 -1
- package/dist/{chunk-4qrb09w4.js → chunk-samxkpbz.js} +3 -3
- package/dist/{chunk-pyjx5q5s.js → chunk-sw0dadq5.js} +1 -1
- package/dist/{chunk-vshy6fm5.js → chunk-tbmht2qb.js} +7 -7
- package/dist/{chunk-1hgsf81a.js → chunk-tsx0347c.js} +1 -1
- package/dist/{chunk-q8e58p57.js → chunk-vz38kngm.js} +2 -2
- package/dist/{chunk-1yyq4nh2.js → chunk-wtea9nbk.js} +24 -24
- package/dist/{chunk-9zxzmsmm.js → chunk-yaa3gkpx.js} +4 -4
- package/dist/{chunk-801jtbdq.js → chunk-yr7np5eb.js} +3 -3
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -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-vz38kngm.js";
|
|
8
|
+
import"./chunk-4qjfn1sa.js";
|
|
9
|
+
import"./chunk-h2f26xbd.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -2211,7 +2211,7 @@ var pathOfLink = (link) => {
|
|
|
2211
2211
|
return page === null ? link : page[1] || "index";
|
|
2212
2212
|
};
|
|
2213
2213
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
2214
|
-
var pinnedLink2 = (link, version = "0.
|
|
2214
|
+
var pinnedLink2 = (link, version = "0.30.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
2215
2215
|
var pageOf = (path) => path.split("#")[0];
|
|
2216
2216
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
2217
2217
|
function excerpt(text, queryTerms) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
FileSystem,
|
|
4
4
|
Path
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-63cyj9dh.js";
|
|
6
6
|
import {
|
|
7
7
|
isObject,
|
|
8
8
|
isUint8Array,
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
isJsonObject,
|
|
18
18
|
decodeJsonString,
|
|
19
19
|
encodePrettyJsonString
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-h2f26xbd.js";
|
|
21
21
|
import {
|
|
22
22
|
tomlTableHeader2,
|
|
23
23
|
tomlKeyPath2,
|
|
24
24
|
kitmanSkillEntry,
|
|
25
25
|
isPathWithin2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-yaa3gkpx.js";
|
|
27
27
|
import {
|
|
28
28
|
instructionsStart,
|
|
29
29
|
instructionsEnd,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
antigravityPlugins,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-0mg7k9b4.js";
|
|
35
|
+
import"./chunk-yr7np5eb.js";
|
|
36
|
+
import"./chunk-gap0vmj7.js";
|
|
37
|
+
import"./chunk-4qjfn1sa.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
40
40
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-h2f26xbd.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4qjfn1sa.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
decodeJsonStringOption,
|
|
119
119
|
encodeJsonStringSync,
|
|
120
120
|
encodePrettyJsonString
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-h2f26xbd.js";
|
|
122
122
|
import {
|
|
123
123
|
currentTimeMillis,
|
|
124
124
|
SecureRandom,
|
|
@@ -158,8 +158,8 @@ import {
|
|
|
158
158
|
sessionForApi,
|
|
159
159
|
readAuthStore,
|
|
160
160
|
agentCredentialForApi,
|
|
161
|
-
make5,
|
|
162
161
|
make6,
|
|
162
|
+
make7,
|
|
163
163
|
Service,
|
|
164
164
|
shouldRefresh,
|
|
165
165
|
refreshSession,
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
runMcpEffect,
|
|
171
171
|
createAgentAuthSignedFetch,
|
|
172
172
|
setupMcpAgentCredential
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-0mg7k9b4.js";
|
|
174
174
|
import {
|
|
175
175
|
join,
|
|
176
176
|
interrupt,
|
|
@@ -187,30 +187,30 @@ import {
|
|
|
187
187
|
withDefault,
|
|
188
188
|
option,
|
|
189
189
|
String2
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-63cyj9dh.js";
|
|
191
191
|
import {
|
|
192
192
|
searchDocs2,
|
|
193
193
|
readDoc2
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-sw0dadq5.js";
|
|
195
195
|
import {
|
|
196
196
|
nextInt
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-5kqt4bqp.js";
|
|
198
198
|
import {
|
|
199
199
|
recommendationProblem
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-tsx0347c.js";
|
|
201
201
|
import {
|
|
202
202
|
layerJson,
|
|
203
|
-
|
|
203
|
+
make4,
|
|
204
204
|
withHeaders,
|
|
205
205
|
layerProtocolSocket,
|
|
206
206
|
ConnectionHooks
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-cehbrs1y.js";
|
|
208
208
|
import {
|
|
209
209
|
guard,
|
|
210
210
|
Id,
|
|
211
211
|
Timestamp,
|
|
212
212
|
ActorType
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-4qjfn1sa.js";
|
|
214
214
|
|
|
215
215
|
// apps/cli/src/mcp.ts
|
|
216
216
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -1947,56 +1947,56 @@ var LivePresenceSubscriptionMessage = Union([
|
|
|
1947
1947
|
LivePresenceSubscriptionUpdate
|
|
1948
1948
|
]);
|
|
1949
1949
|
|
|
1950
|
-
class LiveRpcs extends make6(
|
|
1950
|
+
class LiveRpcs extends make7(make6("Session", {
|
|
1951
1951
|
success: Struct({ workspaceId: String4, clientKind: String4 }),
|
|
1952
1952
|
error: LiveRpcError
|
|
1953
|
-
}),
|
|
1953
|
+
}), make6("Subscribe", {
|
|
1954
1954
|
payload: LiveSubscribeInput,
|
|
1955
1955
|
success: LiveSubscriptionMessage,
|
|
1956
1956
|
error: LiveRpcError,
|
|
1957
1957
|
stream: true
|
|
1958
|
-
}),
|
|
1958
|
+
}), make6("Replay", {
|
|
1959
1959
|
payload: LiveReplayInput,
|
|
1960
1960
|
success: ArraySchema(LiveEvent),
|
|
1961
1961
|
error: LiveRpcError
|
|
1962
|
-
}),
|
|
1962
|
+
}), make6("Ack", {
|
|
1963
1963
|
payload: LiveAckInput,
|
|
1964
1964
|
success: LiveAckResult,
|
|
1965
1965
|
error: LiveRpcError
|
|
1966
|
-
}),
|
|
1966
|
+
}), make6("SubscribeWeb", {
|
|
1967
1967
|
payload: LiveWebSubscribeInput,
|
|
1968
1968
|
success: LiveWebSubscriptionMessage,
|
|
1969
1969
|
error: LiveRpcError,
|
|
1970
1970
|
stream: true
|
|
1971
|
-
}),
|
|
1971
|
+
}), make6("SubscriptionStatus", {
|
|
1972
1972
|
payload: { subscriptionId: String4 },
|
|
1973
1973
|
success: LiveSubscriptionStatus,
|
|
1974
1974
|
error: LiveRpcError
|
|
1975
|
-
}),
|
|
1975
|
+
}), make6("ReplayWeb", {
|
|
1976
1976
|
payload: LiveWebReplayInput,
|
|
1977
1977
|
success: LiveWebReplayResult,
|
|
1978
1978
|
error: LiveRpcError
|
|
1979
|
-
}),
|
|
1979
|
+
}), make6("AckWeb", {
|
|
1980
1980
|
payload: LiveWebAckInput,
|
|
1981
1981
|
success: LiveWebAckResult,
|
|
1982
1982
|
error: LiveRpcError
|
|
1983
|
-
}),
|
|
1983
|
+
}), make6("PublishPresence", {
|
|
1984
1984
|
payload: LivePresencePublishInput,
|
|
1985
1985
|
success: LivePresenceEntry,
|
|
1986
1986
|
error: LiveRpcError
|
|
1987
|
-
}),
|
|
1987
|
+
}), make6("SubscribePresence", {
|
|
1988
1988
|
payload: LivePresenceSubscribeInput,
|
|
1989
1989
|
success: LivePresenceSubscriptionMessage,
|
|
1990
1990
|
error: LiveRpcError,
|
|
1991
1991
|
stream: true
|
|
1992
|
-
}),
|
|
1992
|
+
}), make6("ClearPresence", {
|
|
1993
1993
|
payload: { scope: optional(LiveScope) },
|
|
1994
1994
|
error: LiveRpcError
|
|
1995
|
-
}),
|
|
1995
|
+
}), make6("RecordSessionUpdate", {
|
|
1996
1996
|
payload: { sessionId: String4, input: SessionUpdateCreate },
|
|
1997
1997
|
success: SessionUpdate,
|
|
1998
1998
|
error: LiveRpcError
|
|
1999
|
-
}),
|
|
1999
|
+
}), make6("EndSession", {
|
|
2000
2000
|
payload: { sessionId: String4, input: SessionEnd },
|
|
2001
2001
|
success: Session,
|
|
2002
2002
|
error: LiveRpcError
|
|
@@ -2048,7 +2048,7 @@ function connectKitmanLiveRoot(protocol) {
|
|
|
2048
2048
|
})
|
|
2049
2049
|
});
|
|
2050
2050
|
const layer = (isString2(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
|
|
2051
|
-
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) =>
|
|
2051
|
+
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
|
|
2052
2052
|
let abandon = () => {};
|
|
2053
2053
|
const abandoned = new Promise((_resolve, reject) => {
|
|
2054
2054
|
abandon = reject;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
Path,
|
|
5
5
|
optionalEnv,
|
|
6
6
|
tempDirectoryScoped
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-63cyj9dh.js";
|
|
8
8
|
import {
|
|
9
9
|
Reference,
|
|
10
10
|
TaggedError,
|
|
@@ -31,15 +31,15 @@ import {
|
|
|
31
31
|
isString2,
|
|
32
32
|
encodePrettyJsonString,
|
|
33
33
|
decodeJsonStringSync
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-h2f26xbd.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-0mg7k9b4.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-yr7np5eb.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-h2f26xbd.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-63cyj9dh.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-0mg7k9b4.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
package/dist/index.js
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
var args = process.argv.slice(2);
|
|
6
6
|
if (args[0] === "srt") {
|
|
7
7
|
process.argv.splice(2, 1);
|
|
8
|
-
const { runSrtCli } = await import("./chunk-
|
|
8
|
+
const { runSrtCli } = await import("./chunk-1j38xtvp.js");
|
|
9
9
|
await runSrtCli();
|
|
10
10
|
} else if (args[0] === "srt-step") {
|
|
11
|
-
const { runSrtStep } = await import("./chunk-
|
|
11
|
+
const { runSrtStep } = await import("./chunk-samxkpbz.js");
|
|
12
12
|
await runSrtStep(args.slice(1));
|
|
13
13
|
} else if (args[0] === "opencode-read") {
|
|
14
|
-
const { runOpencodeReader } = await import("./chunk-
|
|
14
|
+
const { runOpencodeReader } = await import("./chunk-js64y97w.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-d4h1p51s.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|