Skip to content

authorize should set current space #77

Description

@olizilla

If you authorize a brand new cli instance, you still need to explicitly set your space to be the current space. It should be set for you.

❯ w3-next authorize oli@protocol.ai
⁂ agent authorized to use capabilities delegated to oli@protocol.ai

❯ w3-next up j5
Error: missing current space: use createSpace() or setCurrentSpace()

❯ w3-next space ls
  did:key:z6Mkunm251eKgDrzdkXQhB5GHaUHSCAhjstaQod48mBjgK86 

❯ w3-next space use did:key:z6Mkunm251eKgDrzdkXQhB5GHaUHSCAhjstaQod48mBjgK86
did:key:z6Mkunm251eKgDrzdkXQhB5GHaUHSCAhjstaQod48mBjgK86

❯ w3-next space ls
* did:key:z6Mkunm251eKgDrzdkXQhB5GHaUHSCAhjstaQod48mBjgK86 

❯ w3-next up j5
  10 files (3.4MB)
  bagbaierarc4u2utrbkyx5gxwrth62zfynsc4jak3qzzl63vva64baw3cbqkq
⁂ Stored 10 files
⁂ https://w3s.link/ipfs/bafybeihetumsy24mjzbts7t4vpft2rwput44joxxnzxhfh5woq6z46fe2y

similar to #75

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions