@senpi-ai/runtime 3.0.77 → 3.0.78
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 +76 -2
- package/dist/cli/deploy-render.d.ts +93 -0
- package/dist/cli/deploy-render.d.ts.map +1 -0
- package/dist/cli/deploy-render.js +438 -0
- package/dist/cli/deploy-render.js.map +1 -0
- package/dist/cli/guide-commands.d.ts.map +1 -1
- package/dist/cli/guide-commands.js +94 -9
- package/dist/cli/guide-commands.js.map +1 -1
- package/dist/cli/senpi-commands.d.ts +6 -1
- package/dist/cli/senpi-commands.d.ts.map +1 -1
- package/dist/cli/senpi-commands.js +290 -41
- package/dist/cli/senpi-commands.js.map +1 -1
- package/dist/cli/validate-command.d.ts.map +1 -1
- package/dist/cli/validate-command.js +10 -1
- package/dist/cli/validate-command.js.map +1 -1
- package/dist/deploy/deadlines.d.ts +107 -0
- package/dist/deploy/deadlines.d.ts.map +1 -0
- package/dist/deploy/deadlines.js +139 -0
- package/dist/deploy/deadlines.js.map +1 -0
- package/dist/deploy/error-text.d.ts +25 -0
- package/dist/deploy/error-text.d.ts.map +1 -0
- package/dist/deploy/error-text.js +42 -0
- package/dist/deploy/error-text.js.map +1 -0
- package/dist/deploy/funding.d.ts +125 -0
- package/dist/deploy/funding.d.ts.map +1 -0
- package/dist/deploy/funding.js +268 -0
- package/dist/deploy/funding.js.map +1 -0
- package/dist/deploy/install-gate-runner.d.ts +12 -0
- package/dist/deploy/install-gate-runner.d.ts.map +1 -0
- package/dist/deploy/install-gate-runner.js +17 -0
- package/dist/deploy/install-gate-runner.js.map +1 -0
- package/dist/deploy/job.d.ts +215 -0
- package/dist/deploy/job.d.ts.map +1 -0
- package/dist/deploy/job.js +484 -0
- package/dist/deploy/job.js.map +1 -0
- package/dist/deploy/messages.d.ts +603 -0
- package/dist/deploy/messages.d.ts.map +1 -0
- package/dist/deploy/messages.js +1388 -0
- package/dist/deploy/messages.js.map +1 -0
- package/dist/deploy/min-budget.d.ts +68 -0
- package/dist/deploy/min-budget.d.ts.map +1 -0
- package/dist/deploy/min-budget.js +297 -0
- package/dist/deploy/min-budget.js.map +1 -0
- package/dist/deploy/orchestrator.d.ts +314 -0
- package/dist/deploy/orchestrator.d.ts.map +1 -0
- package/dist/deploy/orchestrator.js +2171 -0
- package/dist/deploy/orchestrator.js.map +1 -0
- package/dist/deploy/package.d.ts +228 -0
- package/dist/deploy/package.d.ts.map +1 -0
- package/dist/deploy/package.js +542 -0
- package/dist/deploy/package.js.map +1 -0
- package/dist/deploy/proof-gate.d.ts +86 -0
- package/dist/deploy/proof-gate.d.ts.map +1 -0
- package/dist/deploy/proof-gate.js +278 -0
- package/dist/deploy/proof-gate.js.map +1 -0
- package/dist/deploy/python-float.d.ts +34 -0
- package/dist/deploy/python-float.d.ts.map +1 -0
- package/dist/deploy/python-float.js +46 -0
- package/dist/deploy/python-float.js.map +1 -0
- package/dist/deploy/recheck-commands.d.ts +50 -0
- package/dist/deploy/recheck-commands.d.ts.map +1 -0
- package/dist/deploy/recheck-commands.js +77 -0
- package/dist/deploy/recheck-commands.js.map +1 -0
- package/dist/deploy/register.d.ts +101 -0
- package/dist/deploy/register.d.ts.map +1 -0
- package/dist/deploy/register.js +714 -0
- package/dist/deploy/register.js.map +1 -0
- package/dist/deploy/taxonomy.d.ts +43 -0
- package/dist/deploy/taxonomy.d.ts.map +1 -0
- package/dist/deploy/taxonomy.js +59 -0
- package/dist/deploy/taxonomy.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +467 -222
- package/dist/index.js.map +1 -1
- package/dist/runtime/env-resolve.d.ts +13 -0
- package/dist/runtime/env-resolve.d.ts.map +1 -1
- package/dist/runtime/env-resolve.js +14 -1
- package/dist/runtime/env-resolve.js.map +1 -1
- package/dist/runtime/runtime-descriptor.d.ts +37 -0
- package/dist/runtime/runtime-descriptor.d.ts.map +1 -0
- package/dist/runtime/runtime-descriptor.js +163 -0
- package/dist/runtime/runtime-descriptor.js.map +1 -0
- package/dist/runtime/runtime-schema.d.ts +100 -100
- package/dist/runtime/strategy-registry.d.ts +8 -0
- package/dist/runtime/strategy-registry.d.ts.map +1 -1
- package/dist/runtime/strategy-registry.js +14 -1
- package/dist/runtime/strategy-registry.js.map +1 -1
- package/dist/runtime-api/intake/intake-mount.d.ts.map +1 -1
- package/dist/runtime-api/intake/intake-mount.js +7 -4
- package/dist/runtime-api/intake/intake-mount.js.map +1 -1
- package/dist/scanners/external/scaffold/preflight.py +39 -0
- package/dist/scanners/implementations/market-regime.d.ts +1 -1
- package/dist/senpi/client.d.ts +58 -4
- package/dist/senpi/client.d.ts.map +1 -1
- package/dist/senpi/client.js +262 -18
- package/dist/senpi/client.js.map +1 -1
- package/dist/senpi/strategy-status.d.ts +32 -0
- package/dist/senpi/strategy-status.d.ts.map +1 -0
- package/dist/senpi/strategy-status.js +70 -0
- package/dist/senpi/strategy-status.js.map +1 -0
- package/dist/senpi/types.d.ts +65 -3
- package/dist/senpi/types.d.ts.map +1 -1
- package/dist/skills-manager/manifest.js +3 -3
- package/dist/skills-manager/skills-manifest.json +3 -3
- package/dist/telemetry/metrics.d.ts +30 -0
- package/dist/telemetry/metrics.d.ts.map +1 -1
- package/dist/telemetry/metrics.js +72 -0
- package/dist/telemetry/metrics.js.map +1 -1
- package/dist/types/strategy.d.ts +9 -1
- package/dist/types/strategy.d.ts.map +1 -1
- package/dist/universe/package-universe.d.ts +97 -0
- package/dist/universe/package-universe.d.ts.map +1 -0
- package/dist/universe/package-universe.js +304 -0
- package/dist/universe/package-universe.js.map +1 -0
- package/dist/validate/codes.d.ts +30 -0
- package/dist/validate/codes.d.ts.map +1 -1
- package/dist/validate/codes.js +74 -1
- package/dist/validate/codes.js.map +1 -1
- package/dist/validate/index.d.ts +1 -1
- package/dist/validate/index.d.ts.map +1 -1
- package/dist/validate/index.js.map +1 -1
- package/dist/validate/install-gate.d.ts.map +1 -1
- package/dist/validate/install-gate.js +10 -2
- package/dist/validate/install-gate.js.map +1 -1
- package/dist/validate/live-instruments.d.ts +44 -0
- package/dist/validate/live-instruments.d.ts.map +1 -0
- package/dist/validate/live-instruments.js +71 -0
- package/dist/validate/live-instruments.js.map +1 -0
- package/dist/validate/live-stage.d.ts +8 -0
- package/dist/validate/live-stage.d.ts.map +1 -1
- package/dist/validate/live-stage.js +87 -18
- package/dist/validate/live-stage.js.map +1 -1
- package/dist/validate/package-gates-stage.d.ts +61 -0
- package/dist/validate/package-gates-stage.d.ts.map +1 -0
- package/dist/validate/package-gates-stage.js +215 -0
- package/dist/validate/package-gates-stage.js.map +1 -0
- package/dist/validate/proof.d.ts +11 -1
- package/dist/validate/proof.d.ts.map +1 -1
- package/dist/validate/proof.js +10 -6
- package/dist/validate/proof.js.map +1 -1
- package/dist/validate/recipe-checks.d.ts.map +1 -1
- package/dist/validate/recipe-checks.js +6 -4
- package/dist/validate/recipe-checks.js.map +1 -1
- package/dist/validate/run.d.ts +29 -1
- package/dist/validate/run.d.ts.map +1 -1
- package/dist/validate/run.js +65 -6
- package/dist/validate/run.js.map +1 -1
- package/dist/validate/target.d.ts +41 -0
- package/dist/validate/target.d.ts.map +1 -1
- package/dist/validate/target.js +192 -16
- package/dist/validate/target.js.map +1 -1
- package/dist/validate/taxonomy-finding.d.ts +22 -0
- package/dist/validate/taxonomy-finding.d.ts.map +1 -0
- package/dist/validate/taxonomy-finding.js +25 -0
- package/dist/validate/taxonomy-finding.js.map +1 -0
- package/dist/validate/universe-stage.d.ts +71 -0
- package/dist/validate/universe-stage.d.ts.map +1 -0
- package/dist/validate/universe-stage.js +165 -0
- package/dist/validate/universe-stage.js.map +1 -0
- package/dist/validate/wallet-binding-stage.d.ts +44 -0
- package/dist/validate/wallet-binding-stage.d.ts.map +1 -0
- package/dist/validate/wallet-binding-stage.js +92 -0
- package/dist/validate/wallet-binding-stage.js.map +1 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guide-commands.d.ts","sourceRoot":"","sources":["../../src/cli/guide-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"guide-commands.d.ts","sourceRoot":"","sources":["../../src/cli/guide-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA+cH,eAAO,MAAM,eAAe,QAySpB,CAAC;AAIT,kFAAkF;AAClF,UAAU,gBAAgB;IACxB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAC;IACvD,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAAC;IAC5C,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAC;IAC9D,MAAM,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC;CACxF;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,MAAM,GACd,IAAI,CA2CN"}
|
|
@@ -24,6 +24,7 @@ Quick commands:
|
|
|
24
24
|
senpi guide actions Action types and decision modes
|
|
25
25
|
senpi guide dsl DSL exit: phases, lock modes, tiers, time-based cuts
|
|
26
26
|
senpi validate <pkg> Prove a strategy runs before funding it (static → import → live)
|
|
27
|
+
senpi deploy -p <pkg> Take a proven package live: create+fund → install → observe it running
|
|
27
28
|
senpi scanner Per-scanner health: runs, errors, liveness, "(no signals yet)" flag
|
|
28
29
|
senpi events Local domain-event log — the trade narrative
|
|
29
30
|
senpi explain <asset> Stitch one asset's position lifecycle from the event log
|
|
@@ -478,17 +479,87 @@ senpi config — Manage CLI preferences (~/.openclaw/senpi-cli.json)
|
|
|
478
479
|
config unset <key> Remove a key
|
|
479
480
|
config reset Clear all preferences
|
|
480
481
|
|
|
482
|
+
senpi deploy — Take a strategy package live, end to end (the strategy lifecycle)
|
|
483
|
+
openclaw senpi deploy -p <package-dir> --budget <usd> # start (detached): preflight → create+fund → install → observe it running
|
|
484
|
+
openclaw senpi deploy status # watch until terminal; quotes the verified report
|
|
485
|
+
-p, --path <dir> Strategy package directory (contains strategy.yaml)
|
|
486
|
+
--budget <usd> Total budget across the package's wallets (min $10/wallet)
|
|
487
|
+
--decision-model <model> Required if the package uses decision_mode: llm
|
|
488
|
+
--tick-wait <seconds> Wait for one scanner tick, or one external liveness post (default 120, 0 skips)
|
|
489
|
+
--max-wait <seconds> Wait for wallets to reach ACTIVE (default 150)
|
|
490
|
+
--json Raw JSON output
|
|
491
|
+
deploy returns in ~1s; the job runs detached. Poll
|
|
492
|
+
'deploy status' until it is terminal. Exit codes:
|
|
493
|
+
0 live · 2 refused · 3 failed · 4 installed-unobserved ·
|
|
494
|
+
5 interrupted · 6 pending/running · 1 error. An
|
|
495
|
+
unobserved tick reports as "unobserved", never as success.
|
|
496
|
+
'deploy' itself uses the same classes at START: 0 job
|
|
497
|
+
started · 2 refused (the message leads with its code, e.g.
|
|
498
|
+
[INVALID_REQUEST]) · 1 internal/transport. So 2 always
|
|
499
|
+
means obey the message; 1 always means the deploy's state
|
|
500
|
+
is unknown — never retry a 2.
|
|
501
|
+
A package no 'senpi validate' has ever proven — or one whose
|
|
502
|
+
files have changed since, or whose proof predates this
|
|
503
|
+
runtime — is refused BEFORE any money moves. The refusal
|
|
504
|
+
leads with [E_VALIDATE_NO_PROOF] /
|
|
505
|
+
[E_VALIDATE_CONTENT_CHANGED] /
|
|
506
|
+
[E_VALIDATE_RUNTIME_VERSION_CHANGED] and names the exact
|
|
507
|
+
validate command for the instance that failed. Two instances
|
|
508
|
+
sharing one runtime directory are refused outright
|
|
509
|
+
([INVALID_REQUEST]): a proof lives beside its recipe, one
|
|
510
|
+
file per directory, so it cannot speak for both.
|
|
511
|
+
Budget is two-tier: BELOW the $10/wallet floor it refuses
|
|
512
|
+
[E_FUNDS_BELOW_FLOOR]; and when the split leaves a wallet
|
|
513
|
+
under its OWN sizing it DEPLOYS and warns
|
|
514
|
+
[W_BUDGET_BELOW_STRATEGY_MIN] (that sleeve runs degraded —
|
|
515
|
+
fewer slots than authored). [W_BUDGET_UNRESOLVED] = the
|
|
516
|
+
minimum could not be computed and may be understated.
|
|
517
|
+
Neither warn stops a deploy; both judge each wallet against
|
|
518
|
+
its OWN allocation, not the budget against the package
|
|
519
|
+
total (those differ once a sleeve is adopted). To run the
|
|
520
|
+
authored design you must close and redeploy — a re-run at
|
|
521
|
+
a bigger --budget only adopts the wallet it already made.
|
|
522
|
+
Follow the warn's own close command verbatim; it is scoped
|
|
523
|
+
to the short sleeves so adopted wallets are left alone.
|
|
524
|
+
Some reports deliberately carry NO close command (a funded
|
|
525
|
+
wallet with no runtime installed; a funding_share: 0
|
|
526
|
+
sleeve; or when [E_ROLLBACK_INCOMPLETE] owns the cleanup)
|
|
527
|
+
— that is the correct answer there, not a gap to fill:
|
|
528
|
+
never substitute a package-wide close.
|
|
529
|
+
Both of those judge the PLAN. After the wallets exist the
|
|
530
|
+
report also checks the OUTCOME: when the backend lands under
|
|
531
|
+
90% of what a wallet was asked to be funded, it warns
|
|
532
|
+
[W_BUDGET_PARTIAL_FUND] with both numbers ("funded $60.00 of
|
|
533
|
+
requested $500.00 (12%, short $440.00)"). The strategy is
|
|
534
|
+
still live and the exit code does not move — do NOT close it
|
|
535
|
+
over the shortfall. Quote the FUNDED figure, never the
|
|
536
|
+
requested one. Those figures are AT DEPLOY TIME and the note
|
|
537
|
+
re-renders on every later status read, so re-read the
|
|
538
|
+
current funding (status.py) before moving money, then top up
|
|
539
|
+
via the senpi-deposit-withdraw-transfer skill;
|
|
540
|
+
close-and-redeploy is the destructive fallback. The warn is
|
|
541
|
+
silent wherever a D-6 rollback was attempted — if the create
|
|
542
|
+
step carries [E_ROLLBACK_INCOMPLETE], THAT line owns the
|
|
543
|
+
remediation (reclaim), and it is the one to follow.
|
|
544
|
+
When the backend reports no readable funded amount at all,
|
|
545
|
+
you get [W_BUDGET_FUNDED_UNREADABLE] instead: no percentage,
|
|
546
|
+
no shortfall, no top-up. The funded amount is UNKNOWN, never
|
|
547
|
+
$0.00 — ask the USER to verify what actually landed before
|
|
548
|
+
any money action
|
|
549
|
+
|
|
481
550
|
senpi runtime — Manage runtimes
|
|
482
|
-
runtime create Add a runtime from a YAML file
|
|
483
|
-
-p, --path <path> Path to strategy YAML file
|
|
484
|
-
-c, --content <yaml> Inline YAML content
|
|
485
|
-
--runtime-id <id> Override auto-derived ID
|
|
486
551
|
runtime delete [id] Remove a runtime
|
|
487
552
|
--id <runtime_id> Delete by runtime ID
|
|
488
553
|
--address <wallet> Delete by wallet address
|
|
489
554
|
runtime list List installed runtimes (id, wallet, source, status).
|
|
490
555
|
status is running / stopped / "running — NO ENTRY
|
|
491
556
|
SCANNERS" (a live runtime whose scanners never wired)
|
|
557
|
+
--json Raw JSON output — the ONLY way to read each runtime's
|
|
558
|
+
rendered descriptor (name, group, version, description,
|
|
559
|
+
hasExit, dslPreset, dsl ladder); the table prints none of
|
|
560
|
+
it. hasExit is what deploy funds against, so hasExit true
|
|
561
|
+
with dsl null means a DSL exit is CONFIGURED with no ladder
|
|
562
|
+
running — only a non-null dsl proves a stop is enforced
|
|
492
563
|
|
|
493
564
|
senpi validate — Prove a strategy can execute BEFORE it is funded
|
|
494
565
|
validate [target] Package dir, recipe file, or scanner dir (default: cwd)
|
|
@@ -508,8 +579,16 @@ senpi validate — Prove a strategy can execute BEFORE it is funded
|
|
|
508
579
|
validation can see a real read
|
|
509
580
|
(exit 3) the request itself was malformed (bad flag/target) — fix the
|
|
510
581
|
command, not the code
|
|
511
|
-
A
|
|
512
|
-
(content-addressed, no expiry); the deploy
|
|
582
|
+
A PASS at --stage live (the default), unscoped and not --no-attest, writes
|
|
583
|
+
.senpi-proof.json beside the recipe (content-addressed, no expiry); the deploy
|
|
584
|
+
gate verifies it via verifyProof(). --stage static, --stage import, --scanner
|
|
585
|
+
and --no-attest each write none.
|
|
586
|
+
That gate REFUSES, before any money moves: [E_VALIDATE_NO_PROOF] nothing here
|
|
587
|
+
was ever observed to run · [E_VALIDATE_CONTENT_CHANGED] the files moved since
|
|
588
|
+
the proof, and it names which · [E_VALIDATE_RUNTIME_VERSION_CHANGED] the proof
|
|
589
|
+
predates the running runtime (the package needs no edit — just re-prove it).
|
|
590
|
+
A proof attests that this content RAN and passed, not that every check that
|
|
591
|
+
stage runs produced a verdict — deploy re-checks the live universe itself.
|
|
513
592
|
|
|
514
593
|
senpi status — Lightweight runtime health digest
|
|
515
594
|
status Overall health + scanners (with degraded count),
|
|
@@ -623,12 +702,18 @@ senpi.installRuntime
|
|
|
623
702
|
Success: { id, name, wallet }
|
|
624
703
|
Errors: INVALID_REQUEST (missing YAML, duplicate ID/wallet, or the install gate: a recipe that
|
|
625
704
|
cannot trade — no margin source, no risk guardrails, missing scanner entrypoint, or an
|
|
626
|
-
unresolvable scanner path — is refused with what/why/fix per problem
|
|
627
|
-
|
|
705
|
+
unresolvable scanner path — is refused with what/why/fix per problem, the message
|
|
706
|
+
leading with the bracketed code of the first blocking finding, e.g.
|
|
707
|
+
[E_VALIDATE_UNGATED]), UNAVAILABLE (bad YAML, start failure)
|
|
628
708
|
|
|
629
709
|
senpi.listRuntimes
|
|
630
710
|
Params: (none)
|
|
631
|
-
Success: {
|
|
711
|
+
Success: { runtimes: [{ id, wallet, source, status, descriptor }] }
|
|
712
|
+
descriptor is the engine's rendering of the deployed runtime.yaml (unreachable any
|
|
713
|
+
other way — deploy installs by content, so source reads "(inline)"), or null when the
|
|
714
|
+
entry is unreadable: { name, group, version, description, hasExit, dslPreset, dsl }.
|
|
715
|
+
dsl is the enforced ladder { hard_stop_roe_pct, arm_at_roe_pct, tiers[], has_phase2 },
|
|
716
|
+
or null when no ladder is running — read a null dsl as unprotected, never as unknown
|
|
632
717
|
|
|
633
718
|
senpi.deleteRuntime
|
|
634
719
|
Params: id (string) OR address (string)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guide-commands.js","sourceRoot":"","sources":["../../src/cli/guide-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,aAAa,GACjB,0EAA0E,CAAC;AAE7E,+EAA+E;AAE/E,MAAM,aAAa,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC;qBACtB,OAAO
|
|
1
|
+
{"version":3,"file":"guide-commands.js","sourceRoot":"","sources":["../../src/cli/guide-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,aAAa,GACjB,0EAA0E,CAAC;AAE7E,+EAA+E;AAE/E,MAAM,aAAa,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC;qBACtB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;CAwB3B,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoIrB,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CpB,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FhB,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+GnB,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Y,GAAG,IAAI,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,KAAK,CAAsB;SACvC,WAAW,CAAC,6DAA6D,CAAC;SAC1E,MAAM,CAAC,GAAG,EAAE;QACX,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,UAAU,CAAsB;SAC5C,WAAW,CAAC,uCAAuC,CAAC;SACpD,MAAM,CAAC,GAAG,EAAE;QACX,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAsB;SAC1C,WAAW,CAAC,kCAAkC,CAAC;SAC/C,MAAM,CAAC,GAAG,EAAE;QACX,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,SAAS,CAAsB;SAC3C,WAAW,CAAC,kCAAkC,CAAC;SAC/C,MAAM,CAAC,GAAG,EAAE;QACX,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,sBAAsB,OAAO,KAAK,aAAa,IAAI,CAAC,CAAC;IAC5E,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -24,7 +24,12 @@ export declare function renderEventsDigest(entries: StoredEvent[]): string;
|
|
|
24
24
|
export declare function renderExplain(asset: string, entries: StoredEvent[]): string;
|
|
25
25
|
/** Minimal Commander command type for subcommands and options. */
|
|
26
26
|
interface CommanderCommand {
|
|
27
|
-
|
|
27
|
+
/** Commander 14 accepts either a description string or an options object (e.g. `{ hidden: true }`). */
|
|
28
|
+
command(name: string, descOrOpts?: string | {
|
|
29
|
+
hidden?: boolean;
|
|
30
|
+
}, opts?: {
|
|
31
|
+
hidden?: boolean;
|
|
32
|
+
}): CommanderCommand;
|
|
28
33
|
description(desc: string): CommanderCommand;
|
|
29
34
|
argument(name: string, description?: string): CommanderCommand;
|
|
30
35
|
option(flags: string, description?: string): CommanderCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"senpi-commands.d.ts","sourceRoot":"","sources":["../../src/cli/senpi-commands.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"senpi-commands.d.ts","sourceRoot":"","sources":["../../src/cli/senpi-commands.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmBH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAe/D;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE;IAAE,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,gBAAgB,GAAG,OAAO,CAAA;CAAE,GAChF,IAAI,CAwxCN;AAwaD;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,cAAc,EAAE,GAAG,MAAM,CAWvE;AAmDD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,MAAM,CASjE;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,MAAM,CAW3E;AA8HD,kEAAkE;AAClE,UAAU,gBAAgB;IACxB,uGAAuG;IACvG,OAAO,CACL,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,MAAM,GAAG;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,EAC1C,IAAI,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,GAC1B,gBAAgB,CAAC;IACpB,WAAW,CAAC,IAAI,EAAE,MAAM,GAA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