tenjin-cli 0.1.0-alpha.13 → 0.1.0-alpha.14
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/README.md +35 -2
- package/dist/{buy-X4VPHFUA.js → buy-2JBYPHAI.js} +16 -14
- package/dist/{chunk-6JKD46OJ.js → chunk-3ZW7HPY5.js} +4 -4
- package/dist/chunk-4UHNXY6B.js +786 -0
- package/dist/chunk-4UHNXY6B.js.map +1 -0
- package/dist/{chunk-IFPKA32J.js → chunk-4Y53PDH6.js} +2 -2
- package/dist/{chunk-SPUORKD7.js → chunk-54AJIO3E.js} +11 -12
- package/dist/chunk-54AJIO3E.js.map +1 -0
- package/dist/{chunk-JVBMPU5G.js → chunk-7GJQ5RGA.js} +5 -3
- package/dist/{chunk-JVBMPU5G.js.map → chunk-7GJQ5RGA.js.map} +1 -1
- package/dist/{chunk-BRAVLUGI.js → chunk-7NADDA2V.js} +9 -6
- package/dist/{chunk-BRAVLUGI.js.map → chunk-7NADDA2V.js.map} +1 -1
- package/dist/{chunk-T4UWMVKV.js → chunk-ACBEHJAH.js} +4 -4
- package/dist/{chunk-XXY77EZJ.js → chunk-DAZAXFSF.js} +7 -7
- package/dist/{chunk-OE36HRWG.js → chunk-DTCXO7HS.js} +257 -405
- package/dist/chunk-DTCXO7HS.js.map +1 -0
- package/dist/{chunk-CA3JV7FX.js → chunk-ETKZWJ4B.js} +2 -2
- package/dist/{chunk-CA3JV7FX.js.map → chunk-ETKZWJ4B.js.map} +1 -1
- package/dist/{chunk-NKN4YC5C.js → chunk-FDUD3W5V.js} +2 -2
- package/dist/{chunk-L4XNT3UW.js → chunk-GEHL43VE.js} +49 -17
- package/dist/chunk-GEHL43VE.js.map +1 -0
- package/dist/chunk-IU2HVT3Y.js +313 -0
- package/dist/chunk-IU2HVT3Y.js.map +1 -0
- package/dist/{chunk-OXUJ3FXU.js → chunk-IUQZ4Z7M.js} +36 -8
- package/dist/chunk-IUQZ4Z7M.js.map +1 -0
- package/dist/{chunk-YMUJZWHB.js → chunk-IXZJ3JOO.js} +5 -5
- package/dist/{chunk-47YKYDOF.js → chunk-L6G35FU5.js} +2 -2
- package/dist/{chunk-ELVDOTU7.js → chunk-LSWP7MU2.js} +4 -4
- package/dist/chunk-LSWP7MU2.js.map +1 -0
- package/dist/{chunk-OUJDDY5L.js → chunk-MJSXP4LW.js} +30 -28
- package/dist/chunk-MJSXP4LW.js.map +1 -0
- package/dist/{chunk-WVHPGQH5.js → chunk-NAAMHWSI.js} +5 -2
- package/dist/chunk-NAAMHWSI.js.map +1 -0
- package/dist/{chunk-IKAJSA7E.js → chunk-O75FOHXS.js} +29 -11
- package/dist/chunk-O75FOHXS.js.map +1 -0
- package/dist/{chunk-WMFRCSNC.js → chunk-PCX2JQ2J.js} +3 -3
- package/dist/{chunk-IGHSLJUF.js → chunk-PKW3H26Z.js} +5 -5
- package/dist/{chunk-3NZCU6SD.js → chunk-PQZVDCCA.js} +4 -4
- package/dist/{chunk-OC3EIDCP.js → chunk-QWBUKIP2.js} +7 -1
- package/dist/chunk-QWBUKIP2.js.map +1 -0
- package/dist/{chunk-FKSAUOJU.js → chunk-UO22YNY4.js} +1 -69
- package/dist/chunk-UO22YNY4.js.map +1 -0
- package/dist/chunk-VEAERJVJ.js +43 -0
- package/dist/chunk-VEAERJVJ.js.map +1 -0
- package/dist/{chunk-GCGMXA2O.js → chunk-VRPLZERE.js} +16 -5
- package/dist/chunk-VRPLZERE.js.map +1 -0
- package/dist/{chunk-IAR25V2E.js → chunk-W4VW5XYB.js} +4 -4
- package/dist/chunk-WYLMJQVH.js +240 -0
- package/dist/chunk-WYLMJQVH.js.map +1 -0
- package/dist/{chunk-TXVC46SA.js → chunk-XVPQGCH4.js} +11 -10
- package/dist/chunk-XVPQGCH4.js.map +1 -0
- package/dist/chunk-ZOBNS7CX.js +73 -0
- package/dist/chunk-ZOBNS7CX.js.map +1 -0
- package/dist/{cli-XK5JZWU6.js → cli-U2BEUA55.js} +34 -36
- package/dist/{cli-XK5JZWU6.js.map → cli-U2BEUA55.js.map} +1 -1
- package/dist/{config-CNK7MYUR.js → config-CNUIX23Q.js} +12 -6
- package/dist/{doctor-R7N7FUX5.js → doctor-QJJXRWTO.js} +11 -7
- package/dist/{edit-QSUEG7CL.js → edit-HJ44P44P.js} +13 -11
- package/dist/{fund-JF6A76YS.js → fund-Y5IAHZ5D.js} +10 -8
- package/dist/index.js +1 -1
- package/dist/{inspect-NFNAA4LA.js → inspect-NFQ6SQQQ.js} +14 -12
- package/dist/{install-YQVM3SUW.js → install-DXX7PVUP.js} +122 -401
- package/dist/install-DXX7PVUP.js.map +1 -0
- package/dist/outcome-ANV4QIED.js +24 -0
- package/dist/{publish-O2I6IAEL.js → publish-PCBTCXCZ.js} +14 -12
- package/dist/{read-UF7QVQOU.js → read-W7QVRBVD.js} +14 -12
- package/dist/{read-UF7QVQOU.js.map → read-W7QVRBVD.js.map} +1 -1
- package/dist/{run-GDZWHNWZ.js → run-CJWPGMIQ.js} +26 -24
- package/dist/{run-GDZWHNWZ.js.map → run-CJWPGMIQ.js.map} +1 -1
- package/dist/search-JGAVKTYJ.js +25 -0
- package/dist/{send-SI254H3R.js → send-C5EOKXOU.js} +7 -6
- package/dist/{send-SI254H3R.js.map → send-C5EOKXOU.js.map} +1 -1
- package/dist/{session-GJZJEXLJ.js → session-OBCUUIFX.js} +7 -6
- package/dist/{session-GJZJEXLJ.js.map → session-OBCUUIFX.js.map} +1 -1
- package/dist/{skill-heal-BPFT22XS.js → skill-heal-D6EPLPS6.js} +3 -3
- package/dist/skill-heal-D6EPLPS6.js.map +1 -0
- package/dist/{uninstall-7ZZG6WQ5.js → uninstall-OWJNJ5LI.js} +11 -5
- package/dist/uninstall-OWJNJ5LI.js.map +1 -0
- package/dist/{update-FPSBITLB.js → update-24Y2CQTT.js} +16 -13
- package/dist/update-24Y2CQTT.js.map +1 -0
- package/dist/{wallet-TZVD2M4I.js → wallet-OFXDIIGP.js} +7 -6
- package/dist/{wallet-NS7TYWNN.js → wallet-SLRIYJ2U.js} +4 -3
- package/docs/agent-permissions.md +100 -16
- package/docs/command-reference.md +21 -11
- package/package.json +1 -1
- package/skills/tenjin-publish/SKILL.md +181 -205
- package/skills/tenjin-publish/references/maintain.md +39 -0
- package/skills/tenjin-search/SKILL.md +86 -279
- package/skills/tenjin-search/references/permissions.md +106 -0
- package/dist/chunk-ELVDOTU7.js.map +0 -1
- package/dist/chunk-FKSAUOJU.js.map +0 -1
- package/dist/chunk-GCGMXA2O.js.map +0 -1
- package/dist/chunk-IKAJSA7E.js.map +0 -1
- package/dist/chunk-L4XNT3UW.js.map +0 -1
- package/dist/chunk-OC3EIDCP.js.map +0 -1
- package/dist/chunk-OE36HRWG.js.map +0 -1
- package/dist/chunk-OUJDDY5L.js.map +0 -1
- package/dist/chunk-OXUJ3FXU.js.map +0 -1
- package/dist/chunk-SPUORKD7.js.map +0 -1
- package/dist/chunk-TXVC46SA.js.map +0 -1
- package/dist/chunk-UUARTUY2.js +0 -349
- package/dist/chunk-UUARTUY2.js.map +0 -1
- package/dist/chunk-WVHPGQH5.js.map +0 -1
- package/dist/install-YQVM3SUW.js.map +0 -1
- package/dist/outcome-IUSYFJTN.js +0 -22
- package/dist/search-JVOHEF3E.js +0 -23
- package/dist/skill-heal-BPFT22XS.js.map +0 -1
- package/dist/uninstall-7ZZG6WQ5.js.map +0 -1
- package/dist/update-FPSBITLB.js.map +0 -1
- /package/dist/{buy-X4VPHFUA.js.map → buy-2JBYPHAI.js.map} +0 -0
- /package/dist/{chunk-6JKD46OJ.js.map → chunk-3ZW7HPY5.js.map} +0 -0
- /package/dist/{chunk-IFPKA32J.js.map → chunk-4Y53PDH6.js.map} +0 -0
- /package/dist/{chunk-T4UWMVKV.js.map → chunk-ACBEHJAH.js.map} +0 -0
- /package/dist/{chunk-XXY77EZJ.js.map → chunk-DAZAXFSF.js.map} +0 -0
- /package/dist/{chunk-NKN4YC5C.js.map → chunk-FDUD3W5V.js.map} +0 -0
- /package/dist/{chunk-YMUJZWHB.js.map → chunk-IXZJ3JOO.js.map} +0 -0
- /package/dist/{chunk-47YKYDOF.js.map → chunk-L6G35FU5.js.map} +0 -0
- /package/dist/{chunk-WMFRCSNC.js.map → chunk-PCX2JQ2J.js.map} +0 -0
- /package/dist/{chunk-IGHSLJUF.js.map → chunk-PKW3H26Z.js.map} +0 -0
- /package/dist/{chunk-3NZCU6SD.js.map → chunk-PQZVDCCA.js.map} +0 -0
- /package/dist/{chunk-IAR25V2E.js.map → chunk-W4VW5XYB.js.map} +0 -0
- /package/dist/{config-CNK7MYUR.js.map → config-CNUIX23Q.js.map} +0 -0
- /package/dist/{doctor-R7N7FUX5.js.map → doctor-QJJXRWTO.js.map} +0 -0
- /package/dist/{edit-QSUEG7CL.js.map → edit-HJ44P44P.js.map} +0 -0
- /package/dist/{fund-JF6A76YS.js.map → fund-Y5IAHZ5D.js.map} +0 -0
- /package/dist/{inspect-NFNAA4LA.js.map → inspect-NFQ6SQQQ.js.map} +0 -0
- /package/dist/{outcome-IUSYFJTN.js.map → outcome-ANV4QIED.js.map} +0 -0
- /package/dist/{publish-O2I6IAEL.js.map → publish-PCBTCXCZ.js.map} +0 -0
- /package/dist/{search-JVOHEF3E.js.map → search-JGAVKTYJ.js.map} +0 -0
- /package/dist/{wallet-NS7TYWNN.js.map → wallet-OFXDIIGP.js.map} +0 -0
- /package/dist/{wallet-TZVD2M4I.js.map → wallet-SLRIYJ2U.js.map} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
PERMISSIONS_DOC_URL
|
|
4
|
-
} from "./chunk-OXUJ3FXU.js";
|
|
5
2
|
import {
|
|
6
3
|
maybeUpdate,
|
|
7
4
|
readUpdateSignal
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
package_default
|
|
11
|
-
} from "./chunk-CA3JV7FX.js";
|
|
5
|
+
} from "./chunk-MJSXP4LW.js";
|
|
12
6
|
import {
|
|
13
7
|
defaultIo,
|
|
14
8
|
emitFailure,
|
|
15
9
|
emitSuccess
|
|
16
10
|
} from "./chunk-B676GPS2.js";
|
|
17
|
-
import
|
|
11
|
+
import {
|
|
12
|
+
PERMISSIONS_DOC_URL
|
|
13
|
+
} from "./chunk-IUQZ4Z7M.js";
|
|
14
|
+
import "./chunk-LSWP7MU2.js";
|
|
15
|
+
import {
|
|
16
|
+
package_default
|
|
17
|
+
} from "./chunk-ETKZWJ4B.js";
|
|
18
18
|
import {
|
|
19
19
|
dataDir
|
|
20
20
|
} from "./chunk-ZQIQ55KK.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-QWBUKIP2.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError,
|
|
24
24
|
external_exports
|
|
@@ -3523,7 +3523,7 @@ function buildProgram(io, setExit) {
|
|
|
3523
3523
|
}
|
|
3524
3524
|
if (command !== "install") {
|
|
3525
3525
|
try {
|
|
3526
|
-
const { healWiredSkills } = await import("./skill-heal-
|
|
3526
|
+
const { healWiredSkills } = await import("./skill-heal-D6EPLPS6.js");
|
|
3527
3527
|
await healWiredSkills({ io });
|
|
3528
3528
|
} catch {
|
|
3529
3529
|
}
|
|
@@ -3570,7 +3570,7 @@ function buildProgram(io, setExit) {
|
|
|
3570
3570
|
const o = this.opts();
|
|
3571
3571
|
const claudeMdGiven = this.getOptionValueSource("claudeMd") !== "default";
|
|
3572
3572
|
const allowGiven = this.getOptionValueSource("allowFreeVerbs") !== "default";
|
|
3573
|
-
const { runInstall } = await import("./install-
|
|
3573
|
+
const { runInstall } = await import("./install-DXX7PVUP.js");
|
|
3574
3574
|
return runInstall(
|
|
3575
3575
|
{
|
|
3576
3576
|
...Array.isArray(o.harness) && o.harness.length > 0 ? { harness: o.harness } : {},
|
|
@@ -3587,24 +3587,22 @@ function buildProgram(io, setExit) {
|
|
|
3587
3587
|
});
|
|
3588
3588
|
});
|
|
3589
3589
|
addGlobalFlags(program2.command("uninstall")).description(
|
|
3590
|
-
"Remove everything `tenjin install` wrote: the skills, the harness hooks and their settings entries, and the tenjin permission rules.
|
|
3590
|
+
"Remove everything `tenjin install` wrote: the skills, the harness hooks and their settings entries, the generated hook scripts in ~/.tenjin/hooks, and the tenjin permission rules. Your wallet, config, library and search history are kept"
|
|
3591
3591
|
).action(async function() {
|
|
3592
3592
|
await runCommand("uninstall", this, async (ctx) => {
|
|
3593
|
-
const { runUninstall } = await import("./uninstall-
|
|
3593
|
+
const { runUninstall } = await import("./uninstall-OWJNJ5LI.js");
|
|
3594
3594
|
return runUninstall(ctx);
|
|
3595
3595
|
});
|
|
3596
3596
|
});
|
|
3597
3597
|
addGlobalFlags(program2.command("doctor")).description("Check the local environment and Tenjin API reachability").action(async function() {
|
|
3598
3598
|
await runCommand("doctor", this, async (ctx) => {
|
|
3599
|
-
const { runDoctor } = await import("./doctor-
|
|
3599
|
+
const { runDoctor } = await import("./doctor-QJJXRWTO.js");
|
|
3600
3600
|
return runDoctor(ctx);
|
|
3601
3601
|
});
|
|
3602
3602
|
});
|
|
3603
|
-
addGlobalFlags(program2.command("update")).description(
|
|
3604
|
-
"Update tenjin-cli to the newest version on its release channel (an alpha build follows @alpha)"
|
|
3605
|
-
).option("--check", "report whether a newer version exists without installing it").action(async function() {
|
|
3603
|
+
addGlobalFlags(program2.command("update")).description("Update tenjin-cli to the newest version npm publishes on the latest tag").option("--check", "report whether a newer version exists without installing it").action(async function() {
|
|
3606
3604
|
await runCommand("update", this, async (ctx) => {
|
|
3607
|
-
const { runUpdate } = await import("./update-
|
|
3605
|
+
const { runUpdate } = await import("./update-24Y2CQTT.js");
|
|
3608
3606
|
return runUpdate({ check: this.opts().check === true }, ctx);
|
|
3609
3607
|
});
|
|
3610
3608
|
});
|
|
@@ -3613,19 +3611,19 @@ function buildProgram(io, setExit) {
|
|
|
3613
3611
|
);
|
|
3614
3612
|
config.action(async function() {
|
|
3615
3613
|
await runCommand("config", this, async (ctx) => {
|
|
3616
|
-
const { runConfigList } = await import("./config-
|
|
3614
|
+
const { runConfigList } = await import("./config-CNUIX23Q.js");
|
|
3617
3615
|
return runConfigList(ctx);
|
|
3618
3616
|
});
|
|
3619
3617
|
});
|
|
3620
3618
|
addGlobalFlags(config.command("get <key>")).description("Print one effective config value").action(async function(key) {
|
|
3621
3619
|
await runCommand("config.get", this, async (ctx) => {
|
|
3622
|
-
const { runConfigGet } = await import("./config-
|
|
3620
|
+
const { runConfigGet } = await import("./config-CNUIX23Q.js");
|
|
3623
3621
|
return runConfigGet({ key }, ctx);
|
|
3624
3622
|
});
|
|
3625
3623
|
});
|
|
3626
3624
|
addGlobalFlags(config.command("set <key> <value>")).description("Set a config value (decimal USD accepted for spend keys)").action(async function(key, value) {
|
|
3627
3625
|
await runCommand("config.set", this, async (ctx) => {
|
|
3628
|
-
const { runConfigSet } = await import("./config-
|
|
3626
|
+
const { runConfigSet } = await import("./config-CNUIX23Q.js");
|
|
3629
3627
|
return runConfigSet({ key, value }, ctx);
|
|
3630
3628
|
});
|
|
3631
3629
|
});
|
|
@@ -3638,19 +3636,19 @@ function buildProgram(io, setExit) {
|
|
|
3638
3636
|
).action(async function() {
|
|
3639
3637
|
await runCommand("wallet.create", this, async (ctx) => {
|
|
3640
3638
|
const o = this.opts();
|
|
3641
|
-
const { runWalletCreate } = await import("./wallet-
|
|
3639
|
+
const { runWalletCreate } = await import("./wallet-OFXDIIGP.js");
|
|
3642
3640
|
return runWalletCreate(ctx, o.replace === true ? { replace: true } : {});
|
|
3643
3641
|
});
|
|
3644
3642
|
});
|
|
3645
3643
|
addGlobalFlags(wallet.command("show")).description("Show the wallet address and key source (never the key)").action(async function() {
|
|
3646
3644
|
await runCommand("wallet.show", this, async (ctx) => {
|
|
3647
|
-
const { runWalletShow } = await import("./wallet-
|
|
3645
|
+
const { runWalletShow } = await import("./wallet-OFXDIIGP.js");
|
|
3648
3646
|
return runWalletShow(ctx);
|
|
3649
3647
|
});
|
|
3650
3648
|
});
|
|
3651
3649
|
addGlobalFlags(wallet.command("balance")).description("Show the wallet USDC balance on Base").action(async function() {
|
|
3652
3650
|
await runCommand("wallet.balance", this, async (ctx) => {
|
|
3653
|
-
const { runWalletBalance } = await import("./wallet-
|
|
3651
|
+
const { runWalletBalance } = await import("./wallet-OFXDIIGP.js");
|
|
3654
3652
|
return runWalletBalance(ctx);
|
|
3655
3653
|
});
|
|
3656
3654
|
});
|
|
@@ -3662,7 +3660,7 @@ function buildProgram(io, setExit) {
|
|
|
3662
3660
|
).action(async function(amountUsd) {
|
|
3663
3661
|
await runCommand("fund", this, async (ctx) => {
|
|
3664
3662
|
const o = this.opts();
|
|
3665
|
-
const { runFund } = await import("./fund-
|
|
3663
|
+
const { runFund } = await import("./fund-Y5IAHZ5D.js");
|
|
3666
3664
|
return runFund(ctx, {
|
|
3667
3665
|
...amountUsd !== void 0 ? { amountUsd } : {},
|
|
3668
3666
|
...o.open === false ? { open: false } : {},
|
|
@@ -3675,7 +3673,7 @@ function buildProgram(io, setExit) {
|
|
|
3675
3673
|
).option("--yes", "skip the interactive confirm (required to send when not at a TTY)").action(async function(amount, token, to) {
|
|
3676
3674
|
await runCommand("send", this, async (ctx) => {
|
|
3677
3675
|
const o = this.opts();
|
|
3678
|
-
const { runSend } = await import("./send-
|
|
3676
|
+
const { runSend } = await import("./send-C5EOKXOU.js");
|
|
3679
3677
|
return runSend({ amount, token, to, ...o.yes === true ? { yes: true } : {} }, ctx);
|
|
3680
3678
|
});
|
|
3681
3679
|
});
|
|
@@ -3684,7 +3682,7 @@ function buildProgram(io, setExit) {
|
|
|
3684
3682
|
).option("--max-price <usd>", "only candidates at or below this decimal-USD price").option("--fresh-within <window>", "freshness window, e.g. P30D, P2W, P1Y").option("--limit <n>", "maximum candidates (1-10, default 5)").option("--applies-to <pair>", "applicability filter key=value (repeatable)", collect, []).action(async function(question) {
|
|
3685
3683
|
await runCommand("search", this, async (ctx) => {
|
|
3686
3684
|
const o = this.opts();
|
|
3687
|
-
const { runSearch } = await import("./search-
|
|
3685
|
+
const { runSearch } = await import("./search-JGAVKTYJ.js");
|
|
3688
3686
|
return runSearch(
|
|
3689
3687
|
{
|
|
3690
3688
|
question,
|
|
@@ -3701,7 +3699,7 @@ function buildProgram(io, setExit) {
|
|
|
3701
3699
|
"Show a candidate's pre-purchase card / preview. Use after search, before buy, to check price, scope, and freshness; it never pays"
|
|
3702
3700
|
).action(async function(resource) {
|
|
3703
3701
|
await runCommand("inspect", this, async (ctx) => {
|
|
3704
|
-
const { runInspect } = await import("./inspect-
|
|
3702
|
+
const { runInspect } = await import("./inspect-NFQ6SQQQ.js");
|
|
3705
3703
|
return runInspect({ ref: resource }, ctx);
|
|
3706
3704
|
});
|
|
3707
3705
|
});
|
|
@@ -3713,7 +3711,7 @@ function buildProgram(io, setExit) {
|
|
|
3713
3711
|
).action(async function(resource) {
|
|
3714
3712
|
await runCommand("read", this, async (ctx) => {
|
|
3715
3713
|
const o = this.opts();
|
|
3716
|
-
const { runRead } = await import("./read-
|
|
3714
|
+
const { runRead } = await import("./read-W7QVRBVD.js");
|
|
3717
3715
|
return runRead(
|
|
3718
3716
|
{
|
|
3719
3717
|
ref: resource,
|
|
@@ -3734,7 +3732,7 @@ function buildProgram(io, setExit) {
|
|
|
3734
3732
|
).option("--scope <scope>", "session scope; this version mints `read` only (default: read)").action(async function() {
|
|
3735
3733
|
await runCommand("session.start", this, async (ctx) => {
|
|
3736
3734
|
const o = this.opts();
|
|
3737
|
-
const { runSessionStart } = await import("./session-
|
|
3735
|
+
const { runSessionStart } = await import("./session-OBCUUIFX.js");
|
|
3738
3736
|
return runSessionStart(typeof o.scope === "string" ? { scope: o.scope } : {}, ctx);
|
|
3739
3737
|
});
|
|
3740
3738
|
});
|
|
@@ -3746,7 +3744,7 @@ function buildProgram(io, setExit) {
|
|
|
3746
3744
|
).action(async function(resource) {
|
|
3747
3745
|
await runCommand("buy", this, async (ctx) => {
|
|
3748
3746
|
const o = this.opts();
|
|
3749
|
-
const { runBuy } = await import("./buy-
|
|
3747
|
+
const { runBuy } = await import("./buy-2JBYPHAI.js");
|
|
3750
3748
|
return runBuy(
|
|
3751
3749
|
{
|
|
3752
3750
|
ref: resource,
|
|
@@ -3770,7 +3768,7 @@ function buildProgram(io, setExit) {
|
|
|
3770
3768
|
).option("--question <text>", "a question this piece answers (repeatable)", collect, []).option("--task <text>", "a task this piece supports (repeatable)", collect, []).option("--scope <text>", "what the piece covers (card scope)").option("--exclusions <text>", "what the piece does not cover (card exclusions)").option("--applies-to <pair>", "applicability key=value (repeatable)", collect, []).option("--as-of <iso>", "as-of timestamp, ISO-8601 with offset").option("--valid-until <iso>", "valid-until timestamp, ISO-8601 with offset").option("--artifact-type <type>", "document | skill | dataset").option("--temporal-mode <mode>", "snapshot | maintained | evergreen").option("--provenance <text>", "provenance summary (card)").option("--methodology <text>", "methodology summary (card)").action(async function(file) {
|
|
3771
3769
|
await runCommand("publish", this, async (ctx) => {
|
|
3772
3770
|
const o = this.opts();
|
|
3773
|
-
const { runPublish } = await import("./publish-
|
|
3771
|
+
const { runPublish } = await import("./publish-PCBTCXCZ.js");
|
|
3774
3772
|
return runPublish(
|
|
3775
3773
|
{
|
|
3776
3774
|
...typeof file === "string" ? { file } : {},
|
|
@@ -3826,7 +3824,7 @@ function buildProgram(io, setExit) {
|
|
|
3826
3824
|
).action(async function(postId) {
|
|
3827
3825
|
await runCommand("edit", this, async (ctx) => {
|
|
3828
3826
|
const o = this.opts();
|
|
3829
|
-
const { runEdit } = await import("./edit-
|
|
3827
|
+
const { runEdit } = await import("./edit-HJ44P44P.js");
|
|
3830
3828
|
return runEdit(
|
|
3831
3829
|
{
|
|
3832
3830
|
postId,
|
|
@@ -3866,7 +3864,7 @@ function buildProgram(io, setExit) {
|
|
|
3866
3864
|
).option("--resource <id>", "the resourceId the outcome concerns").option("--content-hash <hash>", "sha256:<64hex> of the exact body read").action(async function() {
|
|
3867
3865
|
await runCommand("outcome", this, async (ctx) => {
|
|
3868
3866
|
const o = this.opts();
|
|
3869
|
-
const { runOutcome } = await import("./outcome-
|
|
3867
|
+
const { runOutcome } = await import("./outcome-ANV4QIED.js");
|
|
3870
3868
|
return runOutcome(
|
|
3871
3869
|
{
|
|
3872
3870
|
status: String(o.status),
|
|
@@ -3881,7 +3879,7 @@ function buildProgram(io, setExit) {
|
|
|
3881
3879
|
});
|
|
3882
3880
|
addGlobalFlags(program2.command("mcp")).description("Run a local stdio MCP server exposing the Tenjin command cores to an MCP client").action(async function() {
|
|
3883
3881
|
const ctx = buildContext(this, io);
|
|
3884
|
-
const { runMcpServer } = await import("./run-
|
|
3882
|
+
const { runMcpServer } = await import("./run-CJWPGMIQ.js");
|
|
3885
3883
|
await runMcpServer({ dataDir: ctx.dataDir, flags: ctx.flags });
|
|
3886
3884
|
});
|
|
3887
3885
|
return program2;
|
|
@@ -3923,4 +3921,4 @@ export {
|
|
|
3923
3921
|
buildProgram,
|
|
3924
3922
|
main
|
|
3925
3923
|
};
|
|
3926
|
-
//# sourceMappingURL=cli-
|
|
3924
|
+
//# sourceMappingURL=cli-U2BEUA55.js.map
|