Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: AD4M integration #3

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft

WIP: AD4M integration #3

wants to merge 22 commits into from

Conversation

lucksus
Copy link
Collaborator

@lucksus lucksus commented Jan 29, 2022

  • Add AD4M service that connects to local ad4m-executor
  • Persist profile in AD4M's public agent perspectives
  • Link to Mews from public agent perspective
  • Store followings in public agent perspective
  • Render Mewsfeed from followings in public agent perspective

To run a local AD4M executor use ad4m-cli:

npm install -g @perspect3vism/ad4m-cli
ad4m executor init
ad4m executor run

(further runs only need the last line)
and then from another shell window (keep executor running):

ad4m agent generate

on first run, or for later runs:

ad4m agent unlock

(both prompt for password)

let text = ""
let isReplying = false
let isMewMewing = false
async function togglelickMew() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does this look @lucksus ?

},
mew: null
}
createExpression(createMewInput)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could also get replaced with expressionClient.create()

}
};

async interactions(expressionAddress: Address): Promise<Interaction[]> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this the right idea @lucksus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants