Skip to content

Commit

Permalink
refactor(daemon): Consolidate interface definitions and cleanup (#2225)
Browse files Browse the repository at this point in the history
These individually reviewable commits consolidate some recurring
patterns, move interface definitions into a separate module, adds more
explanatory comments, and fixes some lingering errors.
  • Loading branch information
kriskowal authored Apr 24, 2024
2 parents e6704e7 + ddc0825 commit dc486dc
Show file tree
Hide file tree
Showing 13 changed files with 388 additions and 348 deletions.
7 changes: 4 additions & 3 deletions packages/cli/demo/cat.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@
// This command will set up the cat page, create a URL,
// and open it.
//
// > endo install familiar-chat cat.js --powers SELF
// > endo install cat.js --powers AGENT --listen 8920 --name cat
//
// Thereafter,
//
// > endo open familiar-chat
// > endo open cat
//
// To interact with the permission manager, you can mock requests from a fake
// guest.
//
// > endo eval 42 --name ft
// > endo request --as cat 'pet me'
// > endo mkguest feline
// > endo request --as feline 'pet me'
//
// At this point, the command will pause, waiting for a response.
// In the Familiar Chat window, resolve the request with the pet name "ft" and
Expand Down
Loading

0 comments on commit dc486dc

Please sign in to comment.