@kitman-sh/cli 0.14.9 → 0.15.1

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.
Files changed (30) hide show
  1. package/dist/{chunk-cwdrhsvk.js → chunk-0ws25xvg.js} +2 -2
  2. package/dist/{chunk-czmbgsqr.js → chunk-2vxb3q01.js} +656 -39
  3. package/dist/{chunk-mgjer6c7.js → chunk-39ykbhq8.js} +3 -3
  4. package/dist/{chunk-vt8aqeby.js → chunk-3ns4sbfb.js} +1 -1
  5. package/dist/{chunk-c80dvhxf.js → chunk-5hkdgzh4.js} +1 -6
  6. package/dist/{chunk-0x5r7h2g.js → chunk-60fhzjx3.js} +1127 -109
  7. package/dist/{chunk-enmtmq63.js → chunk-69xka6ew.js} +1 -1
  8. package/dist/{chunk-vjt0d9zj.js → chunk-6h70kent.js} +7 -7
  9. package/dist/{chunk-qb9jft1r.js → chunk-8wpg3rph.js} +2 -2
  10. package/dist/{chunk-ftre6ndb.js → chunk-91tmbf95.js} +6 -6
  11. package/dist/chunk-csxxwscf.js +39 -0
  12. package/dist/chunk-d40233pm.js +3080 -0
  13. package/dist/{chunk-jsb61dsk.js → chunk-dv4v0tbn.js} +1815 -117
  14. package/dist/{chunk-wttgq85b.js → chunk-dx792s4w.js} +1396 -41
  15. package/dist/{chunk-dd7wknyk.js → chunk-f36s9s1g.js} +1512 -125
  16. package/dist/{chunk-y9x0yv20.js → chunk-fggwdr03.js} +461 -224
  17. package/dist/{chunk-93xj74qp.js → chunk-fzaecdgv.js} +3 -3
  18. package/dist/{chunk-2r4jy82z.js → chunk-k2wd9r6t.js} +4 -4
  19. package/dist/{chunk-h7qv6nzc.js → chunk-kskb0hkb.js} +7 -7
  20. package/dist/{chunk-6qygqj10.js → chunk-tgt9a3yz.js} +6 -6
  21. package/dist/{chunk-bmwf2ea5.js → chunk-vg78dz3w.js} +85 -26
  22. package/dist/{chunk-axr8avvs.js → chunk-wh4bpc4w.js} +4 -4
  23. package/dist/chunk-xrjt25ns.js +4345 -0
  24. package/dist/{chunk-e3c15bgw.js → chunk-xx711t5r.js} +4 -4
  25. package/dist/{chunk-b2yy07ag.js → chunk-ygx2pda7.js} +7 -7
  26. package/dist/{chunk-cpss81fx.js → chunk-zy4sv70r.js} +13 -5
  27. package/dist/index.js +4 -4
  28. package/package.json +2 -1
  29. package/dist/chunk-3hdjd2c3.js +0 -1192
  30. package/dist/chunk-qvyqfm54.js +0 -526
@@ -7,10 +7,10 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-mgjer6c7.js";
11
- import"./chunk-2r4jy82z.js";
12
- import"./chunk-bmwf2ea5.js";
13
- import"./chunk-wttgq85b.js";
10
+ } from "./chunk-39ykbhq8.js";
11
+ import"./chunk-k2wd9r6t.js";
12
+ import"./chunk-vg78dz3w.js";
13
+ import"./chunk-dx792s4w.js";
14
14
  export {
15
15
  decoded2 as decoded,
16
16
  decodedOption2 as decodedOption,
@@ -11,7 +11,7 @@ import {
11
11
  fail7,
12
12
  flatMap3,
13
13
  exit,
14
- map8,
14
+ map9,
15
15
  as,
16
16
  catch_,
17
17
  catchReason,
@@ -25,21 +25,21 @@ import {
25
25
  isString2,
26
26
  encodePrettyJsonString,
27
27
  decodeJsonStringSync
28
- } from "./chunk-wttgq85b.js";
28
+ } from "./chunk-dx792s4w.js";
29
29
  import {
30
30
  FileSystem,
31
31
  Path,
32
32
  optionalEnv,
33
33
  tempDirectoryScoped
34
- } from "./chunk-bmwf2ea5.js";
34
+ } from "./chunk-vg78dz3w.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-dd7wknyk.js";
39
+ } from "./chunk-f36s9s1g.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-h7qv6nzc.js";
42
+ } from "./chunk-kskb0hkb.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 @@ function manifestSkillPaths(manifest) {
123
123
  return isString2(item.skillPath) ? [item.skillPath] : [];
124
124
  }));
125
125
  }
