@darkrymit/crunes-cli 0.10.1 → 0.11.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.
@@ -5,10 +5,10 @@ import {
5
5
  import {
6
6
  describeConfigLayers,
7
7
  runRune
8
- } from "./chunk-VSMAZISQ.js";
8
+ } from "./chunk-MOAQLHP2.js";
9
9
  import {
10
10
  renderSection
11
- } from "./chunk-KX6QEHM5.js";
11
+ } from "./chunk-JBQXPW7P.js";
12
12
  import {
13
13
  loadConfig
14
14
  } from "./chunk-3KKRNQQU.js";
@@ -216,7 +216,7 @@ async function handler({
216
216
  process.exit(1);
217
217
  }
218
218
  if (isBatch) {
219
- const { resolvePluginRune } = await import("./resolver-URPQMOIV.js");
219
+ const { resolvePluginRune } = await import("./resolver-WN4HKKBV.js");
220
220
  const { loadPluginJson } = await import("./manifest-76MIEL2F.js");
221
221
  for (const seg of segments) {
222
222
  let entry = config.runes?.[seg.key] ?? {};
@@ -440,7 +440,7 @@ async function getRunBlockSchema(desc, projectDir, { vars = {}, runeKey = null }
440
440
  if (/\.json$/i.test(desc.argsModule)) {
441
441
  return loadJsonSchema(desc.argsModule, relative(projectDir, desc.argsModule).replace(/\\/g, "/") || desc.argsModule);
442
442
  }
443
- const { getArgsSchema } = await import("./runner-VPTLUQJE.js");
443
+ const { getArgsSchema } = await import("./runner-KA3YHICN.js");
444
444
  return getArgsSchema(desc.argsModule, blockGrants({ permissions: desc.argsPermissions }), projectDir, { vars, runeKey });
445
445
  }
446
446
  function parseOutputLine(line) {
@@ -474,7 +474,7 @@ async function runRunBlock({ dir, key, args, entry, opts = {}, configDir, runeCa
474
474
  const desc = describeRunBlock(entry, configDir);
475
475
  let callArgs = [...desc.argv, ...args];
476
476
  if (desc.runtime === "isolate") {
477
- const { runRuneInIsolate } = await import("./runner-VPTLUQJE.js");
477
+ const { runRuneInIsolate } = await import("./runner-KA3YHICN.js");
478
478
  return runRuneInIsolate(desc.command, blockGrants(desc), callArgs, dir, {
479
479
  runeCallback,
480
480
  sections: opts.sections ?? null,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runRunBlock
3
- } from "./chunk-KX6QEHM5.js";
3
+ } from "./chunk-JBQXPW7P.js";
4
4
  import {
5
5
  isNativeRune,
6
6
  trustDigest,
@@ -127,7 +127,7 @@ async function runPluginMatch({ match, pluginJson, projectPerms, projectVars, ke
127
127
  });
128
128
  return result2?.directExitCode !== void 0 ? result2 : normaliseResult(result2);
129
129
  }
130
- const { executePluginRune } = await import("./runner-VPTLUQJE.js");
130
+ const { executePluginRune } = await import("./runner-KA3YHICN.js");
131
131
  const result = await executePluginRune({
132
132
  pluginDir,
133
133
  pluginCacheDir,
@@ -225,7 +225,7 @@ async function resolveRuneEntry(projectDir, config, key, configDir = projectDir)
225
225
  const vars = { ...pluginJson.runes[runeKey]?.vars ?? {}, ...config.runes?.[`${pluginKey}:${runeKey}`]?.vars ?? {} };
226
226
  return {
227
227
  async createReplSession(args, opts = {}) {
228
- const { getPluginRunePath, runRuneInRepl } = await import("./runner-VPTLUQJE.js");
228
+ const { getPluginRunePath, runRuneInRepl } = await import("./runner-KA3YHICN.js");
229
229
  const runeFile = getPluginRunePath(pluginDir, runeKey, pluginJson, "repl");
230
230
  const nodeModulesDir = join(pluginCacheDir, "node_modules");
231
231
  return runRuneInRepl(runeFile, effective, args, projectDir, {
@@ -251,7 +251,7 @@ async function resolveRuneEntry(projectDir, config, key, configDir = projectDir)
251
251
  const vars = entry.vars ?? {};
252
252
  return {
253
253
  async createReplSession(args, opts = {}) {
254
- const { runRuneInRepl } = await import("./runner-VPTLUQJE.js");
254
+ const { runRuneInRepl } = await import("./runner-KA3YHICN.js");
255
255
  return runRuneInRepl(runeFile, effective, args, projectDir, {
256
256
  vars,
257
257
  runeKey: key,
@@ -275,7 +275,7 @@ async function resolveRuneEntry(projectDir, config, key, configDir = projectDir)
275
275
  const vars = { ...pluginJson.runes[runeKey]?.vars ?? {}, ...config.runes?.[`${pluginKey}:${runeKey}`]?.vars ?? {} };
276
276
  return {
277
277
  async createReplSession(args, opts = {}) {
278
- const { getPluginRunePath, runRuneInRepl } = await import("./runner-VPTLUQJE.js");
278
+ const { getPluginRunePath, runRuneInRepl } = await import("./runner-KA3YHICN.js");
279
279
  const runeFile = getPluginRunePath(pluginDir, runeKey, pluginJson, "repl");
280
280
  const nodeModulesDir = join(pluginCacheDir, "node_modules");
281
281
  return runRuneInRepl(runeFile, effective, args, projectDir, {