agenticu 0.0.0-stage → 0.1.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.
- package/README.md +48 -2
- package/dist/THIRD_PARTY_NOTICES.txt +69 -0
- package/dist/agenticu.js +46832 -0
- package/package.json +31 -3
package/README.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
-
#
|
|
1
|
+
# agenticu: the university CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Built fresh under ADR 0053, to `docs/design/agenticu-cli-direction.md`. A house's staff runs it; the owner's whole experience of it is one approval in their browser. It does not grow out of the earlier AgenticU runtime CLI.
|
|
4
|
+
|
|
5
|
+
One bundled JavaScript executable, with no runtime package dependencies. Staff installs the official release in a dedicated user-owned prefix:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install --global --prefix "$HOME/.local/share/agenticu/cli" --ignore-scripts agenticu@0.1.0
|
|
9
|
+
~/.local/share/agenticu/cli/bin/agenticu login --root ~/AgenticU/house
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Node 22+ is required. Staff acquires Node only when this connection is needed; local house work does not wait for it. Record the exact prefix, executable and version. No sudo or shell-profile change is required to use the absolute executable. `--help` and `--version` work without signing in.
|
|
13
|
+
|
|
14
|
+
| Command | What it does |
|
|
15
|
+
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
16
|
+
| `agenticu login` | Prints and opens the approval page on agenticu.surf, waits for the owner's yes, and signs this house in to the account |
|
|
17
|
+
| `agenticu whoami` | The account, this house, and what this house shares |
|
|
18
|
+
| `agenticu where` | Readiness for set up, from the map and this house's lock and attempts: ready or not and why, what is met, the path there, what is next; and under `aims`, the same reading toward each of the owner's aims |
|
|
19
|
+
| `agenticu sync` | Sends attempts and installed results up; pulls down the map, the clip library index and the owner's aims |
|
|
20
|
+
| `agenticu clip ID` | The video, poster and captions addresses of one of Ryan's clips |
|
|
21
|
+
| `agenticu result ID` | A published result, its workflow, what it needs from the owner, and this house's readiness and path to it |
|
|
22
|
+
|
|
23
|
+
Every command prints JSON. `--json` prints it on one line. `--root DIR` names the house folder (default: the current folder), `--origin URL` or `AGENTICU_ORIGIN` names the university (default `https://agenticu.surf`), and `--no-open` prints the approval address without opening a browser. `login --label NAME` names the house with the owner's own word for it; without it the university numbers it (House 1, House 2…). The staff never fills it from the business.
|
|
24
|
+
|
|
25
|
+
## What it reads and writes
|
|
26
|
+
|
|
27
|
+
- **Reads** the house's own state (HEL-1156), decoded by the path profile's house kinds (`@house-of-houses/path-profile/house`): the lock at `.agenticu/lock.json`, one attempt per file in `.agenticu/attempts/<id>.json`, and the owner's grants at `.agenticu/grants.json`. A file that does not decode is listed under `unreadable`, never skipped silently. The supported writer is still pending (HEL-1158); the public starter's local handoff/checklist is not this state, so it cannot establish synced readiness. The map comes from `/map.json` (`map/agenticu-map.json`, read through `@house-of-houses/path-profile/map`).
|
|
28
|
+
- **Readiness** is worked out by `readiness` in the path profile, never stored: each prerequisite is met (its latest attempt passed on the current map), unknown (it passed on an older map, or the lock pins it and nothing checked it), or missing (never attempted, or the latest attempt failed), each not met with a reason and a next action. Any one way satisfies a capability. A lock behind the map, or no lock, makes readiness false with the reason.
|
|
29
|
+
- **Writes** `.agenticu/university/house.json` (this house's id and the university's address; no secret), and after a sync `.agenticu/university/map.json`, `clips.json` and `aims.json` (`agenticu-aims/1`: the account's aims, each a result or capability, its form, when and the page it was made on; HEL-1157). It never writes the lock, attempts or grants.
|
|
30
|
+
- **Aims** come down only. `where` reports `aims: { synced, aims }`: before any sync, `synced` is false; after, each aim with the capability it points at and this house's readiness toward it (`ready`, `reasons`, `path`, `next`), worked out like set up's and never stored. The path to a result is its own prerequisites; set up is the separate top-level reading, a milestone, not a gate (ADR 0054, item 7).
|
|
31
|
+
- **The token** is kept outside the house, at `~/.config/agenticu/houses/<house id>.json`, readable by the owner only. The university stores only its hash.
|
|
32
|
+
|
|
33
|
+
## What leaves the house
|
|
34
|
+
|
|
35
|
+
Each attempt's id, what it was for (a capability or a result), whether it passed, the map version it ran on and its time, at most the newest 512 per sync; the university keeps an attempt it already has as it was. Each installed result (a result whose capability the lock pins), with the lock's map version and when it was installed. And, only if the owner allowed it on the approval page, which clips played. What ran, what was seen, the receipt, the lock's settings and checks, the grants and everything else about the business stay in the house. The server drops any field it does not name, and `test/university-cli.test.mjs` holds both sides to that.
|
|
36
|
+
|
|
37
|
+
## Release and recurring upkeep
|
|
38
|
+
|
|
39
|
+
Build with `pnpm --filter agenticu build`; pack with `pnpm --filter agenticu pack`. `pnpm --filter agenticu test` packs and installs the actual executable outside this checkout, reads the house's map/path, checks the unsigned-in failure and verifies a reinstall preserves private files. Root `pnpm test` includes this regression. The tarball includes full Effect and Lucide license notices; build/test scripts and private sources are excluded. [PROVENANCE.md](PROVENANCE.md) records the exact upstream code/tests and intended caller.
|
|
40
|
+
|
|
41
|
+
The public starter's UPDATES.md owns automatic recurring updates: first local turn of the day, check the official source, public feed and installed CLI together; adopt compatible stable updates unless opted out or pinned, stage/check first and retain the previous release tarball for recovery. Use npm to replace the recorded installation, preserving house files and tokens outside the tool prefix. This CLI does not launch an updater in the background on every command or implement a second installer.
|
|
42
|
+
|
|
43
|
+
## Qualification standing
|
|
44
|
+
|
|
45
|
+
- On 2026-11-29 the packed executable passed on Mac arm64/Node 26.13.1 and Linux arm64/Node 22.23.5, with Linux networking disabled. A fresh qualification house then connected to the deployed university under Ryan's authorization, through the real account sign-in and one browser house approval. Whoami, sync, map/path, g-welcome and follow-up-quotes all succeeded. Optional clip telemetry stayed off and the token stayed outside the house with mode 0600.
|
|
46
|
+
- The release qualification harness encoded one canonical attempt for that observed university connection and synced it. Production accepted/kept it and the staff counts page reflected it. This qualifies one real progress upload; it does not claim the generic starter writer is released, that the whole house is set up, or customer acceptance. The CLI remains a reader of canonical house state.
|
|
47
|
+
- npm distribution was selected by Ryan on 2026-11-29: "yes npm" (`docs/research/agentic-u-masterclass/his-answers-2026-11-29-outcome-cleanup.md`). The package is named `agenticu`, bundled with notices and no runtime dependencies. Release proof and registry standing are tracked by HEL-1177 and the university-connect outcome.
|
|
48
|
+
- The public starter removed its former `.agenticu/path/` receipt workflow in favor of exact source files and a local handoff. Writing the canonical lock, attempts and grants remains with the Members office (HEL-1158); the CLI does not write them or infer them from a checklist. See the starter at `ba95554`, UNIVERSITY.md.
|
|
49
|
+
- Five of the six results have no written workflow yet; `result` says so.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
Bundled dependencies: Effect 4.1.6 (MIT), Lucide 1.80.0 (ISC/MIT).
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2023 Effectful Technologies Inc
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
SOFTWARE.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
ISC License
|
|
27
|
+
|
|
28
|
+
Copyright (c) 2026 Lucide Icons and Contributors
|
|
29
|
+
|
|
30
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
31
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
32
|
+
copyright notice and this permission notice appear in all copies.
|
|
33
|
+
|
|
34
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
35
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
36
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
37
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
38
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
39
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
40
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
The following Lucide icons are derived from the Feather project:
|
|
45
|
+
|
|
46
|
+
airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
|
|
47
|
+
|
|
48
|
+
The MIT License (MIT) (for the icons listed above)
|
|
49
|
+
|
|
50
|
+
Copyright (c) 2013-present Cole Bemis
|
|
51
|
+
|
|
52
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
53
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
54
|
+
in the Software without restriction, including without limitation the rights
|
|
55
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
56
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
57
|
+
furnished to do so, subject to the following conditions:
|
|
58
|
+
|
|
59
|
+
The above copyright notice and this permission notice shall be included in all
|
|
60
|
+
copies or substantial portions of the Software.
|
|
61
|
+
|
|
62
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
63
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
64
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
65
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
66
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
67
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
68
|
+
SOFTWARE.
|
|
69
|
+
|