126
- var readManifestSkillPaths2 = (manifestPath) => map8(readExistingText(manifestPath), (text) => manifestSkillPaths(parseJsonObject(text)));
126
+ var readManifestSkillPaths2 = (manifestPath) => map9(readExistingText(manifestPath), (text) => manifestSkillPaths(parseJsonObject(text)));
127
127
  var managedManifestPathForConfig = (paths, file) => gen(function* () {
128
128
  const fs = yield* FileSystem;
129
129
  const manifestRoot = managedManifestRootPath(paths, file);
@@ -944,7 +944,7 @@ var resolveGitSource = (subject, source, input) => gen(function* () {
944
944
  const resolver = yield* SourceResolver;
945
945
  const latest = input.versions === "latest";
946
946
  const ref = latest ? undefined : source.ref;
947
- const resolved = (isCommitHash(ref) ? succeed6(ref) : resolver.gitCommit(source.url, ref)).pipe(map8((commit) => ({ commit })), catch_((error) => succeed6({
947
+ const resolved = (isCommitHash(ref) ? succeed6(ref) : resolver.gitCommit(source.url, ref)).pipe(map9((commit) => ({ commit })), catch_((error) => succeed6({
948
948
  problem: `Kitman could not resolve ${subject} from ${source.url}${ref === undefined ? "" : ` at ${ref}`}: ${error.message}`
949
949
  })));
950
950
  if (input.requireReviewedSources !== true)
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-wttgq85b.js";
9
+ } from "./chunk-dx792s4w.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-bmwf2ea5.js";
12
+ } from "./chunk-vg78dz3w.js";
13
13
  import {
14
14
  WebSocketConstructor,
15
15
  layerWebSocketConstructorGlobal,
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-dd7wknyk.js";
22
+ } from "./chunk-f36s9s1g.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-ftre6ndb.js";
28
+ } from "./chunk-91tmbf95.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -89,6 +89,9 @@ var makeProgramRpcClient2 = (options) => gen(function* () {
89
89
  awaitEvent: (input) => authorized(client.AwaitEvent(input)),
90
90
  claimResource: (input) => authorized(client.ClaimResource(input)),
91
91
  admitChild: (input) => authorized(client.AdmitChild(input)),
92
+ admitChildById: (input) => authorized(client.AdmitChildById(input)),
93
+ callableLoops: (input) => authorized(client.CallableLoops(input)),
94
+ stopLaunches: (input) => authorized(client.StopLaunches(input)),
92
95
  storeArtifact: (input) => authorized(client.StoreArtifact(input)),
93
96
  createRunFile: (input) => authorized(client.CreateRunFile(input)),
94
97
  runFileParts: (input) => authorized(client.RunFileParts(input)),
@@ -108,11 +111,16 @@ var makeProgramRpcClient2 = (options) => gen(function* () {
108
111
  draftUpdate: (input) => authorized(client.DraftUpdate(input)),
109
112
  integrationBranch: (input) => authorized(client.IntegrationBranch(input)),
110
113
  deliveryBase: (input) => authorized(client.DeliveryBase(input)),
114
+ branch: (input) => authorized(client.Branch(input)),
115
+ branchChangeRequest: (input) => authorized(client.BranchChangeRequest(input)),
111
116
  mergeChangeRequest: (input) => authorized(client.MergeChangeRequest(input)),
112
117
  closeChangeRequest: (input) => authorized(client.CloseChangeRequest(input)),
113
118
  approveChangeRequest: (input) => authorized(client.ApproveChangeRequest(input)),
114
119
  rerunPipeline: (input) => authorized(client.RerunPipeline(input)),
115
- publishRelease: (input) => authorized(client.PublishRelease(input))
120
+ publishRelease: (input) => authorized(client.PublishRelease(input)),
121
+ recordDeploy: (input) => authorized(client.RecordDeploy(input)),
122
+ deployTarget: (input) => authorized(client.DeployTarget(input)),
123
+ runHostStep: (input) => authorized(client.RunHostStep(input))
116
124
  };
117
125
  });
118
126
 
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-qb9jft1r.js");
8
+ const { runSrtCli } = await import("./chunk-8wpg3rph.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
- const { runSrtStep } = await import("./chunk-93xj74qp.js");
11
+ const { runSrtStep } = await import("./chunk-fzaecdgv.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-e3c15bgw.js");
14
+ const { runOpencodeReader } = await import("./chunk-xx711t5r.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-jsb61dsk.js");
17
+ const { runCli } = await import("./chunk-dv4v0tbn.js");
18
18
  runCli(args);
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/cli",
3
- "version": "0.14.9",
3
+ "version": "0.15.1",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bin": {
@@ -15,6 +15,7 @@
15
15
  "@babel/parser": "^8.1.0",
16
16
  "@babel/types": "^8.1.0",
17
17
  "@modelcontextprotocol/server": "^2.4.0",
18
+ "oxc-parser": "^0.157.0",
18
19
  "secure-exec": "^0.3.3",
19
20
  "typebox": "^1.4.5",
20
21
  "uuid": "^14.0.3"