@trajectonomics/cli 0.9.0-alpha.5 → 0.9.0-alpha.51
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 +33 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# trajectonomics
|
|
2
2
|
|
|
3
|
-
`traj` is
|
|
4
|
-
The command line never calls a model, so every result is repeatable.
|
|
3
|
+
`traj` is free, open-source financial simulation software for the AI era, and an AI agent
|
|
4
|
+
operates it. The command line never calls a model, so every result is repeatable.
|
|
5
5
|
|
|
6
6
|
The landing page is [trajectonomics.com](https://trajectonomics.com/) and the docs are at
|
|
7
7
|
[trajectonomics.com/docs/](https://trajectonomics.com/docs/).
|
|
@@ -34,7 +34,7 @@ Then give your agent the setup skill. `-g` installs it for your user rather than
|
|
|
34
34
|
every project and every new session finds it:
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
npx skills add trajectonomics/trajectonomics/skills/customer --skill traj-onboarding -g -y
|
|
37
|
+
npx -y skills@1.9.0 add trajectonomics/trajectonomics/skills/customer --skill traj-onboarding -g -y
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
The setup skill asks about your situation and goal, then its second step installs the `traj`
|
|
@@ -42,7 +42,7 @@ operating skill from `skills/customer` in this repository, the folder both skill
|
|
|
42
42
|
installs that one globally too, for the same reason.
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
npx skills add trajectonomics/trajectonomics/skills/customer --skill traj -g -y
|
|
45
|
+
npx -y skills@1.9.0 add trajectonomics/trajectonomics/skills/customer --skill traj -g -y
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
That is the operating skill on its own, for an agent that is already set up. Both commands
|
|
@@ -474,6 +474,34 @@ its own. In every year, money in plus `unmet` (the cash a Shortfall left unpaid)
|
|
|
474
474
|
saving and left over: the engine routes every unit of cash. `not funded` is the part of the
|
|
475
475
|
Contributions the cash could not fund; it is not in saving.
|
|
476
476
|
|
|
477
|
+
### By Reporting year, and the months of one
|
|
478
|
+
|
|
479
|
+
`--breakdown-years` adds the cash flow per Reporting year: twelve months from the 1st of the month
|
|
480
|
+
`--year-start` names (default 1, January), named by the calendar year it begins in. The first starts on
|
|
481
|
+
the As-of, and the last ends on the horizon or the date the money runs out; a cut one is partial.
|
|
482
|
+
`--breakdown-months first|all|YYYY` adds the Reporting months of the first Reporting year, of every
|
|
483
|
+
Reporting year, or of the one named year. The two breakdown flags are independent of `--breakdown` and of
|
|
484
|
+
each other; `--year-start` alone is refused (exit 2) and needs one of them.
|
|
485
|
+
|
|
486
|
+
In JSON `--breakdown-years` adds the `cashflowYears` table, one row per Reporting year and line, the
|
|
487
|
+
`cashflowYearTotals` table beside it with nine section totals per year, and `cashflowYearTransfers` when
|
|
488
|
+
the engine states a transfer, with what it moved and what it did not. `--breakdown-months` adds `cashflowMonths`, `cashflowMonthTotals` and
|
|
489
|
+
`cashflowMonthTransfers` in the same shapes, each row carrying its `month` as `YYYY-MM`. A month with
|
|
490
|
+
no line still states its nine zero totals. The answer gains a top-level `yearStart`, so a reader can
|
|
491
|
+
name the year rule without reading the command. In the human format a Reporting year is one block like
|
|
492
|
+
the one above, and each of its months is a row of one table:
|
|
493
|
+
|
|
494
|
+
```
|
|
495
|
+
cash flow by month, 2026
|
|
496
|
+
month money in tax spending saving left over unmet
|
|
497
|
+
2026-11* 1000.00 0.00 0.00 0.00 1000.00 0.00
|
|
498
|
+
2026-12 1600.00 0.00 600.00 0.00 1000.00 0.00
|
|
499
|
+
* partial: the month is cut by the As-of, the horizon or the date the money runs out.
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
An `*` marks a partial month, and the note under the table says so. A month with no line prints as a
|
|
503
|
+
row of zeros, because the Reporting year states every month it covers.
|
|
504
|
+
|
|
477
505
|
## Where the money goes, and moving it between Accounts
|
|
478
506
|
|
|
479
507
|
`cashflow` takes three more forms, every figure in them the caller's own (`traj` ships none): a surplus step's `share`, which takes that
|
|
@@ -540,7 +568,7 @@ Without a fee or a payout the output is unchanged.
|
|
|
540
568
|
|
|
541
569
|
## Seeing it in a browser
|
|
542
570
|
|
|
543
|
-
`traj dashboard --as-of 2026-11-30 --horizon 2056-11-30` reads your ledger once and serves the Dashboard (net worth, the ledger, projections, the FI date, a Scenario compare, tax and health) on `http://127.0.0.1:4321/` until you press Ctrl-C. It
|
|
571
|
+
`traj dashboard --as-of 2026-11-30 --horizon 2056-11-30` reads your ledger once and serves the Dashboard (net worth, the ledger, projections, the FI date, a Scenario compare, tax and health) on `http://127.0.0.1:4321/` until you press Ctrl-C. It can change your plans (fork, apply or delete a Scenario, each through `traj` after a dry run), it listens on this machine only and accepts a write only from its own page with a per-run token, and it takes the same Scenario flags as the projection reads (`--scenario`, `--compare` twice, `--monthly`, `--carry-in`); `--port 0` picks a free port. Run it again to see new figures.
|
|
544
572
|
|
|
545
573
|
## Keeping a backup, and removing the data
|
|
546
574
|
|
package/package.json
CHANGED