@kitman-sh/cli 0.13.16 → 0.13.17
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-ttk3d0z2.js → chunk-0vv8cbye.js} +136 -136
- package/dist/{chunk-5w6r4mw6.js → chunk-1cr225aq.js} +30 -30
- package/dist/{chunk-gq7y5v3e.js → chunk-24h0y27w.js} +1 -1
- package/dist/{chunk-t4xwk14b.js → chunk-4yca7e7x.js} +101 -101
- package/dist/{chunk-4zh7qxck.js → chunk-643pxp2k.js} +4 -4
- package/dist/{chunk-bt22cd13.js → chunk-67xn3yer.js} +7 -7
- package/dist/{chunk-zd6y6ka8.js → chunk-80f0p6s7.js} +119 -119
- package/dist/{chunk-y7p4d14b.js → chunk-8nzsyz74.js} +2 -2
- package/dist/{chunk-fc2bhh5v.js → chunk-ahvpwkyk.js} +2 -2
- package/dist/{chunk-tntbdpmy.js → chunk-b5edh1jq.js} +78 -78
- package/dist/{chunk-vsrjg9nm.js → chunk-cbf0q15q.js} +22 -68
- package/dist/{chunk-v1e4g2re.js → chunk-efyrm6bv.js} +1 -1
- package/dist/{chunk-at5dh2te.js → chunk-g7ysb6ca.js} +18 -18
- package/dist/{chunk-49gbakce.js → chunk-gasqek3p.js} +6 -6
- package/dist/{chunk-x7acexnm.js → chunk-ggmwpwhf.js} +5 -5
- package/dist/{chunk-s88vcvtd.js → chunk-mmd7mjv0.js} +3 -3
- package/dist/{chunk-d9z9cyzt.js → chunk-pbmadbfm.js} +32 -32
- package/dist/{chunk-c9rvst3x.js → chunk-pjq9bf3w.js} +4 -4
- package/dist/{chunk-cbzqfz1k.js → chunk-pvsg1ppc.js} +4 -4
- package/dist/{chunk-q5w3v4k1.js → chunk-pxvd8w2v.js} +1 -1
- package/dist/{chunk-mbqb40ev.js → chunk-q4ra17vf.js} +16 -16
- package/dist/{chunk-sjdze64n.js → chunk-syhs23yk.js} +7 -7
- package/dist/{chunk-nf9gdnsf.js → chunk-x20t7xy8.js} +17 -17
- package/dist/{chunk-5cevjkrb.js → chunk-zcpnmgwb.js} +16 -16
- package/dist/{chunk-zw3gf6r5.js → chunk-zgraq2y3.js} +70 -28
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -923,7 +923,7 @@ A Team view has three tabs: Active shows unstarted and started Tasks, Backlog th
|
|
|
923
923
|
|
|
924
924
|
Press **C** or use **New task** in a Team view. A title is enough; everything else is optional. Keep the form open to capture several Tasks in a row. Filing a Task in a Team you are not a member of sends it to that Team's [Triage](/docs/triage).
|
|
925
925
|
|
|
926
|
-
Open a Task beside its list, or on its own page. The description is markdown and saves as you type. If someone else changes it while you edit, Kitman tells you instead of overwriting their work. The Promise is one sentence that says what is true once the Task is done. Acceptance Criteria are an ordered list that reviews and Runs hold the work to. Out of scope lists the cases the Task does not handle. All three are optional.
|
|
926
|
+
Open a Task beside its list, or on its own page. The description is markdown and saves as you type. If someone else changes it while you edit, Kitman tells you instead of overwriting their work. The Promise is one sentence that says what is true once the Task is done. Acceptance Criteria are an ordered list that reviews and Runs hold the work to. Out of scope lists the cases the Task does not handle: outside a private Team, a review reports a problem in one without holding the change, unless it is a blocker. All three are optional.
|
|
927
927
|
|
|
928
928
|
A Team can require agents to state a Task's scope. An owner or admin turns on **Agents must state a Task's scope** under **Settings**, **Forges**, **Edit delivery**, or a signed-in person with access to the Team runs \`kitman team scope <team> required\`; an agent cannot change it. A Task an agent creates without a Promise is then refused with [how to scope a Task](/docs/scope-tasks), and it creates the Task again with one. A Task from a person, an Event, an alert, launch words, a plan ticket or a Proposal a person approves needs none.
|
|
929
929
|
|
|
@@ -1555,7 +1555,7 @@ var pathOfLink = (link) => {
|
|
|
1555
1555
|
return page === null ? link : page[1] || "index";
|
|
1556
1556
|
};
|
|
1557
1557
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
1558
|
-
var pinnedLink2 = (link, version = "0.13.
|
|
1558
|
+
var pinnedLink2 = (link, version = "0.13.17") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
1559
1559
|
var pageOf = (path) => path.split("#")[0];
|
|
1560
1560
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
1561
1561
|
function excerpt(text, queryTerms) {
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-x20t7xy8.js";
|
|
18
|
+
import"./chunk-zgraq2y3.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -1,62 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
currentTimeMillis,
|
|
4
|
-
SecureRandom,
|
|
5
|
-
makeUnsafe,
|
|
6
|
-
formatIso,
|
|
7
|
-
error,
|
|
8
|
-
parseDate,
|
|
9
|
-
currentDate,
|
|
10
|
-
scanDurableSurface,
|
|
11
|
-
redactResponseSurface,
|
|
12
|
-
canonicalSha256,
|
|
13
|
-
RunWaitUntils,
|
|
14
|
-
RunnerOwnership,
|
|
15
|
-
Session,
|
|
16
|
-
SessionEnd,
|
|
17
|
-
SessionUpdate,
|
|
18
|
-
SessionUpdateCreate,
|
|
19
|
-
KitmanAgentCapabilityNames,
|
|
20
|
-
runFileContentType,
|
|
21
|
-
digestSha256,
|
|
22
|
-
sha256Hasher,
|
|
23
|
-
layerWebSocketConstructorGlobal,
|
|
24
|
-
layerWebSocket,
|
|
25
|
-
KitmanClientError,
|
|
26
|
-
KitmanEffectClient,
|
|
27
|
-
CliError,
|
|
28
|
-
resolveConfig,
|
|
29
|
-
apiUrlFromEnv,
|
|
30
|
-
stepCredentialFromEnv,
|
|
31
|
-
stepWorkspaceFromEnv,
|
|
32
|
-
stepSkillsDirFromEnv,
|
|
33
|
-
stepFittingSkillsFromEnv,
|
|
34
|
-
stepOutputOnlyFromEnv,
|
|
35
|
-
mcpCredentialNameFromEnv,
|
|
36
|
-
userAuthPath,
|
|
37
|
-
readUserConfig,
|
|
38
|
-
sessionForApi,
|
|
39
|
-
readAuthStore,
|
|
40
|
-
agentCredentialForApi,
|
|
41
|
-
make6,
|
|
42
|
-
make7,
|
|
43
|
-
Service,
|
|
44
|
-
shouldRefresh,
|
|
45
|
-
refreshSession,
|
|
46
|
-
AgentAuthClientError,
|
|
47
|
-
executeAgentCapability,
|
|
48
|
-
createAgentAuthBearerToken,
|
|
49
|
-
McpPlatformLive,
|
|
50
|
-
runMcpEffect,
|
|
51
|
-
createAgentAuthSignedFetch,
|
|
52
|
-
setupMcpAgentCredential
|
|
53
|
-
} from "./chunk-zd6y6ka8.js";
|
|
54
|
-
import {
|
|
55
|
-
guard,
|
|
56
|
-
Id,
|
|
57
|
-
Timestamp,
|
|
58
|
-
ActorType
|
|
59
|
-
} from "./chunk-q5w3v4k1.js";
|
|
60
2
|
import {
|
|
61
3
|
identity,
|
|
62
4
|
hasProperty,
|
|
@@ -176,7 +118,65 @@ import {
|
|
|
176
118
|
decodeJsonStringOption,
|
|
177
119
|
encodeJsonStringSync,
|
|
178
120
|
encodePrettyJsonString
|
|
179
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-zgraq2y3.js";
|
|
122
|
+
import {
|
|
123
|
+
currentTimeMillis,
|
|
124
|
+
SecureRandom,
|
|
125
|
+
makeUnsafe,
|
|
126
|
+
formatIso,
|
|
127
|
+
error,
|
|
128
|
+
parseDate,
|
|
129
|
+
currentDate,
|
|
130
|
+
scanDurableSurface,
|
|
131
|
+
redactResponseSurface,
|
|
132
|
+
canonicalSha256,
|
|
133
|
+
RunWaitUntils,
|
|
134
|
+
RunnerOwnership,
|
|
135
|
+
Session,
|
|
136
|
+
SessionEnd,
|
|
137
|
+
SessionUpdate,
|
|
138
|
+
SessionUpdateCreate,
|
|
139
|
+
KitmanAgentCapabilityNames,
|
|
140
|
+
runFileContentType,
|
|
141
|
+
digestSha256,
|
|
142
|
+
sha256Hasher,
|
|
143
|
+
layerWebSocketConstructorGlobal,
|
|
144
|
+
layerWebSocket,
|
|
145
|
+
KitmanClientError,
|
|
146
|
+
KitmanEffectClient,
|
|
147
|
+
CliError,
|
|
148
|
+
resolveConfig,
|
|
149
|
+
apiUrlFromEnv,
|
|
150
|
+
stepCredentialFromEnv,
|
|
151
|
+
stepWorkspaceFromEnv,
|
|
152
|
+
stepSkillsDirFromEnv,
|
|
153
|
+
stepFittingSkillsFromEnv,
|
|
154
|
+
stepOutputOnlyFromEnv,
|
|
155
|
+
mcpCredentialNameFromEnv,
|
|
156
|
+
userAuthPath,
|
|
157
|
+
readUserConfig,
|
|
158
|
+
sessionForApi,
|
|
159
|
+
readAuthStore,
|
|
160
|
+
agentCredentialForApi,
|
|
161
|
+
make5,
|
|
162
|
+
make6,
|
|
163
|
+
Service,
|
|
164
|
+
shouldRefresh,
|
|
165
|
+
refreshSession,
|
|
166
|
+
AgentAuthClientError,
|
|
167
|
+
executeAgentCapability,
|
|
168
|
+
createAgentAuthBearerToken,
|
|
169
|
+
McpPlatformLive,
|
|
170
|
+
runMcpEffect,
|
|
171
|
+
createAgentAuthSignedFetch,
|
|
172
|
+
setupMcpAgentCredential
|
|
173
|
+
} from "./chunk-80f0p6s7.js";
|
|
174
|
+
import {
|
|
175
|
+
guard,
|
|
176
|
+
Id,
|
|
177
|
+
Timestamp,
|
|
178
|
+
ActorType
|
|
179
|
+
} from "./chunk-pxvd8w2v.js";
|
|
180
180
|
import {
|
|
181
181
|
join,
|
|
182
182
|
interrupt,
|
|
@@ -193,21 +193,21 @@ import {
|
|
|
193
193
|
withDefault,
|
|
194
194
|
option,
|
|
195
195
|
String2
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-x20t7xy8.js";
|
|
197
197
|
import {
|
|
198
198
|
searchDocs2,
|
|
199
199
|
readDoc2
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-8nzsyz74.js";
|
|
201
201
|
import {
|
|
202
202
|
nextInt
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-24h0y27w.js";
|
|
204
204
|
import {
|
|
205
205
|
layerJson,
|
|
206
|
-
|
|
206
|
+
make3,
|
|
207
207
|
withHeaders,
|
|
208
208
|
layerProtocolSocket,
|
|
209
209
|
ConnectionHooks
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-1cr225aq.js";
|
|
211
211
|
|
|
212
212
|
// apps/cli/src/mcp.ts
|
|
213
213
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -1959,56 +1959,56 @@ var LivePresenceSubscriptionMessage = Union([
|
|
|
1959
1959
|
LivePresenceSubscriptionUpdate
|
|
1960
1960
|
]);
|
|
1961
1961
|
|
|
1962
|
-
class LiveRpcs extends
|
|
1962
|
+
class LiveRpcs extends make6(make5("Session", {
|
|
1963
1963
|
success: Struct({ workspaceId: String4, clientKind: String4 }),
|
|
1964
1964
|
error: LiveRpcError
|
|
1965
|
-
}),
|
|
1965
|
+
}), make5("Subscribe", {
|
|
1966
1966
|
payload: LiveSubscribeInput,
|
|
1967
1967
|
success: LiveSubscriptionMessage,
|
|
1968
1968
|
error: LiveRpcError,
|
|
1969
1969
|
stream: true
|
|
1970
|
-
}),
|
|
1970
|
+
}), make5("Replay", {
|
|
1971
1971
|
payload: LiveReplayInput,
|
|
1972
1972
|
success: ArraySchema(LiveEvent),
|
|
1973
1973
|
error: LiveRpcError
|
|
1974
|
-
}),
|
|
1974
|
+
}), make5("Ack", {
|
|
1975
1975
|
payload: LiveAckInput,
|
|
1976
1976
|
success: LiveAckResult,
|
|
1977
1977
|
error: LiveRpcError
|
|
1978
|
-
}),
|
|
1978
|
+
}), make5("SubscribeWeb", {
|
|
1979
1979
|
payload: LiveWebSubscribeInput,
|
|
1980
1980
|
success: LiveWebSubscriptionMessage,
|
|
1981
1981
|
error: LiveRpcError,
|
|
1982
1982
|
stream: true
|
|
1983
|
-
}),
|
|
1983
|
+
}), make5("SubscriptionStatus", {
|
|
1984
1984
|
payload: { subscriptionId: String4 },
|
|
1985
1985
|
success: LiveSubscriptionStatus,
|
|
1986
1986
|
error: LiveRpcError
|
|
1987
|
-
}),
|
|
1987
|
+
}), make5("ReplayWeb", {
|
|
1988
1988
|
payload: LiveWebReplayInput,
|
|
1989
1989
|
success: LiveWebReplayResult,
|
|
1990
1990
|
error: LiveRpcError
|
|
1991
|
-
}),
|
|
1991
|
+
}), make5("AckWeb", {
|
|
1992
1992
|
payload: LiveWebAckInput,
|
|
1993
1993
|
success: LiveWebAckResult,
|
|
1994
1994
|
error: LiveRpcError
|
|
1995
|
-
}),
|
|
1995
|
+
}), make5("PublishPresence", {
|
|
1996
1996
|
payload: LivePresencePublishInput,
|
|
1997
1997
|
success: LivePresenceEntry,
|
|
1998
1998
|
error: LiveRpcError
|
|
1999
|
-
}),
|
|
1999
|
+
}), make5("SubscribePresence", {
|
|
2000
2000
|
payload: LivePresenceSubscribeInput,
|
|
2001
2001
|
success: LivePresenceSubscriptionMessage,
|
|
2002
2002
|
error: LiveRpcError,
|
|
2003
2003
|
stream: true
|
|
2004
|
-
}),
|
|
2004
|
+
}), make5("ClearPresence", {
|
|
2005
2005
|
payload: { scope: optional(LiveScope) },
|
|
2006
2006
|
error: LiveRpcError
|
|
2007
|
-
}),
|
|
2007
|
+
}), make5("RecordSessionUpdate", {
|
|
2008
2008
|
payload: { sessionId: String4, input: SessionUpdateCreate },
|
|
2009
2009
|
success: SessionUpdate,
|
|
2010
2010
|
error: LiveRpcError
|
|
2011
|
-
}),
|
|
2011
|
+
}), make5("EndSession", {
|
|
2012
2012
|
payload: { sessionId: String4, input: SessionEnd },
|
|
2013
2013
|
success: Session,
|
|
2014
2014
|
error: LiveRpcError
|
|
@@ -2060,7 +2060,7 @@ function connectKitmanLiveRoot(protocol) {
|
|
|
2060
2060
|
})
|
|
2061
2061
|
});
|
|
2062
2062
|
const layer = (isString2(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
|
|
2063
|
-
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) =>
|
|
2063
|
+
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
|
|
2064
2064
|
let abandon = () => {};
|
|
2065
2065
|
const abandoned = new Promise((_resolve, reject) => {
|
|
2066
2066
|
abandon = reject;
|
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
unwrap,
|
|
4
|
-
drainFork,
|
|
5
|
-
decodeText,
|
|
6
|
-
splitLines,
|
|
7
|
-
runCollect,
|
|
8
|
-
runDrain,
|
|
9
|
-
mkString
|
|
10
|
-
} from "./chunk-nf9gdnsf.js";
|
|
11
|
-
import {
|
|
12
|
-
isString,
|
|
13
|
-
hasProperty,
|
|
14
|
-
symbol,
|
|
15
|
-
hash,
|
|
16
|
-
symbol2,
|
|
17
|
-
equals,
|
|
18
3
|
BaseProto,
|
|
19
|
-
PipeInspectableProto,
|
|
20
4
|
Prototype,
|
|
21
5
|
some,
|
|
22
6
|
Service2,
|
|
@@ -30,50 +14,20 @@ import {
|
|
|
30
14
|
andThen2,
|
|
31
15
|
map8,
|
|
32
16
|
raceFirst,
|
|
33
|
-
scoped
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
var TypeId = "~effect/Redacted";
|
|
48
|
-
var isRedacted = (u) => hasProperty(u, TypeId);
|
|
49
|
-
var make = (value, options) => {
|
|
50
|
-
const self = Object.create(Proto);
|
|
51
|
-
if (options?.label) {
|
|
52
|
-
self.label = options.label;
|
|
53
|
-
}
|
|
54
|
-
redactedRegistry.set(self, value);
|
|
55
|
-
return self;
|
|
56
|
-
};
|
|
57
|
-
var Proto = {
|
|
58
|
-
[TypeId]: {
|
|
59
|
-
_A: (_) => _
|
|
60
|
-
},
|
|
61
|
-
label: undefined,
|
|
62
|
-
...PipeInspectableProto,
|
|
63
|
-
toJSON() {
|
|
64
|
-
return this.toString();
|
|
65
|
-
},
|
|
66
|
-
toString() {
|
|
67
|
-
return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
|
|
68
|
-
},
|
|
69
|
-
[symbol]() {
|
|
70
|
-
return hash(redactedRegistry.get(this));
|
|
71
|
-
},
|
|
72
|
-
[symbol2](that) {
|
|
73
|
-
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
var value = value2;
|
|
17
|
+
scoped,
|
|
18
|
+
isRedacted,
|
|
19
|
+
make16,
|
|
20
|
+
value
|
|
21
|
+
} from "./chunk-zgraq2y3.js";
|
|
22
|
+
import {
|
|
23
|
+
unwrap,
|
|
24
|
+
drainFork,
|
|
25
|
+
decodeText,
|
|
26
|
+
splitLines,
|
|
27
|
+
runCollect,
|
|
28
|
+
runDrain,
|
|
29
|
+
mkString
|
|
30
|
+
} from "./chunk-x20t7xy8.js";
|
|
77
31
|
|
|
78
32
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
|
|
79
33
|
function nominal() {
|
|
@@ -101,7 +55,7 @@ var HandleProto = {
|
|
|
101
55
|
var makeHandle = (params) => Object.setPrototypeOf({
|
|
102
56
|
...params
|
|
103
57
|
}, HandleProto);
|
|
104
|
-
var
|
|
58
|
+
var make = (spawn) => {
|
|
105
59
|
const streamString = (command, options) => spawn(command).pipe(map8((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
|
|
106
60
|
const streamLines = (command, options) => splitLines(streamString(command, options));
|
|
107
61
|
return ChildProcessSpawner.of({
|
|
@@ -222,7 +176,7 @@ var parseTemplate = (texts, values) => {
|
|
|
222
176
|
if (word.length === 0)
|
|
223
177
|
return;
|
|
224
178
|
const value = word.map(unwrap2).join("");
|
|
225
|
-
words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ?
|
|
179
|
+
words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make16(value) : value);
|
|
226
180
|
word = [];
|
|
227
181
|
plain = true;
|
|
228
182
|
braceDepth = 0;
|
|
@@ -312,23 +266,23 @@ var parseTemplate = (texts, values) => {
|
|
|
312
266
|
};
|
|
313
267
|
|
|
314
268
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
|
|
315
|
-
var
|
|
316
|
-
var
|
|
269
|
+
var TypeId = "~effect/process/ChildProcess";
|
|
270
|
+
var Proto = {
|
|
317
271
|
.../* @__PURE__ */ Prototype({
|
|
318
272
|
label: "Command",
|
|
319
273
|
evaluate(fiber) {
|
|
320
274
|
return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
|
|
321
275
|
}
|
|
322
276
|
}),
|
|
323
|
-
[
|
|
277
|
+
[TypeId]: TypeId
|
|
324
278
|
};
|
|
325
|
-
var makeStandardCommand = (command, args, options) => Object.assign(Object.create(
|
|
279
|
+
var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto), {
|
|
326
280
|
_tag: "StandardCommand",
|
|
327
281
|
command,
|
|
328
282
|
args,
|
|
329
283
|
options
|
|
330
284
|
});
|
|
331
|
-
var
|
|
285
|
+
var make2 = function make(...args) {
|
|
332
286
|
if (isTemplateString(args[0])) {
|
|
333
287
|
const [templates, ...expressions] = args;
|
|
334
288
|
const [command, cmdArgs] = parseTemplate2(templates, expressions);
|
|
@@ -386,4 +340,4 @@ var shellScript = (templates, expressions) => {
|
|
|
386
340
|
}
|
|
387
341
|
return script;
|
|
388
342
|
};
|
|
389
|
-
export {
|
|
343
|
+
export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-q5w3v4k1.js";
|
|
3
2
|
import {
|
|
4
3
|
isString,
|
|
5
4
|
hasProperty,
|
|
@@ -33,7 +32,16 @@ import {
|
|
|
33
32
|
toCodecJson,
|
|
34
33
|
Json,
|
|
35
34
|
encodePrettyJsonString
|
|
36
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-zgraq2y3.js";
|
|
36
|
+
import"./chunk-pxvd8w2v.js";
|
|
37
|
+
import {
|
|
38
|
+
decodeText,
|
|
39
|
+
mkString,
|
|
40
|
+
FileSystem,
|
|
41
|
+
Path,
|
|
42
|
+
withDefault,
|
|
43
|
+
String2
|
|
44
|
+
} from "./chunk-x20t7xy8.js";
|
|
37
45
|
import {
|
|
38
46
|
SecureRandom,
|
|
39
47
|
layerWebCrypto,
|
|
@@ -45,31 +53,23 @@ import {
|
|
|
45
53
|
layer4,
|
|
46
54
|
kitmanMcpServer,
|
|
47
55
|
RunnerRpcProtocolVersion
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import {
|
|
50
|
-
decodeText,
|
|
51
|
-
mkString,
|
|
52
|
-
FileSystem,
|
|
53
|
-
Path,
|
|
54
|
-
withDefault,
|
|
55
|
-
String2
|
|
56
|
-
} from "./chunk-nf9gdnsf.js";
|
|
56
|
+
} from "./chunk-80f0p6s7.js";
|
|
57
57
|
import {
|
|
58
58
|
Packument,
|
|
59
59
|
tarballMatches
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import"./chunk-
|
|
60
|
+
} from "./chunk-q4ra17vf.js";
|
|
61
|
+
import"./chunk-zcpnmgwb.js";
|
|
62
62
|
import {
|
|
63
63
|
AgentDeclaration,
|
|
64
64
|
KitDeclarations,
|
|
65
65
|
describeFlag,
|
|
66
66
|
Described
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-pbmadbfm.js";
|
|
68
68
|
import {
|
|
69
69
|
ChildProcessSpawner,
|
|
70
|
-
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import"./chunk-
|
|
70
|
+
make2
|
|
71
|
+
} from "./chunk-cbf0q15q.js";
|
|
72
|
+
import"./chunk-1cr225aq.js";
|
|
73
73
|
|
|
74
74
|
// packages/sdk/src/build/index.ts
|
|
75
75
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -108,7 +108,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
108
108
|
}));
|
|
109
109
|
var run = (command, args, cwd) => gen(function* () {
|
|
110
110
|
const spawner = yield* ChildProcessSpawner;
|
|
111
|
-
const handle = yield* spawner.spawn(
|
|
111
|
+
const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
|
|
112
112
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
113
113
|
mkString(decodeText(handle.stdout)),
|
|
114
114
|
mkString(decodeText(handle.stderr)),
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-zcpnmgwb.js";
|
|
8
|
+
import"./chunk-1cr225aq.js";
|
|
9
|
+
import"./chunk-80f0p6s7.js";
|
|
10
|
+
import"./chunk-pxvd8w2v.js";
|
|
11
|
+
import"./chunk-x20t7xy8.js";
|
|
12
|
+
import"./chunk-zgraq2y3.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
replaceSecretReferences,
|
|
4
|
-
secretReferencesIn
|
|
5
|
-
} from "./chunk-q5w3v4k1.js";
|
|
6
2
|
import {
|
|
7
3
|
getOrElse,
|
|
8
4
|
getOrUndefined,
|
|
@@ -17,7 +13,11 @@ import {
|
|
|
17
13
|
ArraySchema,
|
|
18
14
|
decodeJsonStringOption,
|
|
19
15
|
encodeUnknownJsonStringSync
|
|
20
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-zgraq2y3.js";
|
|
17
|
+
import {
|
|
18
|
+
replaceSecretReferences,
|
|
19
|
+
secretReferencesIn
|
|
20
|
+
} from "./chunk-pxvd8w2v.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -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-ggmwpwhf.js";
|
|
8
|
+
import"./chunk-pxvd8w2v.js";
|
|
9
|
+
import"./chunk-zgraq2y3.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -1,34 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
guard
|
|
4
|
-
} from "./chunk-q5w3v4k1.js";
|
|
5
|
-
import {
|
|
6
|
-
currentTimeMillis,
|
|
7
|
-
WebCrypto,
|
|
8
|
-
SafeJson,
|
|
9
|
-
AgentSandboxNetwork,
|
|
10
|
-
AgentEfforts,
|
|
11
|
-
AgentCapabilities,
|
|
12
|
-
LoopDataSchemaRef,
|
|
13
|
-
LoopVersion,
|
|
14
|
-
ProgramLoop,
|
|
15
|
-
AgentFallback,
|
|
16
|
-
ProgramWorkUnit,
|
|
17
|
-
MeasureEvidence,
|
|
18
|
-
CatchUp,
|
|
19
|
-
RunFileRefused,
|
|
20
|
-
runFileContentType,
|
|
21
|
-
sha256Hasher,
|
|
22
|
-
put,
|
|
23
|
-
setHeaders,
|
|
24
|
-
bodyUint8Array,
|
|
25
|
-
filterStatusOk,
|
|
26
|
-
HttpClient,
|
|
27
|
-
KitName,
|
|
28
|
-
KitDigest,
|
|
29
|
-
KitSetup,
|
|
30
|
-
RunnerRpcError
|
|
31
|
-
} from "./chunk-zd6y6ka8.js";
|
|
32
2
|
import {
|
|
33
3
|
dual,
|
|
34
4
|
getOrElse,
|
|
@@ -105,11 +75,41 @@ import {
|
|
|
105
75
|
toEquivalence,
|
|
106
76
|
toCodecJson,
|
|
107
77
|
Json
|
|
108
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-zgraq2y3.js";
|
|
79
|
+
import {
|
|
80
|
+
guard
|
|
81
|
+
} from "./chunk-pxvd8w2v.js";
|
|
82
|
+
import {
|
|
83
|
+
currentTimeMillis,
|
|
84
|
+
WebCrypto,
|
|
85
|
+
SafeJson,
|
|
86
|
+
AgentSandboxNetwork,
|
|
87
|
+
AgentEfforts,
|
|
88
|
+
AgentCapabilities,
|
|
89
|
+
LoopDataSchemaRef,
|
|
90
|
+
LoopVersion,
|
|
91
|
+
ProgramLoop,
|
|
92
|
+
AgentFallback,
|
|
93
|
+
ProgramWorkUnit,
|
|
94
|
+
MeasureEvidence,
|
|
95
|
+
CatchUp,
|
|
96
|
+
RunFileRefused,
|
|
97
|
+
runFileContentType,
|
|
98
|
+
sha256Hasher,
|
|
99
|
+
put,
|
|
100
|
+
setHeaders,
|
|
101
|
+
bodyUint8Array,
|
|
102
|
+
filterStatusOk,
|
|
103
|
+
HttpClient,
|
|
104
|
+
KitName,
|
|
105
|
+
KitDigest,
|
|
106
|
+
KitSetup,
|
|
107
|
+
RunnerRpcError
|
|
108
|
+
} from "./chunk-80f0p6s7.js";
|
|
109
109
|
import {
|
|
110
110
|
runForEach,
|
|
111
111
|
FileSystem
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-x20t7xy8.js";
|
|
113
113
|
|
|
114
114
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
|
|
115
115
|
var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-cbf0q15q.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-80f0p6s7.js";
|
|
16
|
+
import"./chunk-x20t7xy8.js";
|
|
17
|
+
import"./chunk-zgraq2y3.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
isString2,
|
|
26
26
|
encodePrettyJsonString,
|
|
27
27
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-zgraq2y3.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSystem,
|
|
31
31
|
Path,
|
|
32
32
|
optionalEnv,
|
|
33
33
|
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-x20t7xy8.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-80f0p6s7.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-q4ra17vf.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-zgraq2y3.js";
|
|
22
22
|
|
|
23
23
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
|
|
24
24
|
var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
|